Shutdown command with -t secs

jludwig wralphie at comcast.net
Wed Sep 28 22:08:09 UTC 2005


On Wednesday 28 September 2005 12:08, Mike McCarty wrote:
> 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!
What is all this "now" crap!

I'm lazy shutdown -h -t 10 0
The zero works as well as now (zero time equals now).




More information about the fedora-list mailing list