LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 30
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
 
Old 12-21-2004, 02:52 PM   #2
black hole sun
Member
 
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
nick_th_fury
Member
 
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
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 443

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

should of rtfm first.


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

Rep: Reputation: 15
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.
 
  


Reply


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/Novell 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:30 AM.

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