Phenomenal LINUX Powers! (Teeny Little Command Line Magic)

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 39

  • @corywinterberg8764
    @corywinterberg8764 Před 11 měsíci +29

    Hey! WGU sent me here and your videos are excellent I appreciate your attitude!

  • @adamsiek6438
    @adamsiek6438 Před rokem +11

    The passwords are not actually encrypted, they are hashes. This comment is really to feed the CZcams beast. Your content needs more views!! Please never stop. You explain things so perfectly and clear.

    • @shawnp0wers
      @shawnp0wers  Před rokem +3

      Thank you! (And you’re correct of course, I’m fact my last video talks about hashes vs encryption!)

  • @AlexandrOakway
    @AlexandrOakway Před 8 měsíci +1

    Thank you so much for making this video, fun and educational!

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

    Thanks a lot for this content👌🏾.
    I've also learnt that running sudo -i gives you an interactive shell as the root user, it functions pretty similar to the sudo su -

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

    sudo su - is dope for live cds.

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

    Thanks Shawn, I love your style. I learnt few new things (like the 'w' command).
    Did you know 'sudo -i' runs an interactive root shell? This is slightly less typing than 'sudo su -' but produces largely the same effect.

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

      Neat! I did *not* know that, thanks! Also, thank you very much. I’m enjoying the process here on CZcams as opposed to CBT Nuggets because I get to interact with people like this. :)

    • @gctypo2838
      @gctypo2838 Před rokem

      @@shawnp0wers If you use `sudo -s` it instantiates the shell in the same working dir (as `sudo su` does)

  • @LuisFCorreia
    @LuisFCorreia Před 2 lety +5

    sudo make me a sandwich

  • @jimc1499
    @jimc1499 Před 6 měsíci

    Thank you🎉

  • @Alex_Wakefield
    @Alex_Wakefield Před 2 měsíci +1

    I am Bob, I testify that there is no password.

  • @MrDeni23n
    @MrDeni23n Před 2 lety

    18:55 I Am Groot reference.

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

      LOL! I had to go back and play it. Such a missed opportunity on my part. 🤣

  • @samplesandtests
    @samplesandtests Před rokem

    my debian installation does not have visudo (or it is not in path) this was originally a debian 7 install upgraded to 10 then to 11, so i don't know if it was something that was lost in one of the upgrades. the /etc/sudoers file says to use visudo. do you know where the visudo may be hiding or is it part of a specific package?

    • @shawnp0wers
      @shawnp0wers  Před rokem +2

      It's in the /usr/sbin folder, so it won't be in your path unless you're root. If you use "su -l" to become root (using the root password, which on debian you set during install), and then run visudo, it shoudl work.

    • @samplesandtests
      @samplesandtests Před rokem +1

      @@shawnp0wers so the reason i was trying to do this was that root was the only user in the sudo group, so sudo did not work from my main user. if i wanted to do anything as a superuser (root) i would need to use su. but i did not realize that su by its self does not add the root path. I had written the original comment before I got to the end of your video, where i found the answer (su -). and you replied before i could say that. thanks for the quick reply. i hope my rambling makes sense

  • @quickstrike2111
    @quickstrike2111 Před rokem

    I'm confused so If anyone can just type sudo su- and use there password for root privilege isn't that still unsafe ? Also how do you get back to the terminal after using vi do you just close the terminal ?

    • @shawnp0wers
      @shawnp0wers  Před rokem +2

      Only people who have sudo privilege can use "sudo su -", so it's not every user who has the ability to use sudo. And with regard to vi/vim -- getting "out" is a huge frustration for people unfamiliar with it, for sure. This video on vim/nano should help: czcams.com/video/l1KvwDCUgiY/video.html
      The tl;dr version is, press escape, they type :wq and press enter to save your document and exit.

    • @quickstrike2111
      @quickstrike2111 Před rokem

      @@shawnp0wers oh ok thanks Shawn do you think the Linux+ is necessary to become a cloud engineer or is the information from the Linux essentials is enough?

    • @shawnp0wers
      @shawnp0wers  Před rokem +2

      @@quickstrike2111 I think you'll need to know more than Linux Essentials -- but depending on what your'e doing specifically, the Linux+ objectives might not all be as important to you. You'd probably be more comfortable with cloud engineering if you understood what was happening "behind the scenes" so to speak.

    • @quickstrike2111
      @quickstrike2111 Před rokem

      @@shawnp0wersalright thanks again 🙂

  • @darkspring7245
    @darkspring7245 Před 2 lety

    what is different between adduser and useradd

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

      "adduser" is a script that walks you through creating a new user. "useradd" is the command that does the heavy lifting, but you tell it the various things via commandline arguments.

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

    I don't trust Bob

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

      He's pretty suspicious. And half the time he spells his name backwards! ;)

  • @gregoryjones4539
    @gregoryjones4539 Před 2 lety

    How many times does he say power in this video

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

      It’s absurdly hard for me to write “power” anywhere, because my muscle memory adds the “s” every time, lol.

    • @gregoryjones4539
      @gregoryjones4539 Před 2 lety

      I bet its just a subconscious thing the s has been there your whole life and some time its just not lol

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

    Im the 333 view and 33 like

  • @cyberghost_01
    @cyberghost_01 Před rokem +3

    can anybody explain to me if this course cover all the LPI linux essential topics?