Getting Root Privileges
Learn to understand Linux root privileges and how to safely use the sudo command to run tasks as a superuser. This lesson explains the syntax, options, and practical examples to help you manage system commands with administrator rights.
We'll cover the following...
Linux has a robust permission system. It is quite brilliant, in the sense that it offers a clear distinction among ordinary users and a super user. However, to perform certain tasks, especially the ones that affect the files on your system, you might require administrator priveldges. It is recommended to handle root tasks with extreme care in order to prevent any accidental damage to your system.
sudo lets you run commands with root access in your own user account.
sudo
Definition:
sudo is the short for “superuser do”. It allows the user with proper permissions to execute a command as a superuser or another user.