User:Johannbg/QA/Systemd/Halt

From FedoraProject

< User:Johannbg | QA/Systemd
Revision as of 08:58, 22 July 2010 by Johannbg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Name

halt, poweroff, reboot — Halt, power-off or reboot the machine

Synopsis

halt [OPTIONS...]

poweroff [OPTIONS...]

reboot [OPTIONS...]

Description

halt, poweroff, reboot may be used to halt, power-off or reboot the machine.

Options

The following options are understood:

--help

Prints a short help text and exits.

--halt

Halt the machine, regardless which one of the three commands is invoked.

-p, --poweroff

Power-off the machine, regardless which one of the three commands is invoked.

--reboot

Reboot the machine, regardless which one of the three commands is invoked.

-f, --force

Force immediate halt, power-off, reboot. Don't contact the init system.

-w, --wtmp-only

Only write wtmp shutdown entry, don't actually halt, power-off, reboot.

-d, --no-wtmp

Don't write wtmp shutdown entry.

-n, --no-sync

Don't sync hard disks/storage media before halt, power-off, reboot.

--no-wall

Don't send wall message before halt, power-off, reboot.

Exit status

On success 0 is returned, a non-zero failure code otherwise.

Notes

These are legacy commands available for compatibility only.

See Also

systemd(1), systemctl(1), shutdown(8), wall(1)