LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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



Poll: What is your preferred command for shutting down the system?
Be advised that this is a public poll: other users can see the choice(s) you selected.
Poll Options
What is your preferred command for shutting down the system?

You must log in and have one post to vote in this poll. If you don't have an account, you can register here.
Results will be available after the polls close.

The nominees are:

sudo init 0
sudo halt
sudo /etc/init.d/halt stop
sudo shutdown -H now

Reply
 
Search this Thread
Old 12-15-2010, 11:30 AM   #46
X.Cyclop
Member
 
Registered: Jun 2006
Location: Tlv
Distribution: Arch!
Posts: 120

Rep: Reputation: 21

I use (su -) shutdown -h +1.
 
Old 12-15-2010, 01:39 PM   #47
Latios
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 115

Rep: Reputation: 21
from kde

su -c init 0

alt ctl del, then switch off the power as soon as i hear the click of the stopped hard drive



Back when i used Gentoo and manually startx'ed into kde i wrote /bin/init.sh (the real init is /sbin/init)
Code:
#!/bin/bash
sudo init $1
so i could write init 0 as user. Now i usually shut down from within kde so dont mind typing some more when i am in the vt which is not often (i usually use konsole and not real vt)
 
Old 12-15-2010, 02:04 PM   #48
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 609

Rep: Reputation: 218Reputation: 218Reputation: 218
I like the simplicity of 'halt.'

Somehow I can't shake the idea now that "Issuing 'shutdown -h now' command is the best practice for production environment."

It's inexplicable.

Last edited by foodown; 12-15-2010 at 02:06 PM.
 
Old 12-16-2010, 12:47 AM   #49
prodev05
Member
 
Registered: Jul 2009
Location: Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
Sorry H_TeXMeX_H, For making big fonts


foodown If you are really experienced and you know what you are doing with commands, then you are right . Because its your experience and your understanding about the halt commands. Its not inexplicable, because situations varies up on using commands(shutdown or halt)


Who ever want to use their commands can use. But before that please read the man page one.


Thanks
 
Old 12-16-2010, 12:55 AM   #50
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 609

Rep: Reputation: 218Reputation: 218Reputation: 218
Quote:
Originally Posted by prodev05 View Post
Sorry H_TeXMeX_H, For making big fonts


foodown If you are really experienced and you know what you are doing with commands, then you are right . Because its your experience and your understanding about the halt commands. Its not inexplicable, because situations varies up on using commands(shutdown or halt)
I apologize, man.

I was just trying to make light of the big fonts situation.

For the record, you are correct in your assertion (I think).

@Kenny:
Out with it already! What more are you dying to share with us about '/etc/init.d/halt stop'?
 
Old 12-16-2010, 12:58 AM   #51
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
Quote:
Originally Posted by Kenny_Strawn View Post
And what do you use to watch movies on the computer? Do you have a TV tuner card (that actually works under Linux) or do you watch on the Internet?

I do have a digital TV card but I am not using it yet. It is not because of Linux, at least I can't blame Linux right now. My building for some reason has a lot of interference for over the air signals, analog and digital.

So all my stuff comes from the internet for now or movies I ripped onto my hard drive.
 
Old 12-21-2010, 02:34 AM   #52
digsecurity
Member
 
Registered: Apr 2010
Posts: 54

Rep: Reputation: 18
poweroff
 
1 members found this post helpful.
Old 12-21-2010, 04:41 AM   #53
prodev05
Member
 
Registered: Jul 2009
Location: Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
foodown hey buddy no need to apologies.

I almost spend half of my carrier for training and deployment. So I can describe bit in-depth :P

About approach:

Not every one will think in the same way, its human nature. Its about approaching the idea in different route and reaching the same destination. Understanding differs upon peoples thinking. Some body will understand concepts very easily and some body will think and pickup later. We all are included in that.

best regards,


Its all in the Game ;-)

Last edited by prodev05; 12-21-2010 at 04:48 AM.
 
Old 12-21-2010, 05:33 AM   #54
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by prodev05 View Post
SIZE="6" Issuing "shutdown -h now" command is the best practice for production environment
/SIZE
Please edit the SIZE=6 out, i.e. back to normal. It would complete the apology you made in post 49

Everyone else: Please don't quote or ridicule something like this, report it.


Demonstration, I like gray, or sometimes silver, for softening the tone something that might hurt feelings:
This is what I was going to say before I read your apology -- It hurts my eyes & lowers, not raises, your credibility. Notice how you derailed the thread for several posts lesson learned, "deleted".

Last edited by archtoad6; 12-21-2010 at 05:36 AM.
 
Old 12-21-2010, 05:58 AM   #55
prodev05
Member
 
Registered: Jul 2009
Location: Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
Quote:
Originally Posted by archtoad6 View Post
Please edit the SIZE=6 out, i.e. back to normal. It would complete the apology you made in post 49

Everyone else: Please don't quote or ridicule something like this, report it.


Demonstration, I like gray, or sometimes silver, for softening the tone something that might hurt feelings:
This is what I was going to say before I read your apology -- It hurts my eyes & lowers, not raises, your credibility. Notice how you derailed the thread for several posts lesson learned, "deleted".
Sorry for the biggest font I've done the changes.
 
Old 12-21-2010, 06:48 AM   #56
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Thank you, I appreciate the co-operation.

H_TeXMeX_H, Kenny_Strawn, leopard: go ye & do likewise.

All: Please notice that druuna took time to edit the big font out of the quoted post in his reply.
 
Old 12-21-2010, 06:59 AM   #57
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
@archtoad6:
 
Old 12-21-2010, 07:07 AM   #58
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
I shall evangelize the way of the small font. Thank you, O moderator archtoad6, ye hath given me mercy.

 
Old 12-21-2010, 07:49 AM   #59
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
leopard, Thanks both for the LOLAOTF, & taking my comments in the spirit they were intended. & please do edit your post, too. TIA.

For this who care:
LOLAOTF='LOL' + "Amost On The Floor"

Last edited by archtoad6; 12-21-2010 at 07:51 AM.
 
Old 12-21-2010, 07:51 AM   #60
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
No commands. Added a button to gnome panel to shutdown the system. I just click the red icon and system is down.
 
  


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 12:19 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration