Linux Basics you need to know: Who Am I?

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • If you want to learn a lot more, watch the Linux Basics for Hackers video series with OTW. First video: • Linux for Hackers Tuto...
    #linux #kalilinux #windows

Комментарии • 202

  • @davidbombal
    @davidbombal  11 месяцев назад +81

    If you want to learn a lot more, watch the Linux Basics for Hackers video series with OTW. First video: ruclips.net/video/YJUVNlmIO6E/видео.html

    • @SezzzSimon
      @SezzzSimon 11 месяцев назад

      Video not available!

    • @Rage57350
      @Rage57350 10 месяцев назад

      Loving these shortcuts 😅 here I thought I had to use sudo su this whole time 🤦🏻‍♂️🤷🏻‍♂️

    • @freedom_is_coming2024
      @freedom_is_coming2024 10 месяцев назад +1

      Мужик, да ты просто капитан очевидность...

    • @Muslim_YM.26
      @Muslim_YM.26 9 месяцев назад +1

      and use (ctrl +d ) to go back to your user

    • @agnesschilembo-md5hd
      @agnesschilembo-md5hd 7 месяцев назад +1

      I would love it if you can be my mentor giving me a step to step guide am a slow learner and am having challenges

  • @TheStillWalkin
    @TheStillWalkin 11 месяцев назад +671

    "I AM ROOT" - deep voiced plant

    • @johnnycincocero
      @johnnycincocero 11 месяцев назад +4

      Ha. You beat me to it.

    • @Dr_Larken
      @Dr_Larken 11 месяцев назад +2

      Yeah, I had to check the comments this second I thought of that! When he said, I am rude. Yeah, I immediately went to the comments

    • @_sujit004
      @_sujit004 7 месяцев назад +3

      I AM GROOT

  • @Radidsh
    @Radidsh 10 месяцев назад +80

    Also, typically you will see a dollar sign ($) at the prompt when you are in a normal user shell without privileges and hashtag (#) when you can execute commands with privileges, as shown here when su is successfully run.

  • @bendono
    @bendono 4 месяца назад +19

    whoami also works on Windows. Reportedly su will also work in a recent Win11 update too.

  • @bc100dev
    @bc100dev 10 месяцев назад +44

    The su command is rather of switching users. Executing su without any arguments calls onto root, but if you pass on another user (we have kali1 running and we call for kali2), then we will try to connect to the kali2 user.

    • @rockhaze
      @rockhaze 10 месяцев назад +1

      So the overall command would be "su" with parameter "kali2"?

    • @bc100dev
      @bc100dev 10 месяцев назад +4

      @@rockhaze Yes, with `su kali2`. Probably should have explained better, but yeah

    • @ThePhinista
      @ThePhinista 7 месяцев назад +5

      @@rockhazethink of it as “switch user”

    • @AndersJackson
      @AndersJackson 6 месяцев назад +1

      ​@@rockhazeyes, you can read all about it in the manual. Just type
      man su
      man whoami
      man man
      man sudo
      etc

    • @Adam-ut9nt
      @Adam-ut9nt Месяц назад

      Use the man command with | more to view it by page
      man su | more

  • @AnomalyHunting
    @AnomalyHunting 11 месяцев назад +5

    Love your content David. Your visuals on your videos are looking great and the editing deserves credit. Thanks for all your wonderful videos spreading free knowledge!

  • @fixer1140
    @fixer1140 11 месяцев назад +70

    And this is the kind of thing you don't learn on tv. Thank you very much David, I learn something new every day

    • @1eddardstark
      @1eddardstark 11 месяцев назад +1

      you don't learn anything on tv now.

    • @niquezebi7991
      @niquezebi7991 11 месяцев назад

      ​@@1eddardstarkthansk i want to say same😂

    • @iHelpSolveIt
      @iHelpSolveIt 7 месяцев назад

      Go to w3schools

    • @MrBoydgo
      @MrBoydgo 6 месяцев назад

      ​@@1eddardstark Exactly. When I learned this command and many more it was not by watching TV.

  • @anolchakraborty
    @anolchakraborty 5 месяцев назад +5

    You can also use the command `logname`, this shows the name of the logged in user in case you switched to another user from your current session.

  • @brostein6
    @brostein6 11 месяцев назад +41

    su allows you to 'switch user' and your excluding - for environment variables. You can su to any user, but su - is traditional and sudo su - or most common as root is disabled is distros, such as Ubuntu.

    • @iHelpSolveIt
      @iHelpSolveIt 7 месяцев назад +4

      Nope its there😂😂😂 each distro has their own way of doing these these days it used to be that you did su apt-get "command" but since 2008 Ubuntu changed it done sudo apt "command" or sudo, su is still there.

    • @galloe
      @galloe 6 месяцев назад +2

      I just checked and was able to use sudo su on two versions of Ubuntu, 22.04 and
      23.04, and they both worked fine. Not sure what you mean that it's disabled.

  • @Bharath-wb8uy
    @Bharath-wb8uy 2 месяца назад

    Thank you David you have helped me more than you can even imagin

  • @saturnnaz
    @saturnnaz 11 месяцев назад +5

    Same command works with Windows cmd.
    ‘whoami’

  • @supriyochatterjee4095
    @supriyochatterjee4095 6 месяцев назад

    Great, Sir please kindly upload lots of videos on Linux tutorials shorts like this one for troubleshooting Networking, servers and everything else in Linux environment

  • @MFaria75
    @MFaria75 7 месяцев назад +1

    Un rappel des basiques... parfait... merci !

  • @DJPhantomRage
    @DJPhantomRage Месяц назад

    I have moved from windows to Linux over the past 4 years and I have a nice Dell workstation with Window 11 Pro. Hasn't been touched once in over a year. Linux has done every i need and more.

  • @tloap
    @tloap 7 месяцев назад

    Nice simple explanation sir..keep digging sir.🎉

  • @ameyadali1768
    @ameyadali1768 11 месяцев назад

    Thank You, Please Continue I'm Eager To Learn From You

  • @tomsaltner3011
    @tomsaltner3011 8 месяцев назад +5

    SU allows you to be be ANY user, not just root…

  • @Cyberbunker17
    @Cyberbunker17 3 месяца назад

    David I really appreciate you, you are best mentor whom I ever seen(video) on inet

  • @oozey262
    @oozey262 Месяц назад

    The best OS I've learned about through google course.

  • @elcastigadordevenus
    @elcastigadordevenus 11 месяцев назад +17

    Great David, the best. Thank you.

    • @davidbombal
      @davidbombal  11 месяцев назад +1

      Thank you! Glad you enjoyed the video 😀

  • @antonioalvarez2715
    @antonioalvarez2715 Месяц назад

    Thank you ,, you are a great teacher.

  • @mumbucorporation7243
    @mumbucorporation7243 9 месяцев назад +5

    Instructions unclear...multiple minds appeared in my head

  • @Boback111
    @Boback111 3 месяца назад

    Wanted to use crt in some video edits but didn’t know anything about Linux or terminal. Grabbed iSH and a-Shell on iOS and apparently the former runs an emulation of Alpine Linux. After familiarizing myself with that was able to jump right on mac terminal or use open-ssh from phone/iPad. Ur vids helped a bunch so thanks.

  • @enpassant7358
    @enpassant7358 9 месяцев назад +1

    I like the w command myself. It gives more info and requires less typing.

  • @thegingerpowerranger
    @thegingerpowerranger 7 месяцев назад +2

    su actually just allows you to switch to other users.. Unix is a multi user system - this is the fundamental difference between Unix and early versions of DOS, windows or even what Apple was delivering with their early hardware.

    • @dieselsoggydog6299
      @dieselsoggydog6299 6 месяцев назад

      The early Apple OS didn't even have a command line. You are correct that su is used to switch users but if no user is specified, it defaults to root.

    • @thegingerpowerranger
      @thegingerpowerranger 6 месяцев назад +1

      @@dieselsoggydog6299 think you need to scrub up on your history, earliest apples were all command line based running basic!

    • @dieselsoggydog6299
      @dieselsoggydog6299 6 месяцев назад

      I was mainly talking about the Classic Mac OS with a GUI, it has no command line. Still that Apple DOS was not a true DOS it was a control program.@@thegingerpowerranger

    • @thegingerpowerranger
      @thegingerpowerranger 6 месяцев назад +1

      @@dieselsoggydog6299 try again! The original apples ran a very simple CLI operating system that was stored in read only memory. Apple DOS came along later, DOS stands for Disk Operating System - it was an expanded amount of functionality as the external medium offered a significantly increased amount of storage over the internal ROM.

  • @TheVoidBlock
    @TheVoidBlock 5 месяцев назад

    Best reason to learn Linux: get to use a command to show you the username that is already very visible. Jokes aside thank you for spreading more knowledge and helping make loonux more popular

  • @Alfonso6143
    @Alfonso6143 Месяц назад

    Es usted un gran maestro. Saludos

  • @GovindNelika
    @GovindNelika 11 месяцев назад +1

    Thank you again

  • @Legomanfred
    @Legomanfred 11 месяцев назад

    I use Linux all the time. I think you mean learn "shell commands" in linux as you were using the terminal in this video. Great video. 👍❤️

    • @nosuchthing8
      @nosuchthing8 10 месяцев назад

      Yes, but he's sacrificing accuracy for general comprehension.

    • @oblivikun
      @oblivikun 8 месяцев назад

      just like to interject for a moment. What you're referring to as
      Linux, is in fact, GNU/Linux, or as I've recently taken to calling it,
      GNU plus Linux. Linux is not an operating system unto itself, but rather
      another free component of a fully functioning GNU system made useful by
      the GNU corelibs, shell utilities and vital system components
      comprising a full OS as defined by POSIX.

  • @Embry_
    @Embry_ 8 месяцев назад

    Wow, your bash configuration for your kali linux vm is so nice, are your dotfiles open source anywhere?

  • @ah6827
    @ah6827 4 месяца назад

    I need Linux course from you please. Thx. ❤

  • @ThePoloipo
    @ThePoloipo 2 месяца назад

    14:38 "They don't do it anymore.." -El Mencho would like a word

  • @daily.trades
    @daily.trades 9 месяцев назад

    Thank you. These videos might seem a bit benign, but they HELP!!! Please keep em coming!!!!!

  • @PhC3394
    @PhC3394 9 месяцев назад

    I am brand new i i going to learn lennox to unhack my stuff thanks u put me on the path

  • @justaneric
    @justaneric 5 месяцев назад +1

    kali linux is based on ubuntu linux, so it would be the same on both operating systems.

  • @freekiss007
    @freekiss007 Месяц назад

    Kali is just à debian like ubuntu with a lot of programms for security, pentesting. Thanks David,

  • @sjahope
    @sjahope Месяц назад

    woah dude this is like so existential mannn

  • @sargismartirosyan9946
    @sargismartirosyan9946 11 месяцев назад

    Thank you david 😊
    Can you make a video about how can we use cruch and aircrack-ng to break 4 way handshake

  • @amitchoudhary7428
    @amitchoudhary7428 Месяц назад

    Thx David

  • @chriscanadahello
    @chriscanadahello 9 месяцев назад +1

    i just started this virtual machine and ubuntu OS again, it's been awhile

    • @AndersJackson
      @AndersJackson 6 месяцев назад

      There the root user is locked, so root doesn't have a password. Which is a security feature.
      Instead use the sudo(8) command as prefix to command you want to escalate priviliges to root.
      whoami
      sudo whoami
      whoami

  • @haywardgg
    @haywardgg 5 месяцев назад

    In the garden, I am Groot!

  • @V4mpirella
    @V4mpirella 9 месяцев назад

    my favorite teacher

  • @stickycheekzgaming7187
    @stickycheekzgaming7187 11 месяцев назад

    I love everything you do I have a question I want to learn more about coding. What's the best way to proceed without going to college.

    • @WhyYouAskingMe
      @WhyYouAskingMe 11 месяцев назад

      I am a student of RUclips University. It is free.

  • @chriscanadahello
    @chriscanadahello 9 месяцев назад

    it interesinting that cmd commands still work considerring all the upgrades

  • @harshitbhangre
    @harshitbhangre 10 месяцев назад +1

    Ahh alright... Looks good

  • @blazesmith5046
    @blazesmith5046 11 месяцев назад +2

    I am root

  • @eagle990
    @eagle990 11 месяцев назад

    Would you do tutorials about Linux commands

  • @aero77
    @aero77 11 месяцев назад

    Will part 2 go over how you can use “su” to pivot as a different user other than root? ;) 😊

    • @oblivikun
      @oblivikun 8 месяцев назад +1

      su - [user]

    • @justaneric
      @justaneric 5 месяцев назад +1

      su [username]

  • @azwihangwisimulaudzi1097
    @azwihangwisimulaudzi1097 6 месяцев назад

    That's why I was scared to use Linux... People like showing terminal and those commands acting like that how we use Linux... Until I tried Ubuntu and Mint I realise that for basic use there is no need for terminal

  • @gyaniadmi2347
    @gyaniadmi2347 19 дней назад

    What are the benefits of learning Linux?

  • @ComicusFreemanius
    @ComicusFreemanius 6 месяцев назад

    If I could learn one command every minute I'd be there by now.

  • @Deadgray
    @Deadgray 8 месяцев назад

    Awesome, now with linux I can learn my own name :-)

    • @goofballbiscuits3647
      @goofballbiscuits3647 6 месяцев назад

      My summer child, it's to figure out which of the target users is currently logged in (for privilege sake if nothing else).

  • @tradesinx
    @tradesinx 7 месяцев назад

    How do you install ubuntu on your laptop? I have Kali Linux everything and i am finding it difficult to install it.

  • @JelleRevyn
    @JelleRevyn 9 месяцев назад

    This works on Windows too (in cmd or powershell). Whoami shows the username and also the domain if you use one. Su does not work...

  • @Felix.942
    @Felix.942 10 месяцев назад +1

    'Sudo su' to do everything as root

  • @DrSoftman
    @DrSoftman 2 месяца назад +1

    I think I am pretty sure who I am.

  • @JotaleaGG
    @JotaleaGG 10 месяцев назад

    True, but I already knew it. Good video anyways.

  • @gs4847
    @gs4847 7 месяцев назад

    What the situation with the password? Is there a default one or is it different for each distribution? How can the password be changed?

  • @nikhilsultania170
    @nikhilsultania170 7 месяцев назад +1

    "I am Rooot"

  • @williammartinez7987
    @williammartinez7987 11 месяцев назад +6

    whoami?
    I am Groot.

  • @jorcelangelo
    @jorcelangelo 3 месяца назад

    How did you get that nice blowing underscore on the bash terminal?

  • @dougselby7592
    @dougselby7592 11 месяцев назад +1

    You want su - so you pick up root's environment.

  • @rdx8122
    @rdx8122 8 месяцев назад

    Hello sir, hope you are well,
    will Cisco CCNA help me become a penetration tester ?

  • @MasteredMagic
    @MasteredMagic 6 месяцев назад

    How did you SU into root on Ubuntu? I thought that there wasn’t a password set for root? I’ve only ever been able to sudo

  • @SuperVinccent
    @SuperVinccent 11 месяцев назад +1

    The terminal app is for experts like David .

    • @spelz1751
      @spelz1751 11 месяцев назад +1

      I totally disagree. Even beginners can use it. I would encourage it.

    • @theod0r
      @theod0r 9 месяцев назад

      using the terminal is trivial

  • @godividarr
    @godividarr 11 месяцев назад +1

    Is it possible to set up a Linux set up to require a hardware 2FA before it will allow privilege escalation?

  • @mr.youtube975
    @mr.youtube975 11 месяцев назад

    Whoami? I asked myself this question many times

  • @Error_-hj5jg
    @Error_-hj5jg 7 месяцев назад +1

    I always assumed SU meant super user

    • @AndersJackson
      @AndersJackson 6 месяцев назад

      Always check facts, and it is easy. Just use the man(1) command on the su(8) command.
      Just type
      man su
      Yes, the man(1) command also have a man page.
      man man

    • @justaneric
      @justaneric 5 месяцев назад

      sudo means "super user do"

  • @TedWard-95
    @TedWard-95 4 месяца назад

    tysm

  • @natking1u1z99
    @natking1u1z99 Месяц назад

    Don’t ever su unless it is necessary just use sudo for temporary privilege escalation. Which is way less worse than typing a damn windows admin password at every prompt.

  • @bleueyes8721
    @bleueyes8721 8 месяцев назад

    Back door baby!!

  • @rowanfogg3774
    @rowanfogg3774 5 месяцев назад

    Su only works if you know the password or the user has all permissions enabled, correct?

  • @El7erribleIVAN
    @El7erribleIVAN 10 месяцев назад

    Anyone knows the effects of the neon blue line while he is typing??

  • @henriroggeman7267
    @henriroggeman7267 5 месяцев назад

    whoami works just as well on windows

  • @vivian_music
    @vivian_music 5 месяцев назад

    whoami also works on windows

  • @terrence369
    @terrence369 9 месяцев назад

    😊 good

  • @ronaldkoornneef3117
    @ronaldkoornneef3117 9 месяцев назад

    I always thought it was sudo...

  • @FarazOloumi
    @FarazOloumi 9 месяцев назад

    su followed by a username allows for user change even if not root

  • @techfun4965
    @techfun4965 10 месяцев назад +1

    Sudo -i

  • @sernanlloren8432
    @sernanlloren8432 9 месяцев назад

    I'm for Groot to speak

  • @truehighs7845
    @truehighs7845 9 месяцев назад +1

    I am root!

  • @shawnfreeman3303
    @shawnfreeman3303 29 дней назад

    What happens when your laptop is stolen..who am I? A guy who just got his linux stolen?

  • @jshriver
    @jshriver 5 месяцев назад

    🙏🙏

  • @jaysolomon6756
    @jaysolomon6756 10 месяцев назад

    Who am I! I'm not a cat, 😮

  • @sorin.n
    @sorin.n 9 месяцев назад

    Who am I? I need to know who I am! I have this condition... Wait... who are you? 😁

  • @melvinsgjr
    @melvinsgjr 4 месяца назад

    I'm using Peppermint OS (on my Asus T100TA laptop) and Linux Mint on PC and 'su' is not working perfectly

  • @ORIGINALwhatnow
    @ORIGINALwhatnow 6 месяцев назад

    I AM GROOT

  • @onahEmmanuelNnaemeka
    @onahEmmanuelNnaemeka Месяц назад

    My SU command failed , what might be the cause

  • @DrDiabolical000
    @DrDiabolical000 11 месяцев назад

    Me writes SUiiiiiiiiii
    Ubunti: Ronaldo

  • @RoughGanome
    @RoughGanome 11 месяцев назад

    "w" shows all users currently logged in

  • @techfan7808
    @techfan7808 11 месяцев назад +1

    sudo -i

  • @rami.0092
    @rami.0092 11 месяцев назад

    👍🏻

  • @N1Zer0
    @N1Zer0 5 месяцев назад

    Linux users: use sudo!

  • @bdi7518
    @bdi7518 10 месяцев назад +1

    Unix

  • @kipchickensout
    @kipchickensout 11 месяцев назад

    su allows you to substitute a user
    su - george

  • @shanksgiving
    @shanksgiving 11 месяцев назад

    If youre lazy like me and want to type as little as possible, Ctrl + D is also a quick shortcut to log out of root!

  • @ykcosa
    @ykcosa 11 месяцев назад

    everyone can become root in terminal but can you log in as root?

  • @JonathanNelson-nelsonj3
    @JonathanNelson-nelsonj3 4 месяца назад

    Hmm, username is kali, I wonder what the password might be. 😂

  • @eagle990
    @eagle990 23 дня назад

    David ....is Linux safe

  • @ghostbutcher685
    @ghostbutcher685 3 месяца назад

    How to power off i am stuck😂😂😂