Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux shutdown command

Linux shutdown command

Linux Command Reference Linux Command Reference

The Linux shutdown command can be used to perform a shutdown procedure, and before shutting down, send messages to all users about programs currently running; shutdown can also be used to reboot.

Permission required: system administrator.

Syntax

shutdown [-t seconds] [-rkhncfF] time [message]

Parameter Description:

Example

Shut down immediately

# shutdown -h now

Shut down after a specified 10 minutes

# shutdown -h 10

Restart the computer

# shutdown -r now

Linux Command Reference Linux Command Reference