linux shutdown command summary

  When we use linux, many people are often the same as the window shut, in fact, such a shutdown method for linux is very good, this is not conducive linux, may also result in the loss of some of the documents, then what in the command It is shut down it?

  Common linux shutdown command has: shutdown, halt the like; restart command is generally used: reboot.

  Restart command

  reboot reboot

  (Following several normally root)

  shutdown -r now immediately restart

  shutdown -r 10 automatically restart than 10 minutes

  shutdown -r 22:22 to 22:22 in time when restart

  shutdown -c cancel restart

  Shutdown command

  halt shutdown

  poweroff immediately shut down

  shutdown -h now immediately shut down

  shutdown -h 5 5 minutes after the automatic shutdown

  Personally, I usually use the reboot command to reboot, shutdown for general use shutdown -h now, personal habits, in fact, can, just do not like that kind off like a window

Guess you like

Origin www.cnblogs.com/songtianfa/p/11233579.html