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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-31-2003, 04:21 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 20
Rep:
|
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
|
|
|
07-31-2003, 04:23 PM
|
#2
|
Member
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133
Rep:
|
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??)
|
|
|
07-31-2003, 04:29 PM
|
#3
|
LQ Newbie
Registered: Jun 2003
Posts: 20
Original Poster
Rep:
|
Is halt as safe as the shutdown cmd?
|
|
|
07-31-2003, 04:42 PM
|
#4
|
Member
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133
Rep:
|
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)
|
|
|
07-31-2003, 04:46 PM
|
#5
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
If you really (badly) need to use shutdown do:
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!)
|
|
|
07-31-2003, 05:20 PM
|
#6
|
Member
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133
Rep:
|
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.
|
|
|
07-31-2003, 05:21 PM
|
#7
|
Member
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46
Rep:
|
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.
|
|
|
07-31-2003, 07:25 PM
|
#8
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Rep:
|
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 ;-)
|
|
|
07-31-2003, 11:18 PM
|
#9
|
Member
Registered: Jul 2003
Location: China
Distribution: Red Hat, SuSE and Novell Linux Desktop
Posts: 96
Rep:
|
try this command
halt -p
|
|
|
07-31-2003, 11:19 PM
|
#10
|
Member
Registered: Jul 2003
Location: China
Distribution: Red Hat, SuSE and Novell Linux Desktop
Posts: 96
Rep:
|
if u want to reboot,use this command:
reboot
|
|
|
07-31-2003, 11:25 PM
|
#11
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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 
|
|
|
08-03-2003, 06:04 AM
|
#12
|
LQ Newbie
Registered: Jun 2003
Posts: 20
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|