LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   shutdown (https://www.linuxquestions.org/questions/linux-newbie-8/shutdown-4175431068/)

Asadullah Sadat 10-08-2012 02:26 AM

shutdown
 
Dear all i am respectfully asking this,
which shutdown would be safe for my Operating system
1) init 0
2) shutdown_-h_now

thanks for your continual cooperation.

brianL 10-08-2012 04:15 AM

With no underscores:
Code:

shutdown -h now

gopinathnatarajan 10-08-2012 06:04 AM

Hi Asadullah Sadat,

To safely shutdown your computer just use the below command.

===============
shutdown -h now
===============

be sure that you're logged in as the root user and enter the command.


All times are GMT -5. The time now is 05:55 PM.