Skip to main content

Super User

The superuser (also called root) has full control over the system. You can switch to root or run commands with administrative privileges.

CommandDescription
sudo commandRun a command as superuser
suSwitch to the root user
whoamiShow the current username

Example:

sudo apt update

System asks for your password, then runs the command with superuser rights.