The STICKY BITs of Linux

Поділитися
Вставка
  • Опубліковано 7 лют 2022
  • The sticky bit is a permission on a Linux folder that solves a very unique problem: protecting your files in a shared folder. Once you understand what it does, and how to set/unset it, it's the sort of thing you'll rarely think about.
    Symbolic links, on the other hand, are something you'll use constantly. We cover those in this video too, from how to create them, what they do, and the danger of relying on them too heavily. (Spoiler: If you delete the original file, your symbolic link is worthless, your data is still gone)
    This video based on:
    LPI Linux Essentials
    Objective 5.4 - Special Directories and Files
    www.lpi.org/our-certification...
    #LPI #LinuxEssentials #Exam_010_160 #Linux
    Find me online:
    / shawnp0wers
    brainofshawn.com
    Check out my comic!
    / mybigroundworld
  • Наука та технологія

КОМЕНТАРІ • 96

  • @jodaynescott6143
    @jodaynescott6143 Рік тому +25

    100% recommend this guy! Failed twice using Jason Dions material but passed with a 670 with Shawn. I definitely recommend ignoring when he says something wasn't very important for the exam because octal notation is on the exam for sure. Overall, excellent course. Thanks!

    • @dotmars
      @dotmars 9 місяців тому +3

      Ahh, I just finished watching the last video about permissions and skipped the last 5 minutes after he said octal notation wasn’t on the exam. Guess I’ll go back :(

    • @somebody3014
      @somebody3014 7 місяців тому +1

      ​@@dotmars you guys learning just to pass the exam but not for the knowledge?

  • @alteregoforfgc
    @alteregoforfgc Рік тому +3

    This course is 100% better than online platform provided by my online college course.

    • @shawnp0wers
      @shawnp0wers  Рік тому

      Aww, shucks. Thank you. I hope it is helpful! :)

  • @PvtHudson
    @PvtHudson 2 роки тому +5

    Thanks for these videos. Just passed my LPI Linux Essentials exam with a 750/800 score. Your videos covered everything and were super helpful.

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      Whoa, awesome! Congrats!!! I'm glad the videos helped. :)

  • @Born_Ready07
    @Born_Ready07 Рік тому +4

    Used this Playlist to help me pass my Linux Essentials class. Thanks a ton. You made this information waaay easier to understand.

  • @Aquablecs
    @Aquablecs Місяць тому

    Hey Shawn, I noticed in this course we didn't go over SUID and GUID. Other than that, I think you nailed this course. Thanks so much for taking the time to put this together. You're the best!

  • @malennyreyes5042
    @malennyreyes5042 2 роки тому +6

    SHAWNNNNN! I don't think I've ever left a comment on UA-cam but I just wanted to THANK YOU for your videos! I just took the Linux Essentials 010-160v cert exam and PASSED on my first try! You made it super simple to understand and broke everything down so clearly. I followed along on my VM entering the same commands as you and I think that helped the most. Thank you again for all you do! As always, Learn EVERYTHING, do what you LOVE, & most importantly- be kind

    • @shawnp0wers
      @shawnp0wers  2 роки тому +4

      NICE!!! Congrats! Thank you for the kind words as well! (sorry for the late reply, I've been SUPER sick)
      (And seeing someone else say my tagline? That made my day. Thank you.)

    • @malennyreyes5042
      @malennyreyes5042 2 роки тому

      @@shawnp0wers My favorite part of the videos were the tagline haha hope you feel better soon, thanks again! (:

  • @bobojax2272
    @bobojax2272 2 роки тому +14

    Shawn, thanks a ton, this helped me pass my essential exam first go! Really appreciate the work you're doing!! Running a ubuntu VM alongside your videos and copying what you were typing into the terminal and playing with the commands really helped the information stick.

    • @shawnp0wers
      @shawnp0wers  2 роки тому

      NOICE! That's a really good method, honestly. When I trained for CBT, we had web-based VMs we used for demonstrations, and students had access to the exact same VMs we used. It was a pretty neat solution. (Sadly not one I could reproduce, at least not for free)
      And congrats!!!

  • @stayhome8342
    @stayhome8342 Рік тому +7

    Mr shawn i'd like to really thank you for helping me pass the 010-160 exam. I'm writing this comment 20 minutes after passing my exam. I didn't pass with the best score actually it is 610 (didn't study the last topic) but you made me live the experience and pass my very first certification, so thx for your great playlist and your effort. God will always remember what you've done and what you're going to do with your videos for students like me !

    • @shawnp0wers
      @shawnp0wers  Рік тому +2

      That's incredible!!! Congratulations!

  • @hereticwife9372
    @hereticwife9372 Рік тому +4

    This series was great! I'm planning on taking the LPI Essentials later this week and someone recommended your videos to reinforce the materials I have been using. Your delivery is so engaging and I really feel like it helped to solidify concepts and details that I thought I understood already. Thank you!

  • @ozgurkose2315
    @ozgurkose2315 2 роки тому +2

    Shawn Powers on UA-cam! Now I finally got a reason to use UA-cam. Thanks for the great explanation, I wish there was also SUID and GUID but oh well

    • @shawnp0wers
      @shawnp0wers  2 роки тому

      Yay! And also, I know. I usually teach them together, but Linux Essentials specifically only mentions Sticky Bit. I guess I'll *have* to make a Linux+ or LPIC-1 course. :D

    • @ozgurkose2315
      @ozgurkose2315 2 роки тому

      @@shawnp0wers Any chance we can get an RHCSA one? :D

  • @mikestubeviews9973
    @mikestubeviews9973 2 роки тому +1

    Wow what a great series. I actually recommended this series for my college course that requires this cert. Thanks alot

    • @shawnp0wers
      @shawnp0wers  2 роки тому

      Thank you! And, awesome, thank you! :)

  • @Kaldrean
    @Kaldrean Рік тому +1

    Just finished the video series Shawn! Thank you so much. My course instructor for my undergrad program recommend this web series for a Linux class I am taking. The series was very helpful!

  • @em1kid28546
    @em1kid28546 2 роки тому +1

    SHAWN!! Thank you so much!! I am planning on taking my Linux Essential soon after I rewatch your videos a few more times. I will keep you posted on my result!

    • @shawnp0wers
      @shawnp0wers  2 роки тому

      Awesome! Good luck, and yes, let me know how it goes!!!

    • @em1kid28546
      @em1kid28546 2 роки тому +3

      @@shawnp0wers Just past the Linux Essential exam!! Thank you for this content!!!
      I cant wait for the CompTIA Linux+ prep!!

  • @slicendice120
    @slicendice120 3 місяці тому

    you are such a great teacher thank you for taking the time to make this series

  • @99HAXXOR
    @99HAXXOR Рік тому

    I really liked your content, presentation and quality.
    Looking forward that you'll add more videos to the playlist.
    Lots of love.

  • @rfrotan
    @rfrotan 10 місяців тому

    Thank you for this series! I was able to pass my LPI essentials and this series really helped solidify the LPI study guide

  • @kazami6317
    @kazami6317 2 роки тому +2

    Just passed! Thank you so much for this valuable course!
    Watched other courses on the test but you were the only person that was able to break it down in a simple way! Studying for this test has made me more interested in the world of Linux since I am trying to be a devops engineer (although like you said, Linux admins were doing it way before the term was coined haha).
    Will be looking forward to more videos from you!

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      NOICE! Well done, congrats. And thank you. :)

  • @SickYiddiez
    @SickYiddiez 2 роки тому +1

    Thank you Shawn for this amazing course. I have tried other Linux courses and you have the best analysis by far. You're engaging, thorough, and break concepts down into pieces that are easy to understand and remember. I'm so glad I stumbled onto this channel and I look forward to all your future content!

  • @MrMehi-hw3mq
    @MrMehi-hw3mq 2 роки тому

    I recently read some articles online but could not understand sticky bits. You simplified it very well, especially Bob and Suzy part was my favorite xd. I would also really love to hear some networking and subnetting from you. Awesome work, thanks!

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      Cool! I’m really glad to hear it. It’s kinda funny, I have so many ideas what to do next, I have to pick something! :D

  • @TadMcDearmont
    @TadMcDearmont 2 роки тому

    Shawn I am loving the videos! thanks for all you do. i have learned a lot from you!

  • @codykroliczek1162
    @codykroliczek1162 2 роки тому

    Just finished up the series today! Thank you for making certain confusing concepts much more simpler. I think what would be cool for future certification courses would be study guide material. Basically, a video in which you grab questions that may be on the certification test and break them down in Linux. I understand that not everyone's goal may be to even take the certification but still think it would be helpful all around to those who wish to keep pursing Linux. Cheers Shawn!

    • @shawnp0wers
      @shawnp0wers  2 роки тому

      Thanks for the idea! For the current Linux+ series I'm creating, some sort of "study group livestream" is in the works. Working up some downloadable study material would be another value... Thanks again!

  • @damianpodgorski6977
    @damianpodgorski6977 2 роки тому

    Great content! I did not know about this 0 and 1 for activating sticky bit! Great stuff. Waiting for LPIC-1 series :)

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      It works for SUID and GUID bits too. (same as the rwx octal notation, just on that preceding bit) :)

  • @raidomingo2395
    @raidomingo2395 Рік тому

    Enjoyed your video. Keep it coming!!

  • @PhilGawron74
    @PhilGawron74 2 місяці тому

    Great video Shawn! I have dabbled with Linux for years, just so many cool things one can do, reading documentation and taking ownership of things. Permissions have always been a challenge but your explanation of sticky but has really helped me. I’ll be sure to check out more of your stuff. Thank you for sharing this info. I ran across it in my udemy course and this help explain things differently.

  • @abdigamingoo1152
    @abdigamingoo1152 2 роки тому

    12:22 lol
    I am really thankful to you
    And I'm so lucky that I found your series Mr.Shawn

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      I'm glad you're enjoying it! :D

  • @bareeq5969
    @bareeq5969 8 місяців тому

    100% recommend this guy! best linux teacher ! u saved my daaaaaay !!!!!

  • @jimc1499
    @jimc1499 5 місяців тому

    Thank you for these videos sitting lpi linux exam soon

  • @sihemmansour5303
    @sihemmansour5303 10 місяців тому

    excellent tutorial, thanks a lot 👏👏

  • @disperatorul
    @disperatorul 2 роки тому

    Thank you for these series! I would like to watch one about the end to end booting process starting from bios, with debugging episodes, where to find what.

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      Cool idea, thanks, I'll add it to my list!

  • @casatek4027
    @casatek4027 Рік тому

    You are the best professor ever! Thanks!

  • @ntfsntfs5282
    @ntfsntfs5282 2 місяці тому

    You are a good teacher! Thanks for the video

  • @kite2surf
    @kite2surf 2 роки тому

    This has been great ,would like to see a LPIC1 series.

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      Thank you! LPIC-1 and/or Linux+ is in our future for sure. Those were the courses I made and revised for years at CBT Nuggets, so I look forward to recreating them here for public consumption.
      In the short term, I'm going to try for a few deep dives that aren't really covered all that well in those cert courses. Things like the SSH series I just started, some BASH scripting stuff, and maybe a few other topics I always wanted to talk more about but weren't part of the "objectives" so I had to skip over them.
      Thanks for the comment. I'll be relying on folks to tell me what would be most beneficial, so I truly do appreciate it. :)

  • @chanakalankeshwara
    @chanakalankeshwara Рік тому

    Thanks, for your explanation

  • @jehster
    @jehster 2 роки тому

    The symbolic link is often called a symlink, although old-timers will also refer to it as a "soft" link. It's like a Windows "short cut", although the Unix file system supported symlinks long before Windows borrowed the idea and called it something else.
    The opposite of a soft link is a hard link. While the soft link is a pointer to a file, a hard link is more or less a second name for a file. If you delete the target of a soft link, the contents are gone. However, if you delete the target (or first file name) of a hard link, the second file name will still point to those same contents. Since a hard link points to the same "stuff" that's stored on the disk as the target does, it has to be on the same filesystem (partition) as the target. On the other hand, a soft link can be to a file or directory on a different partition.

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      This is pretty much my inner monologue as I made the video, lol. Teaching soft links without comparing to hard links was weird. But… I tried to stay true to the Linux Essentials objectives. :)
      Also teaching sticky bits without SUID and GUID was weird. But I’m digress, lol.

  • @sammyta8119
    @sammyta8119 Рік тому

    Awesome. Thank you for the wisdom. I have a question - let say I want to find a specfic UID with tinstall he stickybit set. How can we do that?

  • @silvijokroslin1432
    @silvijokroslin1432 2 роки тому

    Thank you man "Shawn Powers" :,)

  • @samplesandtests
    @samplesandtests 9 місяців тому

    so playing with the sticky bit, i wanted to see what would happens if i put another other than 1 in for the first digit (2777, 3777, 4777, etc) and apparently if it is odd the sticky bit is set and if it is even the sticky bit is not set

    • @shawnp0wers
      @shawnp0wers  9 місяців тому

      That’s cool! And a really great example of learning by fiddling.

  • @allanpeck6393
    @allanpeck6393 2 роки тому

    Hi Shawn. Can you explain what the other special permission flags do and how to use them. ie. Set user ID and Set group ID. THANKS, love you channel.

    • @shawnp0wers
      @shawnp0wers  2 роки тому

      Yes -- in fact, when the same subject is covered in LPIC-1 and Linux+, SUID, SGID, and Sticky Bit are all in the objective together. I haven't started an LPIC-1/Linux+ level course here on UA-cam yet, but I taught them for a looooong time at CBT Nuggets, so hopefully when I do start the course here, I can get the videos pumped out quickly.
      SGID is rarely used, at least in my experience, and SUID (which makes executables run with the permissions of the file's owner) is used in a few system-level executables, but is sorta dangerous to use willy-nilly.
      But yes, I'll try to make sure it's covered in future videos! Thanks for taking the time to stop by and comment. :)

  • @samaarafa5211
    @samaarafa5211 Рік тому

    Thank you

  • @mortezafarshchi8003
    @mortezafarshchi8003 Рік тому

    done! I already finished it

  • @LionelTellem
    @LionelTellem Рік тому

    Hello nice one as always but please real quick what's the difference between ALIAS command and the SYMBOLIC LINK concept ?

    • @shawnp0wers
      @shawnp0wers  Рік тому +1

      The quick version is that a symbolic/soft link is sort of like a "shortcut" in the Windows world. It's pointing to a file on the filesystem. I describe it in depth here: ua-cam.com/video/MCZC43UZ_1k/v-deo.html
      In Linux, "alias" is a way to sort of map one command to another. It's part of the BASH (or other) shell. When you set up an alias, you're telling BASH "when you see me type 'this_thing', I want you to actually tell the Linux system that I typed 'that_thing'"
      So for example, most distros come with "ll" (two lowercase L's) as an alias for "ls -alF", which is defined in the .bashrc file in your home directory. Hopefully that didn't make this more confusing...

    • @LionelTellem
      @LionelTellem Рік тому

      @@shawnp0wers thanks very much for your explanation, I just finished watching your Linux+ prep videos which ended with the explanation of soft link 😀 and it's all well understood. Still waiting for the rest of your Linux+ videos 😉. Much courage in delivering nice contents.

  • @arashgooranorimi7574
    @arashgooranorimi7574 2 роки тому

    Hi Shawn. Thank you for this series of LPI essentials videos. I was totally unfamiliar of Linux, simply by watching your teaching, I passed the exam today. You have a training course of LPIC 1 on CBTNugget, but it is not updated. Do you have any plan to update it?
    Thank you again

    • @shawnp0wers
      @shawnp0wers  2 роки тому +3

      Congrats!
      I’m no longer a trainer for CBT, but will probably make an LPIC-1 course here sometime this year. I still have a full time job, so can’t produce videos as fast as I’d like - but stay tuned for more training!

    • @arashgooranorimi7574
      @arashgooranorimi7574 2 роки тому

      Thank you so much. You are the best.

  • @jreamscape
    @jreamscape 6 місяців тому

    thanks brotha.

  • @jamesmichaels4209
    @jamesmichaels4209 2 роки тому

    thank you so muxh

    • @shawnp0wers
      @shawnp0wers  2 роки тому

      Thank YOU for stopping by and taking the time to leave a kind comment! :)

  • @garra9876
    @garra9876 Рік тому

    thanks sticky bit was very difficult to me

  • @samplesandtests
    @samplesandtests Рік тому

    what is the differences between symbolic (-s) , physical/hard (-P) and relative (-r) links?

    • @shawnp0wers
      @shawnp0wers  Рік тому +1

      I cover hard links and soft/symbolic links in the Linux+ video here: ua-cam.com/video/MCZC43UZ_1k/v-deo.html
      But relative and absolute symbolic links are the same concept, just specifying the target differently. For example:
      /home/user/Documents/file.txt
      vs
      ../Documents/file.txt
      Absolute symbolic links are pointing to the full filesystem path of the target file/directory, whereas a relative symbolic link points to a target based on the current directory. Hopefully that makes sense.

  • @eilayyosfan4417
    @eilayyosfan4417 Місяць тому

    thank you thank you thank you thank you thank you thank you thank you thank you

  • @hamzafeghouli4297
    @hamzafeghouli4297 2 роки тому

    well darn explained

  • @samaarafa5211
    @samaarafa5211 Рік тому

    Need to practise test questions

  • @GiovanniScafora
    @GiovanniScafora 2 роки тому

    Hi, could you tell me how many answers I can fail to pass the exam?

    • @shawnp0wers
      @shawnp0wers  2 роки тому +1

      I don’t know, honestly. I’d go to their website and ask them!

  • @udemo4343
    @udemo4343 Рік тому

    Cool!
    Episode suggest... `mkfifo demo1; man etc etc > demo1 &` and `cat < demo1` or `less

  • @rokerlykdat
    @rokerlykdat 9 місяців тому

    I dont know what to say
    Thank you

  • @BorisArtemyev
    @BorisArtemyev 2 роки тому

    I like your videos but please stop calling directories folders.

    • @shawnp0wers
      @shawnp0wers  2 роки тому +6

      Hehe, I’ve been called out for that before. I can’t promise to stop saying folder, but I do my best to say directory as well. I blame the folder icons used to represent directories. I figure using the terms interchangeably at least helps explain all the GUI representations as file folders. 🤷

  • @MithunKannan23
    @MithunKannan23 4 місяці тому

    Thank you so much

  • @Awwe12675
    @Awwe12675 Рік тому

    Come on guys support his channel in Facebook or Twitter

    • @shawnp0wers
      @shawnp0wers  Рік тому +1

      Aww shucks, thank you!

    • @Awwe12675
      @Awwe12675 Рік тому

      @@shawnp0wers I will support you for all my heart and sorry for my bad English

    • @shawnp0wers
      @shawnp0wers  Рік тому +1

      @@Awwe12675 No need to apologize. I only know a single language, so you're already far more advanced than me. And thank you again.