Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-21-2004, 02:45 PM   #1
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 446

Rep: Reputation: 30
turning off slackware?

when i type the command
$>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?

Old 12-21-2004, 02:52 PM   #2
black hole sun
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
shutdown -h now

-h is for halt

Last edited by black hole sun; 12-21-2004 at 02:58 PM.
Old 12-21-2004, 02:55 PM   #3
Registered: Jun 2003
Location: Texas
Distribution: Slackware, NetBSD
Posts: 151

Rep: Reputation: 23
try 'halt'

I use halt, & it powers off the computer.
Old 12-21-2004, 02:59 PM   #4
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 446

Original Poster
Rep: Reputation: 30
cool, thats pretty easy,

should of rtfm first.

Old 12-21-2004, 03:00 PM   #5
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15

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


Power down

before you shut off the computer.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Turning gui alexr186 SUSE / openSUSE 5 12-09-2004 02:34 AM
Turning off updatedb kidicarus Red Hat 5 10-11-2004 05:25 AM
Turning off the gui? bcf2 Mandriva 5 09-17-2004 05:05 PM
turning off dfownz Slackware 1 01-14-2004 07:53 PM
hardrive turning off sillybean Linux - Hardware 9 02-18-2003 07:48 PM

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration