Command-line shutdown options
Contributed by: Scot Hacker
This tip is valid for:
Both BeOS and Haiku
If you’re already in Terminal, there’s no need to reach for the mouse to shut down via the Deskbar. Just issue the command shutdown with one of the following flags:
shutdown -r (restart after shutdown)
shutdown -q (shutdown now without asking if open docs should be saved)
shutdown -d xx (where xx is the number of seconds to wait before initating shutdown — this lets you time the shutdown, e.g. to shut down in five minutes, use shutdown -d 300).
Posted in Terminal