• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 453
  • Last Modified:

Unix Shutdown

From a complete Unix novice - What's the correct procedure for powering down a Unix server?
0
grahamsilversides
Asked:
grahamsilversides
1 Solution
 
RobWMartinCommented:
If your system has it, use the halt command.

The traditional command is

shutdown -h +1 "System is going down!"

where the +1 gives everyone 1 minute after the warning message before shutting down.  The -h says halt the system (i.e. don't reboot). The last arg is the warning message given to users.  If you want it to go down now use the word "now" in place of +1.

0
 
grahamsilversidesAuthor Commented:
Thanks!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now