ubuntu shutdown and restart commands

Shutdown:

1, poweroff: immediately shut down

2, shutdown -h now: immediately shut down

3, shutdown -h 10: 10 minutes after the automatic shutdown

Set off by the shutdown command, shutdown -c command can be canceled by

 

Restart:

1, reboot: reboot immediately

2, shutdwon -r 10: 10 minutes after the automatic restart

3, shutdown -r 17:05: at 17:05 restart

 

 

It draws in part to: https: //www.cnblogs.com/jiu0821/p/8420672.html

Guess you like

Origin www.cnblogs.com/xiangsui/p/11607321.html