Linux Commands | Misc | shutdown Shut Down the System

shutdown Command

The shutdown command is commonly used to shut down the system.

Usage

shutdown [options] time [message]

Options

  • -t n: Specifies n seconds after the -t option. Sends a warning message, then sends a kill signal after n seconds.
  • -h: Executes halt during shutdown.
  • -r: Reboots after completing system shutdown.
  • -c: Cancels an already scheduled shutdown.
  • -k: Performs all actions normally, but does nothing when it is time to shut down the system. It means “just kidding”.

Shut Down Immediately

[kimkc@localhost home]$ shutdown now
==== AUTHENTICATING FOR org.freedesktop.login1.power-off ===
Authentication is required for powering off the system.
Authenticating as: root
Password: