how to use sudo command code example
Example 1: install sudo
apt install sudo
Example 2: run command with sudo
Switch to Root User
This command switches your command prompt to the BASH shell as a root user:
sudo bash
apt install sudo
Switch to Root User
This command switches your command prompt to the BASH shell as a root user:
sudo bash