LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-21-2007, 06:00 AM   #1
MarConsult
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
Angry How to shutdown


Hi guys,

I am new to LINUX and have just installed FEDORA 6 (Fedora 7 didn't want to instal) and when starting it up I could find no means of shutting down.

Question:
1) what is the regular way to shutdown from LINUX
2) is there any LINUX tutorial explaining the basics, such as this one?

Thanks for your kind assistance

MarConsult
 
Old 06-21-2007, 06:12 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
From the cmd line as root:
shutdown
or from the GUI it's under menu System/Shut down

Edit: Try reading this : http://rute.2038bug.com/index.html.gz

Last edited by chrism01; 06-21-2007 at 06:20 AM.
 
Old 06-21-2007, 06:15 AM   #3
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
Hi and welcome.

Shutdown is usually achived using commands such as shutdown or poweroff as root. These commands usually point to /sbin/halt so you could alternatively use command such as
Code:
# halt -p
instead of poweroff.

If the shutdown sequence stops before the end (such as with message "powering down...") then you need to configure your power management. Two most used solutions are APM (advanced power management) and it's successor ACPI (advanced configuration and power interface). I myself prefer apm since it seems more basic and simplier for me. You could try modifing your /etc/rc.d/rc.modules (actually I have no idea what startup system Fedora uses so it might not be there) and uncomment the # before apm. That will load apm every time the computer starts. If you'd like to activate apm right away, you should use the command
Code:
# modprobe apm
Also use the command "man" to find out more about stuff. For example in that case both
Code:
$ man halt
and
Code:
$ man apm
would be useful to you.

I'm not behind my Linux box right now and I'm rather new myself so there might be some mistakes or inconsitencies, if there are, let me know. Someone else will probably explain you more, this is what I know.

fakeedit: Well chrism01 basically already explained everything : D

Last edited by kummiliim; 06-21-2007 at 06:16 AM.
 
Old 06-21-2007, 01:07 PM   #4
gregorian
Member
 
Registered: Apr 2006
Location: India
Posts: 473

Rep: Reputation: 33
That shutdown command never worked for me. It always says going into maintenance mode. I always use init 0
 
Old 06-21-2007, 01:16 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
halt in root console works just about in every distro as far as I can tell.

However in Fedora Core 6 desktop it is just clicking

"system"

"shut down..."

and

"shut down" again

Last edited by saikee; 06-21-2007 at 01:19 PM.
 
Old 06-22-2007, 09:36 AM   #6
aktar
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Rep: Reputation: 0
Shutting down linux

Quote:
Originally Posted by gregorian
That shutdown command never worked for me. It always says going into maintenance mode. I always use init 0

Shutdown alone will not work
you need to do shudown -h <specify time in secs OR just type now> => shutdown -h now
 
  


Reply

Tags
shut, shutdown


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
'shutdown now' successful, 'shutdown -r now' fails Stomatella Linux - Hardware 4 05-23-2006 10:45 PM
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 07:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 06:21 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 01:00 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 10:44 AM


All times are GMT -5. The time now is 02:30 PM.

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