Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

shutdown

Safely shut down the system

Syntax

shutdown [OPTION]... TIME [MESSAGE]

Common Options

-hHalt/power off
-rReboot
-cCancel scheduled shutdown
-kSend warning only
nowShutdown immediately
+mShutdown in m minutes

Common Examples

shutdown -h now

Shutdown immediately

shutdown -r now

Reboot immediately

shutdown -h +10 "维护中"

Shutdown in 10 mins with message

shutdown -c

Cancel scheduled shutdown

shutdown -k now "测试"

Send test warning

Related Tools

More Code & Dev Tools