The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
  

shutdown - Shutdown system





Shutdown is a system command, so most Linux distributions require superuser privileges to execute it. The basic syntax is shutdown [OPTIONS] [TIME] [MESSAGE].

Some important options include:

The time parameter can be specified in different formats, such as:

Examples:
# shutdown -h 10:08 ←Specify that the system will shut down at 10:08
# shutdown +3 "System will shutdown after 5 minutes" ←Specify that the system will shut down in 3 minutes and notify other logged-in users

For more examples and usage, please refer to the provided link.