POWEROFF(8)

๐Ÿ’– POWEROFF, REBOOT, HALT โ€” the girlies of shutdown ๐Ÿ’–

okay so real talk, this is page POWEROFF(8) from the poweroff manual, and it's genuinely the most "am I done with my homework or am I done with my whole computer" energy in the whole systemd family. stay with me bestie, it's gonna slay ๐Ÿ’…


โœจ NAME โœจ

poweroff, reboot, halt โ€” power off, reboot, or halt the machine. three icons, one destiny, no cap ๐ŸŽ€


โœจ SYNOPSIS โœจ

poweroff [OPTIONS...]

reboot [OPTIONS...]

halt [OPTIONS...]

look at them. three little besties standing in a row. same [OPTIONS...] energy for all three, because they're literally the same command wearing different outfits โœจ


โœจ DESCRIPTION โœจ

so poweroff, reboot, and halt may be used to power off, reboot, or halt the machine. that's it. that's the whole vibe. ๐Ÿ’€

and the best part? all three commands take the same options. so you don't have to memorize three separate flag lists like some kind of 2011 sysadmin. one list, three commands, we love an efficient queen ๐Ÿ‘‘


โœจ OPTIONS โœจ

the following options are understood:

  • --help โ€” prints a short help text and exits. the "hi bestie, here's what I do, bye" option ๐Ÿซถ

Added in version 253.

  • --halt โ€” halts the machine, regardless of which one of the three commands is invoked. so like, even if you typed reboot, this says "no babe, we're halting." main character behavior fr fr ๐Ÿ”ฅ

Added in version 253.

  • -p, --poweroff โ€” powers off the machine, when either halt or poweroff is invoked. this option is ignored when reboot is invoked. so reboot is out here like "not listening ๐Ÿ’…"

Added in version 253.

  • --reboot โ€” reboots the machine, regardless of which one of the three commands is invoked. the "have you tried turning it off and on again, but make it only the on again" option ๐ŸŒˆ

Added in version 253.

  • -f, --force โ€” forces immediate power-off, halt, or reboot. if specified, the command does not contact the init system. in most cases, filesystems are not properly unmounted before shutdown ๐Ÿ˜ญ for example, the command reboot -f is mostly equivalent to systemctl reboot -ff, instead of systemctl reboot -f.
๐Ÿšจ bestie please read that again: -f skips the init system and in most cases your filesystems are not properly unmounted before shutdown. that is not a vibe. that is a "hope you saved your essay" situation. ngl this is the chaotic option and it knows it ๐Ÿ’€

Added in version 253.

  • -w, --wtmp-only โ€” only writes the wtmp shutdown entry. does not actually power off, reboot, or halt. it's giving "I filled out the form but I'm not actually going" ๐Ÿ™ˆ

Added in version 253.

  • -d, --no-wtmp โ€” do not write wtmp shutdown entry. the opposite girlie of the one above. she does the thing but leaves no receipts ๐Ÿฆ‹

Added in version 253.

  • -n, --no-sync โ€” do not sync hard disks/storage media before power-off, reboot, or halt. your storage media is out here living on a prayer. lowkey scary, highkey iconic ๐Ÿ˜ญ

Added in version 253.

  • --no-wall โ€” do not send wall message before power-off, reboot, or halt. so nobody gets the "hey everyone we're shutting down" announcement. stealth mode unlocked ๐Ÿคซ

Added in version 253.


โœจ EXIT STATUS โœจ

on success, 0 is returned, a non-zero failure code otherwise. classic. clean. exactly what you'd expect from a well-behaved lil utility ๐Ÿ’–


โœจ NOTES โœจ

these commands are implemented in a way that preserves basic compatibility with the original SysV commands. so they speak fluent Old Unix while still living in the modern era ๐Ÿงš

systemctl(1) verbs poweroff, reboot, halt provide the same functionality with some additional features. so like, same energy, more features. a glow-up, honestly โœจ

โš ๏ธ bestie this part is important: note that on many SysV systems halt used to be synonymous to poweroff, i.e. both commands would equally result in powering the machine off. systemd is more accurate here, and halt results in halting the machine only (leaving power on), and poweroff is required to actually power it off. so if you're on an old SysV box and you type halt expecting the power to go off, surprise! the machine is just sitting there. power on. staring at you. ๐Ÿซ  periodt.

โœจ SEE ALSO โœจ

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

the whole friend group. go read them, they're all slay ๐Ÿ’œ


okay that's the whole page, no skips, no gatekeeping ๐ŸŒธ and for the credits portion of our group chat: this beauty comes from systemd 259.10 and it's POWEROFF(8) โ€” that's the manual name right there near the top, and it's the same one holding it down at the bottom. mwah ๐Ÿ’‹ bye bestie, go shut down responsibly ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from
  • fedora 44: systemd 259.10-1.fc44 ยท LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms