sudo meaning

Sun, 03 May 2026 13:57:09 +0000

81 sudo lets you run commands in your own user account with root privileges. su lets you switch user so that you're actually logged in as root. sudo -s runs a shell with root privileges. sudo -i. sudo bash & sudo sh: Anything after the sudo is a program to run - so in these cases you are asking to run a couple of shells - bash and dash respectively. use man bash and man sh for more details on. sudosudo sudo sudo"substitute user. In that case, use: sudo su - to execute a login shell as root after auhenticating sudo, and that shell will not need sudo to run admin commands. To return to the normal user shell, insert the command exit.