Shutdown a Server

Posted on 2004-03-20
Last Modified: 2010-04-20
Hi ya all,

I am a Microsoft boy and I don't know anything about linux. we have a server at the corp office, and tomorrow we have a scheduled power outage from 6.:00 AM to 2:00 PM.
I need to shutdown this server brfore the power goes off and then something bad may happen to the data in it.

what command should I use to shut it down?

any help will be appreciated.

Question by:mjalmassud
  • 2

Accepted Solution

troopern earned 250 total points
ID: 10641748
shutdown -h now will bring it down.
shuttdown -p will turn power of it support fo this is enabled in the kernel.

Author Comment

ID: 10641979
Thanks a lot buddy

Expert Comment

ID: 10642066
Your welcome.

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

863 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

20 Experts available now in Live!

Get 1:1 Help Now