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.
#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:
shutdown -h 60: means to shut down the computer after 60 minutes.
shutdown -h 22:00: Indicates shutting down at 10 pm.
shutdown -r 30: Indicates to restart the system after 30 minutes.
shutdown -r 08:00: Indicates restarting the system at 8 am.
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!