LinuxQuestions.org

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

j0eh4x 11-10-2010 10:46 AM

shutdown command
 
Ok so its ny understanding that if I want to shutdown now I type "shutdown -h now" but what about if I want to shutdown later ? I tried "shutdown -h later" sat there for ten hours and it never shut down :( the next day I tried "shutdown -h in about ten minutes" still nothing, I'm getting frustrated that my dum dum linux box won't do what I tell it to....I think I'm gunna go back to mac.... LOLZ

cparapat 11-10-2010 11:15 AM

Quote:

Originally Posted by j0eh4x (Post 4154868)
Ok so its ny understanding that if I want to shutdown now I type "shutdown -h now" but what about if I want to shutdown later ? I tried "shutdown -h later" sat there for ten hours and it never shut down :( the next day I tried "shutdown -h in about ten minutes" still nothing, I'm getting frustrated that my dum dum linux box won't do what I tell it to....I think I'm gunna go back to mac.... LOLZ

First of all, please let us know what is your environment have exactly. Is it Ubuntu, Centos, or something ? . Try to use "shutdown -P -h" command to make the power off.

jdkaye 11-10-2010 11:17 AM

Try typing at the command line
Code:

man shutdown
You will see that the parameter time +10 will tell shutdown to wait 10 min before shutting down.
jdk

colucix 11-10-2010 11:18 AM

Well... only the word "now" is an accepted alias, otherwise the time specification can be HH:MM or +M. The former is the absolute time in 24h format, the latter is the number of minutes to wait. Said that you can decide at which hour the system must go down:
Code:

shutdown -h 20:30
or how many minutes to wait before shutdown:
Code:

shutdown -h +600
where +600 means ten hours. Please, see man shutdown for details.

senthilvael 11-10-2010 11:21 AM

Quote:

Originally Posted by j0eh4x (Post 4154868)
Ok so its ny understanding that if I want to shutdown now I type "shutdown -h now" but what about if I want to shutdown later ? I tried "shutdown -h later" sat there for ten hours and it never shut down :( the next day I tried "shutdown -h in about ten minutes" still nothing, I'm getting frustrated that my dum dum linux box won't do what I tell it to....I think I'm gunna go back to mac.... LOLZ

Hmmmm... Please check the following link..

http://www.cyberciti.biz/faq/shutdow...inux-computer/

also "man shutdown" will help you for sure...

j0eh4x 11-10-2010 12:34 PM

This forum post was initially a joke to say that mac users are dumb, lol but the linux community prevails again with a timely response thanx guys


All times are GMT -5. The time now is 12:11 AM.