LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   whats the diffrence between shutdown and halt commands??? (https://www.linuxquestions.org/questions/linux-newbie-8/whats-the-diffrence-between-shutdown-and-halt-commands-512204/)

Fond_of_Opensource 12-20-2006 04:29 AM

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...

jschiwal 12-20-2006 05:35 AM

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.


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