
/shutdown-command-587958c65f9b584db38cff91.png)
Shutdown provides various options that you can use to either shut down your system immediately or schedule a shutdown.
COMMAND SHUTDOWN TIMER HOW TO
In this tutorial, we learned how to use the shutdown command to power down or reboot your Linux system.

Sends a warning message to the users and disables all system logins.

You can not specify a time with this option, but you can broadcast a custom message for the system users. Sends a request to power off the system after bringing the system down.Ĭancels any scheduled shutdown. Sends a request to halt the system after bringing the system down. Sends a request to either halt or power off the system after bringing the system down. The following table some of the useful options that you can use with the shutdown command: Optionsīrings down your system and requests for a system reboot. Use shutdown without any options to shut down the system after one minute: sudo shutdown This is the default behavior of the shutdown command. The following examples show you some of the most common usages of Linux shutdown command: 1. Halts and turns off the system at a specified time.īrings down the system and then powers it off. The following table lists some of the most useful shutdown commands: Commands Shutdown provides several options and variations that you can use to perform different options. message denotes a comment or message that you want to broadcast to all the logged-in users.You can use this parameter to schedule a shutdown or reboot. time denotes when to execute the command.option denotes the operation that you want to perform, such as power-off (default option), halt, or reboot.The basic syntax of this command is as follows: shutdown This command also prevents new users from logging in after the shutdown process starts. When you run the Linux shutdown command-line tool, then all running applications are closed, active system processes are saved, and all currently logged-in users are notified about the shutdown operation. Shutdown can also be used to reboot your computer system. Use this command in Linux for system shutdown either immediately or at a specific time. The shutdown command is used to securely shut down the system.
