Linux Commands for Beginners: 07 – Sudo

Video is ready, Click Here to View ×

Welcome to my Linux Commands for Beginners tutorial series, where I’ll show you how to use the Linux Command shell (specifically Bash) one command at a time. This series aims to take you from a beginner to an advanced user, one video at a time.

This video shows you a very light introduction to sudo, to show you what it is since I mention it a lot.


  1. When I run the sudo command on KDE Neon, it says that "sudo: /etc/sudoers.d is owned by uid 100000, should be 0". What's that about? I can still execute the command that I have typed in, but I'm just curious to what that message means. Should I edit something in the sudoers file?

  2. Please note that some Linux distros, e.g. Debian, do not come with the sudo command installed, but rather forces the user to switch to root manually.
    To install the sudo command on Debian, e.g., run "su" and type the ROOT password (not your normal user password), which was determined at installation of Debian, and hit [enter]. After that, run the command **"apt-get install sudo"**. Now, run "exit" to log back into the normal user account (i.e. not root). From now on, you should be able to use the command "sudo" exactly as demonstrated in the video.

  3. This is a very good tutorial but i have a question if I tried to remove a folder/file in my root username it's always will pop out  rm: remove regular file `documents'? and this happen when am using root user name but when i used regular user name it will delete. What do I do

Leave a Reply

Your email address will not be published.