Re: Correct usage of -t in shutdown?

2011-05-17 Thread Burhan Hanoglu
On Mon, May 16, 2011 at 9:45 PM, Alex Lardner linuxtu...@gmail.com wrote:
 Hello,
 I am stumped over how to use -t during shutdown. I tried:

 shutdown -t 60 System going down in one minute!

 and

 shutdown -t 60 now System going down in one minute!

 but neither worked as expected. Help me, please!

What is the expectation? If it is to shutdown after a minute, replace
now with actual time when you want the system to shutdown. For
example:

shutdown -h 12:34 System going down in one minute!

For further information;

man shutdown

Regards,
Burhan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTimcq+pOQ2XdWyK7t5t=nwmgl9z...@mail.gmail.com



Correct usage of -t in shutdown?

2011-05-16 Thread Alex Lardner

Hello,
I am stumped over how to use -t during shutdown. I tried:

shutdown -t 60 System going down in one minute!

and

shutdown -t 60 now System going down in one minute!

but neither worked as expected. Help me, please!
Thanks,
Alex


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/alpine.deb.2.00.1105161843320.1...@debian.magnolia.oaks



Re: Correct usage of -t in shutdown?

2011-05-16 Thread Michael Checca

On 05/16/2011 09:45 PM, Alex Lardner wrote:

Hello,
I am stumped over how to use -t during shutdown. I tried:

shutdown -t 60 System going down in one minute!

and

shutdown -t 60 now System going down in one minute!

but neither worked as expected. Help me, please!
Thanks,
Alex




The -t option is to set the delay between warning and kill signal 
shutdown time (no -t) is what you want, where time is a [hh:]mm time value.

From the man page for shutdown:
The  time  argument  can  have  different formats.  First, it can be an 
absolute time in the format hh:mm, in which hh is the hour (1 or 2 
digits)  and mm is the minute of the hour (in two digits).  Second, it 
can be in the format +m, in which m is the number of minutes to wait The 
word now is an alias for +0.


--
Michael Checca


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dd1df13.4050...@gmail.com