Home  >  Article  >  Operation and Maintenance  >  What is the linux scheduled shutdown command?

What is the linux scheduled shutdown command?

小老鼠
小老鼠Original
2024-03-04 15:29:151318browse

In Linux, the scheduled shutdown command is the shutdown command. This command allows administrators to shut down the system at a specified time. Commonly used scheduled shutdown commands: 1. shutdown -h 60: means to shut down the system after 60 minutes; 2. shutdown -h 22:00: means to shut down the system at 10 o'clock in the evening; 3. shutdown -r 30: means to restart the system after 30 minutes ;4. shutdown -r 08:00: means restarting the system at 8 o'clock in the morning, etc.

What is the linux scheduled shutdown command?

#In Linux, the scheduled shutdown command is the shutdown command. This command allows administrators to shut down the system at a specified time. The following are some examples of commonly used scheduled shutdown commands:

  1. shutdown -h 60: means to shut down the computer after 60 minutes.

  2. shutdown -h 22:00: Indicates shutting down at 10 pm.

  3. shutdown -r 30: Indicates to restart the system after 30 minutes.

  4. shutdown -r 08:00: Indicates restarting the system at 8 am.

  5. shutdown -c: Cancel the scheduled shutdown or restart task.

Please note that the scheduled shutdown command usually requires root or administrator privileges to execute.

The above is the detailed content of What is the linux scheduled shutdown command?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn