The STICKY BITs of Linux

Ғылым және технология

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 Жыл бұрын

    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 ай бұрын

    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 ай бұрын

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

  • @alteregoforfgc
    @alteregoforfgc Жыл бұрын

    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
    @PvtHudson2 жыл бұрын

    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 жыл бұрын

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

  • @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!

  • @Born_Ready07
    @Born_Ready07 Жыл бұрын

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

  • @stayhome8342
    @stayhome8342 Жыл бұрын

    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

    Жыл бұрын

    That's incredible!!! Congratulations!

  • @malennyreyes5042
    @malennyreyes50422 жыл бұрын

    SHAWNNNNN! I don't think I've ever left a comment on KZread 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 жыл бұрын

    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
    @bobojax22722 жыл бұрын

    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!!!

  • @hereticwife9372
    @hereticwife9372 Жыл бұрын

    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
    @ozgurkose23152 жыл бұрын

    Shawn Powers on KZread! Now I finally got a reason to use KZread. 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

  • @slicendice120
    @slicendice1203 ай бұрын

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

  • @PhilGawron74
    @PhilGawron74Ай бұрын

    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.

  • @mikestubeviews9973
    @mikestubeviews99732 жыл бұрын

    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 Жыл бұрын

    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!

  • @shawnp0wers

    @shawnp0wers

    Жыл бұрын

    Thank you!

  • @kazami6317
    @kazami63172 жыл бұрын

    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 жыл бұрын

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

  • @jimc1499
    @jimc14995 ай бұрын

    Thank you for these videos sitting lpi linux exam soon

  • @em1kid28546
    @em1kid285462 жыл бұрын

    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 жыл бұрын

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

  • @raidomingo2395
    @raidomingo2395 Жыл бұрын

    Enjoyed your video. Keep it coming!!

  • @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
    @rfrotan10 ай бұрын

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

  • @TadMcDearmont
    @TadMcDearmont2 жыл бұрын

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

  • @shawnp0wers

    @shawnp0wers

    2 жыл бұрын

    Thank YOU Tad! :)

  • @SickYiddiez
    @SickYiddiez2 жыл бұрын

    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!

  • @shawnp0wers

    @shawnp0wers

    2 жыл бұрын

    Whoa, thank you!!!

  • @bareeq5969
    @bareeq59698 ай бұрын

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

  • @MrMehi-hw3mq
    @MrMehi-hw3mq2 жыл бұрын

    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 жыл бұрын

    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

  • @damianpodgorski6977
    @damianpodgorski69772 жыл бұрын

    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 жыл бұрын

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

  • @codykroliczek1162
    @codykroliczek11622 жыл бұрын

    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!

  • @ntfsntfs5282
    @ntfsntfs52822 ай бұрын

    You are a good teacher! Thanks for the video

  • @abdigamingoo1152
    @abdigamingoo11522 жыл бұрын

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

  • @shawnp0wers

    @shawnp0wers

    2 жыл бұрын

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

  • @sihemmansour5303
    @sihemmansour53039 ай бұрын

    excellent tutorial, thanks a lot 👏👏

  • @casatek4027
    @casatek4027 Жыл бұрын

    You are the best professor ever! Thanks!

  • @disperatorul
    @disperatorul2 жыл бұрын

    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 жыл бұрын

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

  • @chanakalankeshwara
    @chanakalankeshwara Жыл бұрын

    Thanks, for your explanation

  • @kite2surf
    @kite2surf2 жыл бұрын

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

  • @shawnp0wers

    @shawnp0wers

    2 жыл бұрын

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

  • @jehster
    @jehster2 жыл бұрын

    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 жыл бұрын

    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
    @silvijokroslin14322 жыл бұрын

    Thank you man "Shawn Powers" :,)

  • @eilayyosfan4417
    @eilayyosfan441729 күн бұрын

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

  • @samaarafa5211
    @samaarafa5211 Жыл бұрын

    Thank you

  • @shawnp0wers

    @shawnp0wers

    Жыл бұрын

    You're welcome! Thank YOU! :)

  • @jreamscape
    @jreamscape6 ай бұрын

    thanks brotha.

  • @mortezafarshchi8003
    @mortezafarshchi8003 Жыл бұрын

    done! I already finished it

  • @samplesandtests
    @samplesandtests9 ай бұрын

    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
    @allanpeck63932 жыл бұрын

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

  • @jamesmichaels4209
    @jamesmichaels42092 жыл бұрын

    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

  • @shawnp0wers

    @shawnp0wers

    Жыл бұрын

    Glad it helped!

  • @hamzafeghouli4297
    @hamzafeghouli42972 жыл бұрын

    well darn explained

  • @shawnp0wers

    @shawnp0wers

    2 жыл бұрын

    Thank you! :)

  • @arashgooranorimi7574
    @arashgooranorimi75742 жыл бұрын

    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 жыл бұрын

    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.

  • @samaarafa5211
    @samaarafa5211 Жыл бұрын

    Need to practise test questions

  • @samplesandtests
    @samplesandtests Жыл бұрын

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

  • @shawnp0wers

    @shawnp0wers

    Жыл бұрын

    I cover hard links and soft/symbolic links in the Linux+ video here: kzread.info/dash/bejne/f3eOpZZshb3FYc4.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.

  • @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

    Жыл бұрын

    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: kzread.info/dash/bejne/f3eOpZZshb3FYc4.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.

  • @GiovanniScafora
    @GiovanniScafora2 жыл бұрын

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

  • @shawnp0wers

    @shawnp0wers

    2 жыл бұрын

    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
    @rokerlykdat9 ай бұрын

    I dont know what to say Thank you

  • @BorisArtemyev
    @BorisArtemyev2 жыл бұрын

    I like your videos but please stop calling directories folders.

  • @shawnp0wers

    @shawnp0wers

    2 жыл бұрын

    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
    @MithunKannan234 ай бұрын

    Thank you so much

  • @Awwe12675
    @Awwe12675 Жыл бұрын

    Come on guys support his channel in Facebook or Twitter

  • @shawnp0wers

    @shawnp0wers

    Жыл бұрын

    Aww shucks, thank you!

  • @Awwe12675

    @Awwe12675

    Жыл бұрын

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

  • @shawnp0wers

    @shawnp0wers

    Жыл бұрын

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

Келесі