LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

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%
Multiple Choice Poll. Voters: 58. You may not vote on this poll

Reply
 
Search this Thread
Old 11-30-2010, 11:48 PM   #1
Kenny_Strawn
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
Blog Entries: 62

Rep: Reputation: 55
I'm done here!


What is your preferred command for shutting down the system? Please explain your votes.
 
Old 11-30-2010, 11:53 PM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,380

Rep: Reputation: 180Reputation: 180
I never use sudo, only su and sometimes su -
shutdown -H now fills the bill.
 
Old 12-01-2010, 05:35 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Ctrl-Alt-Del which runs 'shutdown -h now'. No, I don't use sudo.
 
Old 12-01-2010, 06:58 AM   #4
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 500

Rep: Reputation: 56
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.
Old 12-01-2010, 07:03 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled
shutdown -h now, if I'm in runlevel 3.
KDE main menu -> Leave -> Shutdown, if I'm in runlevel 4.
 
Old 12-01-2010, 07:09 AM   #6
GazL
Senior Member
 
Registered: May 2008
Posts: 3,477

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I just press the power button on the front of my case. ACPI does the rest.
 
Old 12-01-2010, 07:12 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by teebones View Post
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.
 
Old 12-01-2010, 07:21 AM   #8
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 547

Rep: Reputation: 115Reputation: 115
Code:
poweroff
 
Old 12-01-2010, 08:24 AM   #9
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 853

Rep: Reputation: Disabled
Changed the /etc/inittab and ctrl+alt+del powers the pc off.
 
Old 12-01-2010, 08:48 AM   #10
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
shutdown -h if I am trying to impress someone otherwise just the powerbutton.
 
Old 12-01-2010, 08:59 AM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled
Quote:
Originally Posted by Larry Webb View Post
shutdown -h if I am trying to impress someone otherwise just the powerbutton.
Good answer.
 
Old 12-01-2010, 09:07 AM   #12
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,380

Rep: Reputation: 180Reputation: 180
I remember using "park".
 
Old 12-01-2010, 09:37 AM   #13
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 12-01-2010, 09:38 AM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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 .........!
 
Old 12-01-2010, 09:43 AM   #15
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
heh, thanks
 
  


Reply

Tags
halt, init, 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 On
HTML code is Off



All times are GMT -5. The time now is 09:11 AM.

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