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

Linux halt command

Linux halt command

Linux Command Reference Linux Command Reference

If the system runlevel is 0 or 6, the Linux halt command shuts down the system; otherwise, it is replaced by the shutdown command (with the -h parameter).

Permission required: system administrator.

Syntax

halt [-n] [-w] [-d] [-f] [-i] [-p]

Parameter Description:

Example

Shut down the system

# halt

Shut down the system and turn off the power

# halt -p

Shut down the system without leaving a record

# halt -d

Linux Command Reference Linux Command Reference