Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-20-2006, 05:29 AM   #1
Registered: May 2006
Posts: 55

Rep: Reputation: 15
Exclamation whats the diffrence between shutdown and halt commands???

hi friends,

whats the diffrence between shutdown and halt, poweroff commands??? what is standby mode???

pls reply.
Thanks in advance...

Last edited by Fond_of_Opensource; 12-20-2006 at 05:37 AM.
Old 12-20-2006, 06:35 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Shutdown -h will change to init level 0 and has other options such as notifying users that the system is going down. I think that running shutdown will end up running halt once run level 0 is reached. One thing the halt command can do is park ide drives which will flush the drives' write buffers. Look in the shutdown and halt manpages for more definitive information. It is better to use the shutdown command instead of halt. As a matter of fact, shutdown checks if you are in init level 0 and if not, it calls the shutdown command.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
external halt/shutdown button sharadshankar Programming 3 05-17-2006 12:03 PM
I lost the halt command and the shutdown!!!! mago Slackware 7 05-07-2005 06:20 AM
; && -- questions... whats the diffrence?? trey85stang Linux - Newbie 2 05-12-2004 02:32 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM
halt, shutdown, and reboot HappyDude Linux - Software 29 07-24-2003 03:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration