LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 11-30-2010, 10: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: 54
I'm done here!


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

Rep: Reputation: 124Reputation: 124
I never use sudo, only su and sometimes su -
shutdown -H now fills the bill.
 
Old 12-01-2010, 04:35 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Ctrl-Alt-Del which runs 'shutdown -h now'. No, I don't use sudo.
 
Old 12-01-2010, 05: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, 06:03 AM   #5
brianL
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
Blog Entries: 48

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

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
I just press the power button on the front of my case. ACPI does the rest.
 
Old 12-01-2010, 06:12 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
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, 06:21 AM   #8
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 486

Rep: Reputation: 68
Code:
poweroff
 
Old 12-01-2010, 07:24 AM   #9
honeybadger
Member
 
Registered: Aug 2007
Location: India, Pune
Distribution: Debian, Vector Linux, Slackware
Posts: 602

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

Rep: Reputation: 223Reputation: 223Reputation: 223
shutdown -h if I am trying to impress someone otherwise just the powerbutton.
 
Old 12-01-2010, 07:59 AM   #11
brianL
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
Blog Entries: 48

Rep: Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641
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, 08:07 AM   #12
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,204

Rep: Reputation: 124Reputation: 124
I remember using "park".
 
Old 12-01-2010, 08:37 AM   #13
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
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, 08:38 AM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 7,514
Blog Entries: 1

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
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, 08:43 AM   #15
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:24 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
Open Source Consulting | Domain Registration