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 which one of the three
commands is invoked.Power-off the machine,
regardless which one of the three
commands is invoked.Reboot the machine,
regardless which one of the three
commands is invoked.Force immediate halt,
power-off, reboot. Don't contact the
init system.Only write wtmp
shutdown entry, don't actually halt,
power-off, reboot.Don't write wtmp
shutdown entry.Don't 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