Share some common Ubuntu commands. 1 shutdown command the shutdown command seems to be the current user's command by default in the Ubuntu terminal, but it is only a common user. Therefore, you can use sudo-sh in the supervisor to convert it to the administrator root user to execute the command. 1) The shutdown-help command can be used to view how to use the shutdown command. Of course, the manshutdown command can also be used. 2) shutdown-hnow shutdown now 3) shut
Share some common Ubuntu commands.
1 shutdown command
It seems that the commands of the current user are the default commands of Ubuntu, but they are common users. Therefore, you can use sudo-sh in the supervisor to convert them to the administrator root user and execute the commands.
1) shutdown-help
You can view how to use the shutdown command, or use the man shutdown command.
2) shutdown-h now shut down immediately
3) shutdown-r now restart now
4) shutdown-r + 3 restart after three minutes
5) shutdown-h + 3 "The System will shutdown after 3 minutes" Prompt that The user will shut down in three minutes
6) shutdown-r will restart the computer
7) shutdown-r & you can put the task restarted at in the background. You can continue to operate the terminal.