sudo's Examples

su command changes the shell to be used as a super user and until you use the exit command you can continue to be the super user

$ sudo shutdown 2
$ sudo shutdown –r 2

Runs a command as another user (usually root).
 

sudo apt update

DevOpsSchool
Typically replies within an hour

DevOpsSchool
Hi there 👋

How can I help you?
×
Chat with Us