LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   turning off slackware? (http://www.linuxquestions.org/questions/slackware-14/turning-off-slackware-268893/)

djgerbavore 12-21-2004 02:45 PM

turning off slackware?
 
when i type the command
Code:

$>shutdown now
it just logs off. but i want to actually shut off my computer not just log off, is there a command or a script that i can run/write to do a graceful shutdown of my computer?

thanks,
djgerbavore

black hole sun 12-21-2004 02:52 PM

shutdown -h now

-h is for halt

nick_th_fury 12-21-2004 02:55 PM

try 'halt'

I use halt, & it powers off the computer.

djgerbavore 12-21-2004 02:59 PM

cool, thats pretty easy,

should of rtfm first.


thanks
djgerbavore

rivang 12-21-2004 03:00 PM

From http://www.linux.org/lessons/beginner/l5/lesson5a.html

Shutdown for a single computer
The most common way of shutting down a single user Linux system is for you as root to issue the command:

shutdown -h now

You use this when you plan on shutting your computer off at that moment, as opposed to some later time.

You'll see a message like:

Linux is going for system halt NOW

It will start to shut off programs that you're computer is using and you'll see it all happening. That's because Linux is a transparent system. It lets you see everything it's doing. It won't give you a simple message telling you to wait and then another one telling you you can shut it off now. If something is causing a problem, it will tell you about it when it starts up and when it shuts down. That way, if you are having a problem, you may be able to track it down. If you don't know how to solve it, you can tell another person what you saw and he or she may be able to help you.

With the shutdown -h now command, you must wait until you see the message:

System halted

or

Power down

before you shut off the computer.


All times are GMT -5. The time now is 07:18 PM.