Shutdown command with -t secs

Mike McCarty mike.mccarty at sbcglobal.net
Wed Sep 28 16:08:40 UTC 2005


Barry Yu wrote:
> I intended to shutdown the system in 10 second when issued command ; 
> shutdown -h -t secs 10, and I got the result displayed;
> The system is going DOWN for halt in 10 minutes! (Actually 10 seconds 
> are what I want)
> Have I missed something?
> 

You wanted

# shutdown -h -t 10 now

The -t secs is the delay between the message and the shutdown.

The time parameter is when to issue the message, and is an
absolute time, or +nn where nn is the number of minutes to
wait, or is "now".

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the users mailing list