JC's Linux Notes

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
greetings and salutations welcome to a good old-fashioned screencast boys and girls today i'm going to show you my linux notes these are little text files that i have collected over the years with commands and fixes and some of this stuff is descriptions for videos that i have posted i'm not exactly sure what's in here to tell you the truth so i'm going to warn you right up front there may be such things as typos and misspellings some of this stuff might be wrong there might be a curse word or two in here some of it might be politically incorrect i have no idea there's no script i just turned on the screen recorder and here we go this is my linux mint desktop do you like my little guy in the background here this is to remind me that life is not a crisis and we should all stop and smell the flowers every now and again i'm not exactly sure what that is it might be a squirrel could be a prairie dog at one point in time i think i knew but i don't now if anybody has any ideas put them in the comment section but this is linux mint this is what i have been using for my daily driver for the last almost year i loaded this in october i had been using ubuntu before that and i loaded it to do a video where i reviewed linux mint it was one of the last distribution reviews that i did on this channel and i just never took it off because it ran so well and it's been so smooth that that's what i've just used kudos to linux mint linux mint 20 is awesome and this is the cinnamon desktop and i like it and it's not that big of a memory hog either i had somebody on the last video say cinnamon is a hog no it's not compare it to gnome and kde and it's about the same okay so let's jump in here we're gonna go to documents this is nemo by the way this is linux mint's lovely file manager one of the best file managers in the linux world absolutely nemo is d-bomb better than nautilus for sure and we have linux notes here and let's make this a little bigger so it's easier for you guys and me to see when you guys do screencasts on youtube or post videos on facebook or whatever you do let me make a suggestion figure out how to manipulate the fonts and make them bigger for everybody so they can see them not everybody's looking on a big monitor or 4k television i watched a video not too long ago from a very well-known linux youtuber and i was trying to follow along with what they were doing and i couldn't see it and i was watching it on a 4k tv i even got up and walked right up to it and because of the processing that youtube does to video it was really fuzzy so you got to make your fonts big so everybody can see besides you never know somebody might be sitting in a tent somewhere watching this on their little tablet or their phone be nice to them so they can see too all right let's open up the first file here and see what we get this will give you a pretty good idea of what we're talking about it says before you exit also mixer open a new terminal and do sudo su to get high privileges and it reminds you that you might break the system and then do also ctl store to save also settings now what is this all about well i had one of these little asus ee pcs i still do i'm using it as a server because this thing is so underpowered that it can't run any desktop but when i first started playing around with it i was trying to install ubuntu with the mate desktop or the mate desktop whatever you call it i don't care i call it mate because that's what wimpy calls it and he developed the distribution so take it up with him if you don't like the pronunciation anyway i have this little machine and i was trying to get it to work and for whatever reason the sound would turn on just turned off everything would be muted and so you had to go in and open up also mixer which is a an application that lets you manipulate sound and you had to do this stuff to it i'll show you also mixer it's really easy [Music] so that's also mixer right there and it's just a terminal based way of getting to the sound settings in your computer and i went out so okay i have to escape to exit there you go that's what it is so now you get the idea this is what this stuff is all about so this is useful to anybody who's trying to install something on an asus ee pc and the sound won't work now here's the notes for the beginner's guide to bash that's the most popular video that i have on my channel beginner's guide to the bash terminal i get so much crap for this people go bash is new terminal i know that the title here is to be searchable it's not 100 accurate so back off anyway uh so here are the commands that we covered ls and it just kind of tells you what they do here these are the different commands now on this part about getting help you notice that i forgot to do the help command itself boy i've got no end of guff from that in the comments people go what about help well i just forgot to do it anyway so you get the idea it's just all the commands if you would like to see this actual thing right here you may go to uh the video itself and this is in the description all right let's see what we got next this is an interesting little bug fix came along with ubuntu 1804 where for whatever reason bracero would not write to a cd and i actually do create cds on occasion and so i need that software to work and this is the bug fix that came along with 1804 i don't know whether this is still a problem in ubuntu or not it probably has been fixed in 2004 but i still run these commands at startup i have a script that i run that goes through and does little settings like this for my hardware and i still run these commands so i'm not really sure if anybody knows put it in the comments and then i can delete this but for right now it's still something i'm hanging on to let's see here oh this is a command that i had to add to the up script i did a video about this a while back where somebody had contacted me and they had alerted me to the fact that when you use sudo apt auto remove in ubuntu to get rid of old kernels it doesn't take the configuration settings with it so this is a command that will go and find any package that was previously installed on the computer that left configuration files behind and then if you run this it will purge them so it gets rid of them completely so i added it to the up script and what's interesting about this is that it uses the awk programming language here which is these days rather archaic but occasionally in linux you'll see this in scripts it'll go and ask awk to do something and somebody who was really good at awk pointed out that alt could do all of this and it didn't have to use grep and everything and they sent me that command i didn't had it but that was interesting that's pretty deep stuff right up front right i think this one is too let's look at this real quick this is a command that i had to come up with for a script that i wrote called p2v letter p number two v which takes a picture and you take an audio file and you put it with the picture and it'll turn it into a video that's very useful if you want to post things on facebook or youtube that are just audio related so you could create a card for instance with like or i use impress with the libra office suite and you could create a card and then you can just create a video that's nothing more than that card with the audio behind it so that's how you do it and i've not if you guys are scribbling this down i had to modify it in my script if you would like to do that head over to uh easylinux.com and then check out the script called p2v you can go get it and i do not have a guarantee whether p2v is going to work for everybody i was talking to one person who was having some problems with it i don't know what the deal was finally got it to work but it's kind of shaky it uses ffmpeg and you have to have that okay so this is a note that was actually sent to me from my friend jeremy o'connell who was explaining in simple language how to create a deb package i did a video about this so you want to check this out you can it just goes through and it's got the steps on how to do that so if you want to create an installer package for your own script that would be how you would do it so i do have a video up called creating deb packages disabling the root account let's talk about this so in ubuntu there is no root account really there's no password for root you don't set a password for root this is an extra step of security the idea is if you cannot log in as root then nobody can access the root account so what you do is when you install ubuntu you are immediately granted super user privileges and you use s you do or substitute user do sudo or sudo to execute commands as root but if you should for whatever reason turn the root account on and all you do to do that is give it a password then you can turn it off you can delete the password with this command sudo password delete root or you can lock the account which will make it so that the password no longer functions either way you have a locked root account that also works with user accounts on a machine you want to lock somebody out you lock it and then there's an unlock command as well ext4 commands this is interesting let's see what this is ext4 of course is pretty much the default file system in linux especially ubuntu and debian and linux mint and all that other stuff uses ext4 it's my favorite file system of them all because it never crashes just works never had a problem with the xt4 xfs and of course everybody's all about the the new stuff i know but i'm not because it's like very complicated to to work with zfs and things like that now i like good old-fashioned simple ext4 have fun in the comments with that one okay so let's talk about this a very useful command believe it or not is sync you'll find this in a lot of my scripts that have to do with backups and that is where you just tell the system to dump everything out of the cache and write it to whatever block storage device it should go to the drive here's fsck fsck is how you do a file system check to a device the device cannot be mounted at the time so you would unmount it and then you would run that and it just that simple if you would like to force an fsck at boot on any linux machine if you put this command touch and what you're doing is you're creating a flag file called force fsck that will tell the system as it boots to hey stop for a minute here and do a full check on all these drives that's how that works and then in lost and found you can just look to see if there's any files that end up in there but usually that never happens and if they do you can't really do nothing with them lost and found is just files that they're orphans that doesn't quite know what to do with it if there's a problem with the file system very rarely if ever happens though uh fs trim is for working with ssds solid state drives that essentially triggers the trim function and that goes through the file system and lists everything as deleted that is uh it lists all the space that's available is available and then the drive itself has logic in it that can reorganize the data in such a way to make the wear on the drive more uniform it's it's a bit complicated i hope i said that correctly if not i'm sure somebody in the comments will correct me uh discard that is the old way of doing it you open up fstab and on the mount point for the file system you would put the discard option we don't really do that anymore in linux we use fs trim and for instance ubuntu has a systemd timer that runs that once a week it used to be an anachron but if you go looking for it in anachron now it's not there and if you don't know what anachron is it's a system that uses cron which is the timer in linux the basic timer to run commands daily weekly or monthly anachron is very powerful well it used to be in there that it would set it to run fs trim like once a week and then they took it out of there and they put it as a timer in systemd systemd is the uh pretty much the standard boot option now for the what is it called exactly drawing a blank but it's how the computer boots up and systemd can do some very interesting things some people don't like systemd defrag for spinning drives only there is a myth that goes around that says you never have to defragment your drives in linux well yes no most people who do ordinary things with like their desktop and if they have spinning drives in it no you'll never need to defrag it because it's pretty good at keeping up with itself ext4 but if you do some unusual things like you have a drive that's more than 75 full and you have a whole bunch of really big video files that you're storing defragmentation might be useful for you this just tells you how to use it so down here at the bottom is very useful command when you create an ext4 file system it sets aside five percent of the blocks it creates for use by the root uh the system itself or the root user now what that is therefore is to prevent a situation where you have a completely full file system in order for linux to boot it needs a little bit of scratch space and needs it for executing programs as well on the drive and if there isn't any then it'll freeze up and it won't boot and that just makes sure that that doesn't happen but if it's a storage drive like your home directory if you have that in a separate file system you don't need to set aside five percent if you've got a really big drive five percent's an awful lot of space so this is the way that you can reduce it so let me interpret this command here so tune 2fs is the command and then we're telling it about the reserve space here with the uh dash m and then if you put a one there it will reserve one percent if you put a zero it'll be zero if you want to reserve ten percent you can put ten in there and then you just uh put the device here so whichever ext4 partition it would be like you know dev sda1 that's how it works okay probably spent too much time on that but that's how this is going to go boys and girls let's see what this is um post install configuration for linux mint 18.3 setup update manager scheme to update everyone switch to local mirror refresh and install all updates reboot search for and install drivers for this is just how to configure linux mint after you install it basically that's all this is firewall timeshift enable write caching with disks utility configure startup applications so there you go and look there's that tune 2fs back in there again so you get the idea you can pause that and read it if you want to let me go ahead and get out of that easy linux tweaks and tricks text i'm curious what this might be i'm sure this is from an old video this is a collection of commands you can use on your system to boost performance clean up your file system or just have fun with be careful if you are powerful enough to break something if you aren't sure what you're doing be sure to read the documentation using the manual command here we go let's see what commands we got here i'm gonna really just go through this real quick gang uh get info about your system that's top the old top command i haven't seen that in a long time let's take a look at top that's top i like h-top better which is an improved version of top that's h-top a little bit more logical did a whole video about h-top and spoke to the guy who wrote this particular piece of software very nice fellow okay so free tells you how much memory you've got if you put an h next to it that gives you a humanly readable content ls block shows you uh your storage devices so let's go ahead and do that one see and this is linux mint so there are no snaps you actually only see the devices that are actually hooked to the computer i kind of like that to tell you the truth you don't see the virtual file systems that snaps live in all right disk free will tell you how much space you have on your devices date gives you the date wow isn't that crazy man who to thunk it calendar gives you a calendar uptime tells you how many users tells you who's logged in who am i tells you who you are this is a a command that if if you don't know about old linux and the old days of unix computing you might think why on earth would you have that well on some systems the prompt doesn't automatically tell you who you are so you put in who am i and then it tells you you know hey uh present working directory pwd this less is a file reader wait a minute oh we went back up i don't want to go back up let me go down i was going down why did my arrow not work the way i was supposed to uptime users who am i present working directory less we got cat how to do how to do cat and use that to add text sync is here as well you get the idea there's the pseudo see a lot of this overlaps and like i said just put all this stuff in for different videos so there's defragmentation and all that stuff let's get out of that and close that terminal we don't need that now either file permissions batch commands oh i know what this is this is actually quite interesting so what you may not know about linux is we all know how important file permissions are but there really isn't a good way to do a whole directory of files at once and this is the workaround for that so these commands use find to go and get the directory you know any all these different files in a directory so you would replace this with whatever directory you want to have done right and then it it finds all the ones that are our directories and then it executes uh the change mode command and puts them all at 755 for instance see right there so this essentially is a is a running function that you're running on on a command so there they are that's that's a way you can do that be careful with that uh firefox commands that's this is a article that i wrote years ago when i used to do a lot of blogging about different shortcuts that you can use in firefox and and what the the keys do and that's it that's all there is to it okay keep going let's see here fix for touch bad not working after waking from sleep okay so let's see what this is open a terminal run sudo nano etc default grub look for this line quiet splash okay see that would be the fix for that but i i honestly don't remember what that has to go on with all right anything that's got for joe.txt i'm a little afraid to open let's see what this is um using a laptop outside of your home coffee shop work bar airplane temporary disable your usb ports more specifically your usb storage this is interesting so you can turn off your usb that's interesting no idea where that came from none get commands this is just me struggling to learn how to use the get utility this allows me to interface with github somebody has asked me to do a video about this and i'm like no no no no no i actually to this day have to have to do this i wonder if i just gave away some information that i shouldn't right there no just info at easylinux.com that's just the user email from my github account besides that's got two-factor authentication on now you couldn't get in anyway even if you knew my password nanny any boo-boo yeah i want to close it please close without saving i don't want to do anything so okay there's my oh okay i know what that is no i'm not opening that that will tell you too much how to set up gut gnome boxes i just call it gnome i don't call it gnome i think people that do sound like they have some sort of problem in the us australia and england when you say gnome it means a little garden fairy right so for years and years and years we've been calling it the gnome desktop it even has the little gnome foot and then they come along and say well this is gnu so we want to put the gu in there like gnu whatever terrible marketing by the way you don't you don't have a product that people call something and then you come along and change the name it's just there's no reason to do that or tell them that they're pronouncing it wrong badly you've been saying this wrong for the last 30 years no that's not how it works okay what am i looking at for ubuntu 1804 installation command sudo apt gnome boxes oh i know what this is this was all these modifications that you had to do to make this work i don't think you have to do this anymore well here's ubuntu 1910 okay i don't know how useful that is by the way boxes is a program that's a runs virtual machines and i was playing with that for a little while and i i don't particularly like it's a little too simplistic group commands let's look at that all right group add snarf name of the group would be snarf if you want to add the user to a group called snarf then you an ad user joe snarf sudo delete user snarf that's how you take them out and if i want to get rid of the group itself it's sudo group delete snarf pretty simple and straightforward now why anybody would want a uh group called snarf i don't know i don't think i'm going to open all of these how to's gang let's just see if we come across something how to add a swap file to ubuntu how to create a swap file now it's worth opening that to find out what's in it all right so how to create a stop well first you use dd to create a file this command right here creates basically a file this block size in in okay let me see size in megabytes okay so if you ran this dd command right here and you did the size like 1024 you would get a one gigabyte swap file and then you defrag the swap file and then the next thing that you want to do is change the permissions on the swap file so that only the root user can access it because you don't want the swap file to be accessible by everybody because that can be a security problem and then finally this is a command called make swap and then you mount the swap file put that in your fs tab and then you'll have extra swap space if you need it these days with computers that have as many gigabytes of memory as they have we don't really need to worry much about swap but you do need to have a little bit of a swap file so these days ubuntu creates a swap file by default doesn't use as extra swap partition like it did in the past used to be that's the way you did it you would create a little swap space on your hard drive and you don't do that anymore and now we create a little swap file and that's it it's hardly ever used and this is creating a swap file once again it's just a different way of doing it okay how to create debian packages well we've already looked at that how to dual boot windows and linux safely now i just talked about how i don't encourage dual boots this file was written back when everybody was using windows 7. that's how far back that goes so that's what that is how to get started with linux i wonder what's in here now this is obviously from a video that i did years ago or an article that i wrote how to install linux mint 18.3 there's a revision of some sort how to install linux mint 19. how to install ubuntu 1804 here's my favorite bash commands let's take a look at that no i'm not going to look through those install videos uh or things there that means there's a video somewhere on here you can go find it if you want to um let's see uh my favor okay we've already been through this the cat this is for obviously for a video i did way back a long time ago so you get the idea there favorite terminal tools probably going to be more of the same stuff i did a lot of these videos that are the same working with text cast cat less mono show logging in ssh sftp that's if you're using ssh checking the network ping ifconfig you know they're trying to deprecate ifconfig and they want you to use the uh this this one the the ip address i i i always reinstall ipconfig i like it much better the way it's laid out i don't like the the ip command that they're trying to get everybody to use let's see what else we got here kde runtime install for kdnlive that's only useful to folks running the kd kubuntu kda screen tearing fixed let's see what this is so what you have to do is copy the following line complete into text window do nothing more than copy this line export okay don't even know if that works anymore or how old that is so that's something about working with kde from years ago how to install kvm linux books links let's see what that is okay this is uh two really the best books ever written about linux i've got both of them is the linux command line by william e shots and these are links where you can just download them and you can this is actually available online you don't need to get it from me that was just where i got the links there let's see that's the linux command line this is the book whole book so we don't really need to get into that i have the printed book of that that one as well linux distributions deconstructed so what this is basically about here is just talking about the different um i don't know what is this about hold on let's see here go back up to the top linux distributions deconstructed the linux way use programs to do only one task but do it well to accomplish complex tasks use several programs linked together okay i was some ambitious project that i was working on let's take a look at linux file systems basics why not right okay see what we have in here oh this is interesting a directory is a special kind of file that contains links to other files a file is a self-contained piece of information available to the operating system and any number of individual programs and owned by the user who creates them who knows that's a very cool little thing um a little ascii art there showing how permissions work i think i did that myself i'm rather proud of it where this got published i'm not really sure linux vs windows i wonder what that is this is some sort of article that i wrote linux is yours windows is still there linux vs windows the fundamental differences this is an article that i wrote to be posted somewhere years and years and years ago you know i don't write anymore anywhere and the reason why is because people have come to a place now where they no longer read on the internet so you take as little as five or six years ago ten years ago you could write an article and you could blog it or you could post it like uh on different web pages uh matt hartley and i had a project called freedom penguin some of you may remember freedom penguin and i wrote a lot of stuff for freedom penguin and got a lot of great uh comments and a lot of people reading around the world but then it just sort of seemed to stop it's like i don't know what happened exactly i think people just got inundated with the little short videos and um it just kind of destroyed the internet to tell you the truth if for anybody who who wanted to write let's see what this is installing linux mint 17.3 oh goody boot from live cd dvd or usb stick connect to internet launch installer right moving firefox from windows to linux this is how you do it so what you do is you open up linux and then you delete the mozilla directory in your home directory that's what that indicates right there is your home directory and then you open firefox and let it create a new profile open mozilla firefox default and delete the contents and then you find the default in the windows mozilla and copy contents to linux this is something that i had to do when i migrated my mother from windows to linux many years ago she was a firefox user and then i just put that in there in a tree oh okay yes um what this is is a way to run the mp3 game setting program called mp3 gain and have it do a whole bunch of files that are in different directories so you could like run this on your entire music collection that's the whole point here and i forgot that i had that that's actually quite useful because the other day i was thinking about doing something with that let's see net net fix for lmd e3 so this was a problem with linux mint debian edition 3 where when it would boot up it couldn't find wi-fi networks it couldn't find certain um cards rather yeah and that's the fix you had to add that in there uh the refresh.net script what is that well this was a problem that ubuntu had quite some time ago where it would when it woke up from being asleep it would lose the connection on a wi-fi network and you you had no way to get it back it's like it would just not wake up it would never work so what this did was uh kinda sorta for upstart pseudo service network manager restart and then for systemd uh ubuntu system system uh system ctl restart network manager and that would kind of kickstart it and make it work and then you could create a script to do that and then there's the script and then you could just run that that bug seems to be fixed now that was years ago so not terribly in interesting information i'm not even going to look at that samba config simple ssh setup for ubuntu and linux mint that must have been a video that i did and it's basically how to start up ssh and make that happen so you get the idea this is a ppa to fix printing issues i'm not quite sure what that's about i wanted to send you the commands i used to fix the canon scanning okay this these commands are for those who have canon printers and they're having problems with the drivers and there we go that's what that is in so i ever came across that somebody shared that with me snap commands this is just the basic commands to manipulate snap files in a terminal you can find install list change refresh and remove snap packages this is new and this is uh actually something that i probably will always have to add from now on in in a kernel let's see 1904 and up the kernel now tries to turn off your sound card when it's not in use so on some systems what that will cause is pops and clicks like every time you go to start a video you'll get a big pop before the video starts and then the video will stop and if you don't touch the computer you'll hear a click when it turns the sound card off and basically this turns his crap off so you you put this into this file right here mod probe d also base and that turns that off it makes it so it can't do it and i actually add this command now to my install scripts so i do this on pretty much every machine that i install it in whether i know whether i need it or not because if not the second time that you boot it up you're going to start hearing those pops and clicks like on this machine that i'm recording this on that definitely has to be done for sure ssd karen feeding this is from an old video that i did probably when i was doing the easy linux show for a while you know for about six months i didn't post regular youtube videos i posted this thing called the easy linux show and i think this is actually from that period of time it is tempting to use a utility like the dd command or clonezilla to transfer all data from an hdd to an ssd but don't do it you should back up your personal data and reinstall the os to the new ssd that is true because you want to make sure that the file system is aligned properly and also you want to make sure that the system knows that it's an ssd so it'll run fs trim and a couple of other things that have to happen so like this is so you can alignment check right here and make sure they're okay proper alignment avoids excessive read modify write cycles the trim command enables an operating system to notify the ssd of pages that are no longer contain valid data remember i was talking about that earlier maybe this makes more sense this present prevents unnecessary overwrite operations which can reduce ssd performance and increase wearer [Laughter] that certainly says it better than i was trying to explain before didn't it let's see what else we got here oh i did want to talk about this because i don't know probably about three or four years ago i did a video about this and it's adjusting swappiness and like here's the command right here if you wanted to it all in one command if you want to adjust swappiness this command right here sudo bash and then it will echo that into uh etsy ctl.conf and basically what this will do is set reset your swappiness to 10. so what is swappiness it is the way the linux kernel balances using physical memory and virtual memory see what the kernel will do in a situation when it starts running out of physical memory is it will take some of those uh memory pages that it has in in physical memory and put them on the hard drive in virtual memory that's your swap space or swap file now the number 10 roughly kind of sorta but not really don't hold me to this means that when you have 10 percent of physical memory that is available in other words you get to that magic point it'll start swapping the standard setting for ubuntu and debian and all of the children thereof is 60. so technically speaking if you get 40 of the memory full on the computer it starts swapping kind of sort of not really don't don't hold me to that so if you change that number you can kind of get the kernel to use the c the cpu to use the memory more than you know fill up the memory and then only use virtual memory as a last resort and technically that's supposed to make your system run faster it can make a a small a very small gain in performance on older systems let's say if you had a computer that had only had four gigabytes in it that might be something you'd want to do however i stopped pushing that so much because a lot of engineers came after me and they said that setting it to 10 actually makes the system more unstable and the reason why they use 60 is that it represents a good balance for desktops and servers and blah blah blah so i got to the point where i said okay i'm not going to mess with this just leave it alone now right caching the gnome disks utility known as disks if you open this you have the ability to go in and set the right cache and what you're actually doing is taking control of it by default when you install your linux system it's using the right cache and all that is is that you're saying you're giving the kernel permission to cache things that will be written to disk later this makes the system run faster if the right cache is turned off your system is going to stop every time it needs to write to the disk and do it before it does anything else and you're going to get a performance hit because of that things will be very jerky so when you open up the disks utility and you actually turn on the right cache you're just taking control of it that gives you the ability to turn it back off that's the way i understand it i could be wrong this is an area that is very difficult to research and get any information about that's the one thing about gnome utilities that bugs me there's very little documentation and it's sometimes very hard to figure out what settings actually do but i put it in there anyway and i usually end up setting it anyway ubuntu install tutorial let's see what ubuntu mate 1910 fixes are add this command to startup applications okay these these are the settings that you have to use with the mate desktop if you're not running any sort of compositor like compiz or you know mudder or whatever it's if you don't if you're not running a compositor then you have to do this to turn that on or you get screen tearing which is where you're like playing a video and there's a big line in the middle of the screen where half the image is over here and it's over there and that drives me insane so i have to turn it off and here's the pop and click thing once again how to get rid of that terminal commands for virtual box this might be interesting to some folks these are commands that you can use to modify virtual machines that you have set up so like we've got vbox manage modify the vm name of vm and then you can set the ram to 256. so you can have 256 um is it gigs or megs i can't remember i i i'm not oh it's video ram yeah it's 256 megabytes of video ram that's what that is uh to get vbox to render properly in gnome with or unity that tells how it tells you how old this is uh add this link to the environment override gtk it's it has to do with gtk versus qt see all of this stuff here uh this is how you can shrink a virtual machine so as you use a virtual machine if it's a dynamically allocated drive then it grows and grows and grows and this way it'll go through and you you first delete all of the free space on the drive and then you shrink it down so i haven't used virtualbox in a very long time i haven't installed on my other machine but with all of the crap that went on with the cpus um everything got so slow in virtual machines that i stopped using them okay and if you i'm not sure that happened a couple of years ago if you'll recall uh folks they had the problems with the cpus where they had found all of those vulnerabilities and they had to do all those patches and they turned off a lot of the look ahead and the cpu and that just really affected the performance of virtual machines incredibly let's see what this is good lord i have no idea what this is none whatsoever okay webcam embed okay this is so you can embed a webcam that is an old command okay we got two more files here to look at let's look at this one this is when i was fooling around the xfce desktop so once again you have no compositor right so then you have to turn on the compositor this is actually the better better solution than um installing compton in the xfce so you turn off the xfce compositing in windows manager that's software so it doesn't affect screen tearing and then you put compton in and this is the configuration file that you put in there and yeah that's when i was goofing around with that and we don't really need to look at that anymore and finally something about zfs zfs files talking about z pools and data sets zfs list zsis snapshots how to do all that crap that's when i was fooling around with cfs a year or two ago well that's it ladies and gentlemen i think we looked at most the files there quite frankly i'm a little shocked i thought there was more than that i hope this video was somehow useful to you in some way or another probably not really but people wanted to see and i was curious too i hadn't gone back through this stuff so yeah and there's probably more outside of this directory i know there's stuff that i have in just the documents about different things as well but those tend to be more in-depth tutorials so anyway that's it thank you for watching what else is there to say linux notes as you go through your linux journey and you come across things that you need to fix if you're experimenting with stuff always keep your notes there's all kinds of good information in here another thing that i will add to that before i wrap up is keep everything you write so you you definitely want to keep your scripts these are your scripts that you write for sure so let's just look in here real quick you can see i have a whole butt load of scripts in here let's get that list as well i had a whole bunch of scripts in here just stuff that i've written you know like here's linux mint 20 install script let's see what's in there i want to open that with it i want to display it please thank you it's executable that's why it's coming up this way so here's my script that i use when i install linux mint 20 and these are all the these these are the software that i go and grab and let's see and then i have local packages of things that things are in deb packages i want installed and i don't like firefox so i purge it out of the system and i install google chrome right there and then there's where we add the pop click fix and it seems that i may have found out that i didn't need well i guess i didn't need the [Music] disk writer fix for bracero anyway because it's not here so i might have gotten the answer to that earlier on so i don't put that in there anymore you get the idea gang now a lot of this stuff is available if you go to uh easylinux.com and look at the bash scripts page and you scroll way down there's a bash scripts collection 2020. in there is a lot of like install scripts and things like that that you can look at well here's one that's not marked as being uh well yes it is it says it is display well that's not this is to um yeah what this does is it grabs the thunderbird uh all of the configuration files and it will move it over to another machine that's what that does uh usb reset that resets the usb that's i think don't don't think the permissions are set properly on this let's fix that real quick see if you want to set executables go to permissions and allow it to be executed as a program while it's on hmm why is that not coming up the way it should there's something funky going on with that is it up here aha there's the problem the the shebang was wrong how to do that i have no idea say control s to save let's see if that fixes the problem f5 to reload right i have no idea why that's doing that why do i get a different icon there oh that's why it's a typo do you see that i bet you guys saw that before i did i've been running this program how have i been how's this running this is wild okay control save it's there see now okay that was strange i'm sure you've all found that just rivetingly interesting as well okay i'm gonna wrap up the video now we'll go back to our little guy sniffing the flower and i'll say once again thank you for watching and i hope you enjoy this sort of hangout video because boy they're really easy to do since there's no editing talk to you guys again soon
Info
Channel: Joe Collins
Views: 11,124
Rating: undefined out of 5
Keywords: Linux, Ubuntu, Linux Mint, Computer, Laptop, DeskTop
Id: qdMbNm-CG4M
Channel Id: undefined
Length: 55min 14sec (3314 seconds)
Published: Thu Sep 16 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.