LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2005, 06:47 PM   #1
colincannon
LQ Newbie
 
Registered: Jun 2005
Location: Louisville, KY
Distribution: Debian Woody
Posts: 12

Rep: Reputation: 0
shutting down?


What do I do if I want to shut down my system. Is there command prompt command or what?
 
Old 06-22-2005, 06:48 PM   #2
newbsabott
LQ Newbie
 
Registered: Jun 2005
Posts: 19

Rep: Reputation: 0
"start menu" --> logoff, choose shutdown system, in suse 9.2 running KDE it's like that...
 
Old 06-22-2005, 06:53 PM   #3
colincannon
LQ Newbie
 
Registered: Jun 2005
Location: Louisville, KY
Distribution: Debian Woody
Posts: 12

Original Poster
Rep: Reputation: 0
I don't have a start menu. Can I shut down from the command prompt? I am using debian and I think it loads gnome but I did not see a shutdown command on there either.
 
Old 06-22-2005, 07:35 PM   #4
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
The command is shutdown.

So for example to power down the system right now I would type:

shutdown -h now

The -h means halt, now means.... now

There are other options (reboot, etc). man shutdown for those.

Zack
 
Old 06-22-2005, 08:42 PM   #5
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Command line is best way to go. Some systems require root to run shutdown in case you're having trouble with that.
 
Old 06-22-2005, 09:03 PM   #6
colincannon
LQ Newbie
 
Registered: Jun 2005
Location: Louisville, KY
Distribution: Debian Woody
Posts: 12

Original Poster
Rep: Reputation: 0
I typed shutdown - h now and it looked as if it was going to power down and it displayed a few messages and then ended with the words "power down". I went ahead and pushed the button myself. Is there a command that actually turns the computer off or do you always have to push the button?
 
Old 06-22-2005, 09:08 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Sounds like you don't have APM working correctly then. It may be as simple as starting apmdt.
 
Old 06-23-2005, 12:20 AM   #8
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
I use acpi, and that calls an "acpi-shutdown" after the poweroff. Yes it's possible, it depends on what hardware you have, as to which one you'll use.

Last edited by microsoft/linux; 06-23-2005 at 12:22 AM.
 
Old 06-23-2005, 12:41 AM   #9
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Rep: Reputation: 30
do this:

1. pico /etc/rc.d/rc.modules

2. remove the leading '# ' in the line ' /sbin/modprobe apm

3. add #modprobe apm a line below
 
  


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
shutting down xNerox Linux - General 1 07-27-2004 03:28 PM
Shutting Down emperorjordan Mandriva 1 02-23-2004 02:10 PM
Shutting Down X Aljaber Slackware 8 11-09-2003 02:00 AM
Shutting Down PlatinumRik Linux - Networking 7 06-09-2003 08:18 AM
Shutting down odin123 Linux - Hardware 1 09-27-2002 07:24 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration