Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
View Poll Results: What is your preferred command for shutting down the system?
sudo init 0
8
13.79%
sudo halt
11
18.97%
sudo /etc/init.d/halt stop
1
1.72%
sudo shutdown -H now
40
68.97%
11-30-2010, 10:48 PM
#1
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Rep:
I'm done here!
What is your preferred command for shutting down the system? Please explain your votes.
11-30-2010, 10:53 PM
#2
Senior Member
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,204
Rep:
I never use sudo, only su and sometimes su -
shutdown -H now fills the bill.
12-01-2010, 04:35 AM
#3
Guru
Registered: Oct 2005
Posts: 11,388
Ctrl-Alt-Del which runs 'shutdown -h now'. No, I don't use sudo.
12-01-2010, 05:58 AM
#4
Member
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 500
Rep:
that's not a common behavior.. ctrl + Alt + Del on most distro's executes "shutdown -r now", not "-h".
1 members found this post helpful.
12-01-2010, 06:03 AM
#5
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 13.37 // Desktop: Slackware64 13.37 // Netbook: Slackware 13.37
Posts: 5,478
shutdown -h now , if I'm in runlevel 3.
KDE main menu -> Leave -> Shutdown , if I'm in runlevel 4.
12-01-2010, 06:09 AM
#6
Senior Member
Registered: May 2008
Posts: 2,375
I just press the power button on the front of my case. ACPI does the rest.
12-01-2010, 06:12 AM
#7
Guru
Registered: Oct 2005
Posts: 11,388
Quote:
Originally Posted by
teebones
that's not a common behavior.. ctrl + Alt + Del on most distro's executes "shutdown -r now", not "-h".
Yes, I changed it in inittab. I rarely need to restart.
12-01-2010, 06:21 AM
#8
Member
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 486
Rep:
12-01-2010, 07:24 AM
#9
Member
Registered: Aug 2007
Location: India, Pune
Distribution: Debian, Vector Linux, Slackware
Posts: 602
Rep:
Changed the /etc/inittab and ctrl+alt+del powers the pc off.
12-01-2010, 07:48 AM
#10
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,062
shutdown -h if I am trying to impress someone otherwise just the powerbutton.
12-01-2010, 07:59 AM
#11
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 13.37 // Desktop: Slackware64 13.37 // Netbook: Slackware 13.37
Posts: 5,478
Quote:
Originally Posted by
Larry Webb
shutdown -h if I am trying to impress someone otherwise just the powerbutton.
Good answer.
12-01-2010, 08:07 AM
#12
Senior Member
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,204
Rep:
I remember using "park".
12-01-2010, 08:37 AM
#13
Guru
Registered: Oct 2005
Posts: 11,388
My power button is under a panel, and is hard to reach, that's why I use Ctrl-Alt-Del. This combo also exits fluxbox.
12-01-2010, 08:38 AM
#14
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 7,514
sudo??
I use ctrl-alt-del most of the time.
Inittab entry is changed to: ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now , besides root, only 1 other user has the power to shut down the system.
@mlangdn: park, I remember that command too!!
@H_TeXMeX_H: Happy birthday to you, happy birthday to you, happy .........!
12-01-2010, 08:43 AM
#15
Guru
Registered: Oct 2005
Posts: 11,388
heh, thanks
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 11:24 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