This command triggers the halt procedure.
halt [ -h ] [ -a ] [ -f|F ] [ -m message ] [ -t time ] [ -W ] when
This command triggers the halt procedure immediately if when is omitted.
The when provided must be on these formats:
/etc/66/shutdown.allow
is currently logged in (as tracked by utmp). /etc/66/shutdown.allow
is a text file which accepts one user per line. Lines starting with # are commented out.-f
but do not sync the filesystems.SIGTERM
and the SIGKILL
at the end of the halt sequence when it is time to kill all processes (allows processes to receive SIGTERM
to exit cleanly). The default is 3
seconds.Halts the system.
66 halt
Halts a broken system
66 halt -f
Halts the system after 10 minutes
66 halt 10
Sends an "system will be halted in 10 minutes" to connected account and halt the system after 10 minutes
66 halt -m "system will be halted in 10 minutes" 10