LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-08-2006, 02:23 PM   #1
greggsbluer6
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Rep: Reputation: 0
Unhappy How do you shut down core 6?


I just installed Core 6 and I can not figure out how to shut it down?? Shutdown -h is not a known command and all I can do is logout! If I logout, X closes and Im at the command prompt, if I issue the halt command it starts but never completes and I have to cycle the power.. I will admit that I am a bit of a n00b but its ridiculous that they hide the power off option. Am I supposed to just let it run forever?

Thanks in advance and you CAN stop laughing now by the way...

G
 
Old 11-08-2006, 02:33 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Thanks in advance and you CAN stop laughing now by the way...
No laughing, really, I had shutdown lost when I first tried RedHat, too. Probably it's just not in your $PATH, so you'll need to run it with full path:
Code:
/sbin/shutdown -h
or
Code:
/usr/sbin/shutdown -h
might help. If you still can't found it, try
Code:
locate shutdown
first.

Halt command will halt your pc, but not turn the power off unless ACPI (or something else) is handling the power cutting. Older computers, I remember, didn't turn off automatically, Windows 95 for example just showed a "You can safely shut pc down" -type message after which user had to press the button. Nowadays automatic power management things handle that so that when an operating system wants the power to go down, the machine can do it. See if you have acpi loaded and enabled, firstly.

Also try
Code:
/sbin/poweroff
 
Old 11-08-2006, 02:42 PM   #3
greggsbluer6
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Believe it or not it, shutdown
 
Old 11-08-2006, 02:44 PM   #4
greggsbluer6
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks again!

Believe it or not it, shutdown h with the whole path will not work. Its there but it refuses to work for some reason. I do have good news though, the power off command works great! The last time I used redhat there was a shutdown option in X right? I distinctly remember in redhat 9 if you clicked on the hat icon there was an option to shutdown the system.

Thanks again for you help!!! Now I can turn off my laptop to take it with me 
 
Old 11-08-2006, 04:19 PM   #5
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Rep: Reputation: 31
Quote:
Originally Posted by greggsbluer6
Believe it or not it, shutdown h with the whole path will not work.
first you have to be root to shut it down.
second: for the command shutdown you have to precise the time when it has to shut down. If you want it to shut down immediately, the type: /sbin/shutdown -h now

another command would be: /sbin/init 0
 
  


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
power shut down in core 3 Lar Fedora 7 12-03-2004 06:02 PM
no shut down core 3 K7vta3 Lar Fedora 2 11-24-2004 05:58 PM
cannot shut down greenlinux Mandriva 6 06-17-2004 05:30 PM
shut down won't shut system down taoweijia Linux - General 3 03-03-2004 07:05 PM
Shut it down A-dummy Linux - General 14 08-05-2002 10:03 PM


All times are GMT -5. The time now is 01:53 PM.

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