Look no further than "man shutdown".
"shutdown -r now".....reboots the system
"shutdown -h now".....if ATX then shuts down and powers off
"reboot"..............reboots the system

Rob

>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of FemmeFatale
>> Sent: Sunday, February 02, 2003 9:52 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: [newbie] Is there a way to Powerdown/Off the computer a
>> =?iso-8859-1?q?l? = =?us-ascii?Q?a
>> Winsucks=20with=20a=20cmd=20on=20the=20CLI=20or?= Gui?
>> 
>> 
>> At 03:17 AM 2/3/2003 +0100, you wrote:
>> >Hi.
>> >
>> >Just a minor clarification on the usage of halt/powerdown/shutdown.
>> >
>> >halt (and also reboot) calls shutdown to do the work in the common
>> >case, so there is no difference in using halt for the 08/15 user.
>> >
>> >powerdown is a link to halt and will act the same in the common
>> >case, i.e. run shutdown.
>> >
>> >In other words, it does not matter whether you call powerdown, halt or
>> >shutdown, they all end up executing shutdown.
>> >
>> >reboot acts the same, except that it calls shutdown with -r instead
>> >of -h.
>> >
>> >I don't know if there is a point to make what is the Right Thing to
>> >do. Once, it was clearly shutdown, but today...? At least for
>> >multi-user systems you should still use shutdown, because of the
>> >timeout and message before rebooting. (Yes, you should give other
>> >users time to save. Yes, really.).
>> >
>> >Regards,
>> >
>> >         Benjamin.
>> >
>> >
>> >PS: And, which should be clear by now, which one you use has nothing
>> >     to do at all with whether the hardware really turns off itself.
>> 
>> Thx Mr. Benjamin.  That little bit of info is extremely helpful!!!  Its 
>> precisely the info I was looking to find out.  I had suspected before I 
>> sent the original post that what you're telling me would likely be the 
>> case.  (Hm twisted sentence structure; lousy grammar; no attempt @ 
>> clarification?  Yep, I'm stoned again. :D  )
>> 
>> As always I thank you for your insights.
>> -------------
>> FemmeFatale
>> 
>> Good Decisions You boss Made:
>> "We'll do as you suggest and go with Linux. I've always liked that
>> character from Peanuts."
>> 
>> - Source: Dilbert
>> 
>> 
>> 
>> 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to