haltsystemdDeveloperLennartPoetteringlennart@poettering.nethalt8haltpoweroffrebootHalt, power-off or reboot the machinehalt OPTIONSpoweroff OPTIONSreboot OPTIONSDescriptionhalt,
poweroff, reboot
may be used to halt, power-off or reboot the
machine.OptionsThe following options are understood:Prints a short help
text and exits.Halt the machine,
regardless of which one of the three
commands is invoked.Power-off the machine,
regardless of which one of the three
commands is invoked.Reboot the machine,
regardless of which one of the three
commands is invoked.Force immediate halt,
power-off, reboot. Do not contact the
init system.Only write wtmp
shutdown entry, do not actually halt,
power-off, reboot.Do not write wtmp
shutdown entry.Do not send wall
message before
halt, power-off, reboot.Exit statusOn success 0 is returned, a non-zero failure
code otherwise.NotesThese are legacy commands available for
compatibility only.See Alsosystemd1,
systemctl1,
shutdown8,
wall1