LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-10-2010, 10:46 AM   #1
j0eh4x
Member
 
Registered: Dec 2005
Distribution: Ubuntu Lucid Lynx, BT5
Posts: 84

Rep: Reputation: 2
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
 
Old 11-10-2010, 11:15 AM   #2
cparapat
LQ Newbie
 
Registered: Jun 2010
Location: Indonesia
Distribution: Mac OS X, Centos, OpenSuSE, Redhat, FreeBSD.
Posts: 26

Rep: Reputation: 0
Quote:
Originally Posted by j0eh4x View Post
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.
 
Old 11-10-2010, 11:17 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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

Last edited by jdkaye; 11-10-2010 at 11:19 AM.
 
Old 11-10-2010, 11:18 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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.
 
Old 11-10-2010, 11:21 AM   #5
senthilvael
Member
 
Registered: Nov 2007
Posts: 73

Rep: Reputation: 17
Smile

Quote:
Originally Posted by j0eh4x View Post
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...
 
Old 11-10-2010, 12:34 PM   #6
j0eh4x
Member
 
Registered: Dec 2005
Distribution: Ubuntu Lucid Lynx, BT5
Posts: 84

Original Poster
Rep: Reputation: 2
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
 
  


Reply



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
'shutdown' command causing unclean shutdown silentwol Linux - Software 3 07-01-2009 02:01 AM
shutdown command DR.V Red Hat 2 12-10-2005 07:32 PM
shutdown command Oakstaff Linux - Newbie 8 11-18-2003 09:47 PM
shutdown command nelly_boy Linux - Software 11 08-03-2003 06:04 AM
Shutdown Command? AMDPwred Linux - General 1 01-25-2002 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:26 AM.

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