Re: Shutdown command with -t secs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Sep 2005 08:21:17 -0700 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?

Maybe the man page which says:

| NAME
|       shutdown - bring the system down
|
| SYNOPSIS
|       /sbin/shutdown [-t sec] [-arkhncfF] time [warning-message]
 ..
|       time   When to 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.
 
The time is in minutes. Maybe you want
                        sleep 10 ; shutdown -h now
 
 
 --Frank Elsner


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux