powerdown - stop all processes and halt the system
powerdown [ -y | -Y ]
This command brings the system to a state where nothing is running so the
power can be turned off.
By default, the user is asked questions that control how much warning the
other users are given. The options:
-y prevents the questions from being asked and just gives the warning
messages. There is a 60 second pause between the warning messages.
-Y is the same as -y except it has no pause between messages. It is
the fastest way to bring the system down.
some-long-running-command; powerdown -y
The first command is run to completion and then the system is halted.
This is useful for, say, formatting a document to the printer at the end
of a day.
/etc/shutdown - invoked by powerdown
PPPPaaaaggggeeee 1111 [ Back ]