19 | sudo command

Linux Command Line Tutorial


  1. In this tutorial, we will learn how to use sudo command.
  2. The sudo command allows you to run programs as another user, by default the root user.
  3. Sudo is one of the commands you use very often if you spend a lot of time on the command line.
  4. Using sudo as root instead of login is better since you can give individual users restricted administrative rights without knowing the root password.