shutdown command means Halt, power-off or reboots the machine. In this tutorial, How to shutdown command in Linux with Examples.

Table of Contents
Syntax
shutdown [OPTION]… TIME [MESSAGE]
On the man page, describe it
- shutdown – bring the system down.
- man shutdown – More details information about the shutdown command.
The shutdown command in Linux with Examples
$ sudo shutdown -h now
#Schedule the system to shut down at 8 A.M.
$ sudo shutdown 8:00
#Schedule the system to shut down in fifteen minutes.
$ sudo shutdown +15 "Upgrading hardware, downtime should be minimal"
#Bring down the system immediately, and automatically reboot it.
$ sudo shutdown -r now
# Bring down the system immediately, and automatically power off the system.
$ sudo shutdown -P now
Related commands
halt – Stop the computer.
poweroff – Stop the computer.
reboot – Stop the computer.
wall – Send a message to all logged-in users.