[ale] "shutdown -r now" vs "init 6" vs "reboot"
Christopher Coleman
Christopher.Coleman at nsc.com
Tue Sep 20 10:17:41 EDT 2005
According to the man page the -t is optional. But you must specify the
time. Time could be "now" or a numeric value. 10 is used to specify the
time to wait before shutting down the system.
J. Cary Howell wrote:
> shutdown -r -t 10 "System reboot; please logout now"
>
> might work a little better for you.
>
>
>
> On Mon, 2005-09-19 at 16:54 -0400, Christopher Coleman wrote:
>
>>The commands reboots the system immediately without providing users with
>>time to close their apps. They work fine on single user systems. On
>>multi-user systems, shutdown is used to send a message to users
>>indicating the system is going down and give them time to log out.
>>
>>shutdown -r 10 "system reboot; logout now"
>>
>>Will reboot the system in 10 minutes. The message in quotes will be sent
>>to all logged in users once every minute. When the time is under a
>>minute remaining, the message will be sent every few seconds.
>>
>>Jimmy Oliver wrote:
>>
>>>Which is the preferred way to reboot a linux box? I have always used
>>>init 6. The box in question is a RHEL 3 install. My understanding
>>>of the RedHat init scripts was that shutdown just called init 6
>>>anyway. Can someone give the preferred method, and detail the
>>>differences between the 3?
>>>
>>>
>>>Thanks,
>>>-Jimmy
>>>_______________________________________________
>>>Ale mailing list
>>>Ale at ale.org
>>>http://www.ale.org/mailman/listinfo/ale
>>>
>>>
>>
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>>http://www.ale.org/mailman/listinfo/ale
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Christopher.Coleman.vcf
Type: text/x-vcard
Size: 320 bytes
Desc: not available
More information about the Ale
mailing list