LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2003, 05:21 PM   #1
nelly_boy
LQ Newbie
 
Registered: Jun 2003
Posts: 20

Rep: Reputation: 0
shutdown command


Hi

Can anyone tell me the best way to use the `shutdown` cmd to completely power off a RH9 pc?

Thanks

nelly_boy
 
Old 07-31-2003, 05:23 PM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
I just type halt, wait for the messages to end with "System Halted", and press the power button. (Why doesn't it shut off by itself like windows??)
 
Old 07-31-2003, 05:29 PM   #3
nelly_boy
LQ Newbie
 
Registered: Jun 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Is halt as safe as the shutdown cmd?
 
Old 07-31-2003, 05:42 PM   #4
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
safe? my linux machine still works, so i guess so...(I have no clue, but it works without error, and displays [OK] and [FAIL] when closing services, and shutdown has too many extensions that I can't figure out and use)
 
Old 07-31-2003, 05:46 PM   #5
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
If you really (badly) need to use shutdown do:
Code:
# shutdown -h now
It should poweroff the computer just as if you did it form within X, unlike halt that will only do that: halt the system without powering it off (I've noticed it depends on your hardware and mother board configurations, but shutdown -h now works for me at least!)
 
Old 07-31-2003, 06:20 PM   #6
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
So thats how it works....why does the man page have to be so formal and confusing??? If only it had something like: "For average people who want to shutdown normally, type: ...." that would be so much easier.
 
Old 07-31-2003, 06:21 PM   #7
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Rep: Reputation: 15
I just use shutdown now . Once its killed all running processes and daemons, I just press the power button. Seems to work fine for me.
 
Old 07-31-2003, 08:25 PM   #8
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
since all LQ messages are archived, maybe one day on google someone will want help on shutdown command that wants to know how to restart the computer

hello google user

just type shutdown -r now

and it'll reboot ;-)
 
Old 08-01-2003, 12:18 AM   #9
mking007
Member
 
Registered: Jul 2003
Location: China
Distribution: Red Hat, SuSE and Novell Linux Desktop
Posts: 96

Rep: Reputation: 15
try this command

halt -p
 
Old 08-01-2003, 12:19 AM   #10
mking007
Member
 
Registered: Jul 2003
Location: China
Distribution: Red Hat, SuSE and Novell Linux Desktop
Posts: 96

Rep: Reputation: 15
if u want to reboot,use this command:


reboot
 
Old 08-01-2003, 12:25 AM   #11
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
Quote:
Originally posted by jqcaducifer
So thats how it works....why does the man page have to be so formal and confusing??? If only it had something like: "For average people who want to shutdown normally, type: ...." that would be so much easier.
just because you say this i am going to quote a comment in a Linux Unleashed book i own (its old packed with slack 3.0 )

Quote:
The man page for passwd is actually quite understandable. Be warned, however, that man pages are often written in a very formal and stylized way that sometimes bears little resemblance to English. This is done not to baffle people, but to cram a great detail of information into as short a description as possible.

For example, try man ls. Notice how many options are available for ls and how long it takes to explain them.

Although it can take practice (and careful reading!) to understand the man pages, once you get used to them, the first thing you'll do when you encounter a strange command is call up the man page for that command
so theres one of many explanations for why they are the way they are
 
Old 08-03-2003, 07:04 AM   #12
nelly_boy
LQ Newbie
 
Registered: Jun 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for all your replys. The man pages werent very helpful which is why i had to ask. The halt command worked fine.

nelly_boy
 
  


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
Shutdown command? MikeZila Linux - Newbie 7 07-27-2008 06:09 PM
shutdown command xviddivxoggmp3 Red Hat 5 05-12-2004 05:48 PM
shutdown command mikedelo Linux - Software 7 03-15-2004 09:37 AM
shutdown command Oakstaff Linux - Newbie 8 11-18-2003 10:47 PM
Shutdown Command? AMDPwred Linux - General 1 01-25-2002 09:43 PM


All times are GMT -5. The time now is 02:54 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