Solved

Unix Shutdown

Posted on 2000-03-01
2
437 Views
Last Modified: 2010-04-21
From a complete Unix novice - What's the correct procedure for powering down a Unix server?
0
Comment
Question by:grahamsilversides
2 Comments
 
LVL 3

Accepted Solution

by:
RobWMartin earned 50 total points
ID: 2573386
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
 

Author Comment

by:grahamsilversides
ID: 2573422
Thanks!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question