Files, Links, & Stats (Linux+ Objective 1.2.1)
Vložit
- čas přidán 28. 08. 2024
- Navigating the Linux filesystem requires remembering a handful of tiny commands. In this video we run through them fairly quickly, and then take a little time to understand Hard Links vs Soft (or symbolic) Links.
If you're a seasoned Linux user, it will mostly be review -- but there might be a new command or two that will make it worth your while to follow along.
The Linux+ objectives are available here:
snar.co/plusob...
#Linux #CompTIA #XK0_005
New command for me was the stat on the file, very useful, super informative!
Same! I don't think I've ever actually used the command, but it was a simple way to see all those various metadata things. :)
Thanks again for the awesome video!
DUDE, I missed this. Thank you YET AGAIN. I really appreciate the continued support, both financial and encouragement. :)
Really enjoying this series so far, Great content.
Hi there sir ! Happy to see you getting better! I Enjoyed the show and learnt about specific links
Hope you get full health back soon
Thank you! :)
Loving the content 👍 have you considered doing a RHCSA training course on here? That would be awesome 👌
Thank you very much for your great content! I started studying for this exam and was wondering when you think this series will be completed? I really like the way you teach, so I would prefer to go through this with you, even wait if necessary :)
I haven't abandoned it, I promise. CZcams is still just my "after work" job, and this has been a rough week at DayJob. I will finish the course, but it looks like it is going to take me a while. :/
Good to have you back! I hope your voice feels better soon.
Question: would you say that a soft link is more akin to a shortcut in Windows, while a hard link is more like an exact address for the data on the block storage?
Yes, I think that’s a good explanation! :)
was just about say the same. software = shortcut and hardlink is 2 files that can be edited and updates both files but if one is removed the other one stays ( that's how my head see's it). is that correct?
I always say 'pwd' stands for "Present Working Directory" as well. But, people have corrected me because I guess it really stands for "Print Working Directory". Not that it really matters either way.
Now that you mention it, I think I've been "akchually'd" when I worked at CBT Nuggets for that same mistake. Oh well. That's nothing compared to the grief I get for calling directories "folders" :D
there is probably more to it but pwd is basically an alias to "echo ~". now that i think of it i recall a way to make alias commands in bash. but i could be wrong. I know embedded systems use things like busybox that is just a link (i believe symbolic ) to one file from all the commands (ls, cat,.....) to save space.
Not sure if you mentioned it or you will later in one of the videos but are the terminal commands (eg. ls, mv, touch, etc.) universal for all the distributions of Linux (eg. Debian, Red Hat, Arch, and/or SUSE) or does it depend on the terminal emulator also? (eg. Gnome Terminal, Konsole, Guake, etc.)
your videos are fantastic! thanks!
Thank YOU, that's incredibly kind. :)
Yay more linux :D
Mmmmm, I agree. ;)
I did not know ~ stands for home directory, learnt something new again :) Forward slash after folder name denotes it is a directory?
Well, sorta. Whether you put a forward slash after it or not doesn't usually matter. but it doesn't make any sense to put a slash after a file, so if you see a slash, it's almost certainly a directory.
Unless it's a backslash, then it just denotes you're not done typing a command, and you're continuing the same command on the next line. So you'll sometimes see things like this for clarity:
docker -n coolthing \
-v dir:otherdir \
-p 80:80 \
image:latest
@@shawnp0wers thanks Shawn! I saw slashes at the end of lines in Power Shell scripts
I have several distros that don't include (by default) the tree command. not that it is a command i use often (or ever). now i am curious which machines have tree
I never really used it either, but it's pretty, I'll give it that. :)
Hello, I just come across if your channel and I am so interested in learning Linux but I don't see the starting course. Can you please direct me to the beginning of the course
Oh, sorry... hmm, perhaps I should put links to the playlists in each video description. Thank you for pointing out it wasn't clear where to start. But since I moved from professional training (ie, for a company) to doing it on my own here at CZcams, I have one complete course and I've started this one. The playlists are:
Linux Essentials: snar.co/linux
CompTIA Linux+: snar.co/linuxplus
I'll try to add that info to my video descriptions, thanks again!
@@shawnp0wers thank you 😊
You "gerrymandered" the objective. LOL
The DadJokes are free with the (also free) price of admission. :D
@@shawnp0wers They keep me coming back for more!
Simple way to destroy our OS is basically cd to root directory and rm -rf
If you "sudo" first, yeah, it can be pretty bad. :)
@@shawnp0wers That's how black holes are created! :D