Files, Links, & Stats (Linux+ Objective 1.2.1)

Sdílet
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

Komentáře • 35

  • @damianpodgorski6977
    @damianpodgorski6977 Před 2 lety +4

    New command for me was the stat on the file, very useful, super informative!

    • @shawnp0wers
      @shawnp0wers  Před 2 lety +3

      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. :)

  • @mikeolear
    @mikeolear Před 2 lety +2

    Thanks again for the awesome video!

    • @shawnp0wers
      @shawnp0wers  Před 2 lety +3

      DUDE, I missed this. Thank you YET AGAIN. I really appreciate the continued support, both financial and encouragement. :)

  • @royc1575
    @royc1575 Před rokem

    Really enjoying this series so far, Great content.

  • @imtechfreak1800
    @imtechfreak1800 Před 2 lety

    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

  • @Allysroadtorecovery
    @Allysroadtorecovery Před 5 měsíci

    Loving the content 👍 have you considered doing a RHCSA training course on here? That would be awesome 👌

  • @DaemoNNico
    @DaemoNNico Před 2 lety +2

    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 :)

    • @shawnp0wers
      @shawnp0wers  Před 2 lety +3

      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. :/

  • @sheykenasababy
    @sheykenasababy Před 2 lety +1

    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?

    • @shawnp0wers
      @shawnp0wers  Před 2 lety +1

      Yes, I think that’s a good explanation! :)

    • @mason8714
      @mason8714 Před 10 měsíci

      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?

  • @DigitalMetal
    @DigitalMetal Před 2 lety +1

    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.

    • @shawnp0wers
      @shawnp0wers  Před 2 lety +1

      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

    • @samplesandtests
      @samplesandtests Před rokem

      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.

  • @Futureone
    @Futureone Před měsícem

    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.)

  • @user-sb2vd3jt8s
    @user-sb2vd3jt8s Před 11 měsíci

    your videos are fantastic! thanks!

    • @shawnp0wers
      @shawnp0wers  Před 11 měsíci

      Thank YOU, that's incredibly kind. :)

  • @skydude7682
    @skydude7682 Před 2 lety +1

    Yay more linux :D

  • @damianpodgorski6977
    @damianpodgorski6977 Před 2 lety +1

    I did not know ~ stands for home directory, learnt something new again :) Forward slash after folder name denotes it is a directory?

    • @shawnp0wers
      @shawnp0wers  Před 2 lety

      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

    • @damianpodgorski6977
      @damianpodgorski6977 Před 2 lety

      @@shawnp0wers thanks Shawn! I saw slashes at the end of lines in Power Shell scripts

  • @samplesandtests
    @samplesandtests Před rokem

    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

    • @shawnp0wers
      @shawnp0wers  Před rokem

      I never really used it either, but it's pretty, I'll give it that. :)

  • @karamoh1
    @karamoh1 Před 2 lety

    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

    • @shawnp0wers
      @shawnp0wers  Před 2 lety +1

      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!

    • @karamoh1
      @karamoh1 Před 2 lety

      @@shawnp0wers thank you 😊

  • @rmcbryde
    @rmcbryde Před 2 lety

    You "gerrymandered" the objective. LOL

    • @shawnp0wers
      @shawnp0wers  Před 2 lety

      The DadJokes are free with the (also free) price of admission. :D

    • @rmcbryde
      @rmcbryde Před 2 lety

      @@shawnp0wers They keep me coming back for more!

  • @damianpodgorski6977
    @damianpodgorski6977 Před 2 lety

    Simple way to destroy our OS is basically cd to root directory and rm -rf

    • @shawnp0wers
      @shawnp0wers  Před 2 lety +1

      If you "sudo" first, yeah, it can be pretty bad. :)

    • @michaell2444
      @michaell2444 Před 2 lety

      @@shawnp0wers That's how black holes are created! :D