Solved

Unix Shutdown

Posted on 2000-03-01
2
432 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 149
OpenView NNM: Global Manager to Regional Manager connection fails 7 56
Virtualizing TAPE on dual VIOS 3 78
unix example issues 18 75
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

896 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now