Shutdown, restart, logoff in Linux
1.1 Turn off the machine
Shutdown shut down the machine
Expected hope, expect
Shutdown 1 A minute, turn it off.
Cancel Cancellation
Shutdown-h now shut down immediately.
Shutdown-h shutdown after 100 minutes
Shutdown-h now
Halt
Halt-p
Poweroff Stop the system immediately and power off
Halt immediately stop the system and require manual power-down (common production)
Poweroff immediately shut down, no warning, direct shutdown
Init 0 switch run level to 0
1.2 Restart
Reboot Restart Now
Shutdown-r Restart after 100 minutes
Shutdown-r now reboot
Shutdown-h 10-h ===== Halt immediately shut down the machine
Shutdown-r 10-r ===== reboot
Shutdown-c Cancel
1.3 Logoff (exiting the current user)
Logout
Exit
CTRL + D shortcut keys Logout
This article is from the "Heyong" blog, make sure to keep this source http://heyong.blog.51cto.com/13121269/1955236
Shutdown, restart, logoff in Linux