What is SUDO ?

In Linux, sudo (short for "superuser do") is a command that allows users to run commands with the privileges of another user, typically the superuser or root user. By default, many commands in Linux require root privileges to execute, but using sudo allows users to perform these actions without logging in as the root user, which can help to enhance the security of the system.

The sudo command works by checking a configuration file called /etc/sudoers, which lists the users and groups that are allowed to use sudo, as well as the commands and privileges that they are allowed to execute. When a user runs a command with sudo, they are prompted to enter their own password, rather than the root password, and if the user is authorized to run the command, it is executed with the specified privileges.