Skip to content

shutdown

Safely shut down or reboot a Linux system from the command line, including immediate actions, scheduling, cancellation, and user notifications.


Shutdown in 1 minute

shutdown    

Immediately shut down

shutdown now "Cya later"

Reboot in 1 minute

shutdown --reboot

Immediately reboot

shutdown -r now "Cya later"

Reboot in 5 minutes

shutdown -r +5 "Cya later"

Cancel a shutdown or reboot

shutdown -c

Schedule shutdown server

shutdown -r +5 "Server will restart in 5 minutes. Please save your work."