Post #225,161
9/17/05 10:14:17 AM
|
Woo, that was close
Typed in "sudo halt".
Finger moving towards [Enter].
Looking over shoulder to see why the kids are yelling at each other.
Miss the [Enter] key.
Look back.
Find [Enter] key and re-aim finger.
Notice I'm still on Knight.
Meept!
===
Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats]. [link|http://DocHope.com|http://DocHope.com]
|
Post #225,163
9/17/05 10:28:56 AM
|
You would never have been allowed to forget it.
Peter [link|http://www.no2id.net/|Don't Let The Terrorists Win] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Home] Use P2P for legitimate purposes!
|
Post #225,164
9/17/05 10:56:04 AM
|
Been there, done that
I was loading a SPARCstation and had several xterm windows open to various other machines (as root , of course, young punk that I was).
Anyway, when the install was over I clicked on a window with the root prompt and typed:
reboot
It took me a few moments to realize that this window was logged into our main production server. (Hey, I *said* I was young and stupid, didn't I?)
Despite my size and (lack of) shape, I made record time going downstairs to give my fellow sysadmins the heads-up and try to minimze the damage.
Tom Sinclair
"While I'm still confused and uncertain, it's on a much higher plane, d'you see, and at least I know I'm bewildered about the really fundamental and important facts of the universe." Treatle nodded. "I hadn't looked at it like that," he said, "But you're absolutely right. He's really pushed back the boundaries of ignorance." -- Discworld scientists at work (Terry Pratchett, Equal Rites)
|
Post #225,171
9/17/05 11:29:19 AM
|
yup I have ingrained hostname reboot because of same
"the reason people don't buy conspiracy theories is that they think conspiracy means everyone is on the same program. Thats not how it works. Everybody has a different program. They just all want the same guy dead. Socrates was a gadfly, but I bet he took time out to screw somebodies wife" Gus Vitelli
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free american and do not reflect the opinions of any person or company that I have had professional relations with in the past 49 years. meep questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
|
Post #225,177
9/17/05 11:37:32 AM
|
Solution:
sudo su -c visudoarrow down to the line that says something like: drook ALL=(ALL) ALL Do: dd:wqHavink to be worrink about deece evermore, is not problem. Also bastard, using halt is not proper. Sure it works and all, but shutdown -h now is better because it does more betterer job of stopping things and then calls halt iself.
-- [link|mailto:greg@gregfolkert.net|greg], [link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey [image|http://www.danasoft.com/vipersig.jpg||||]
|
Post #225,348
9/18/05 7:02:08 PM
|
Stoopid noob question
What does shutdown do more nicely? What's the ratio of theoretical to practical in that answer?
===
Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats]. [link|http://DocHope.com|http://DocHope.com]
|
Post #225,350
9/18/05 7:06:17 PM
|
graceful vs halt
graceful shutdown means that stop scripts are used to shut down applications rather than just cutting all processes down while a process may be in the middle of an important job. thanx, bill
"the reason people don't buy conspiracy theories is that they think conspiracy means everyone is on the same program. Thats not how it works. Everybody has a different program. They just all want the same guy dead. Socrates was a gadfly, but I bet he took time out to screw somebodies wife" Gus Vitelli
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free american and do not reflect the opinions of any person or company that I have had professional relations with in the past 49 years. meep questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
|
Post #225,381
9/18/05 10:04:06 PM
|
What Box said.
Halt just kills stuff.
Shutdown goes through the proper init levels and the halts.
-- [link|mailto:greg@gregfolkert.net|greg], [link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey [image|http://www.danasoft.com/vipersig.jpg||||]
|
Post #225,181
9/17/05 11:47:53 AM
|
That's one reason I use "sudo su"
The extra step gives me more time to remember gotchas like that.
Another trick, my default terminal prompt is of the form name@host: so I have lots of reminders about which machine each terminal is on.
Cheers, Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
|
Post #225,346
9/18/05 6:57:09 PM
|
Dude, I'm using color
If that doesn't cue me in, the text of the prompt won't help.
But yes, Greg, I believe I'll be fixing that shortly. Soon as I figger out php/A2. And my vim syntax coloring.
===
Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats]. [link|http://DocHope.com|http://DocHope.com]
|
Post #225,209
9/17/05 3:36:26 PM
|
MEEPT!! and other origins -
The now immortalized 'name' (actual?) of a hyper-prolific poster, flame-bait strewer par excellance: in the first 30 mSec following the Big \ufffd Bang:
Of, maybe even pre- /. daze? - (possibly in other therapy-locales for technowaifs wandering lonely ... on the eidetic Plane ... hoping to play 4-D chess with DEATH (or at least, his granddaughter.))
[link|http://www.everything2.com/index.pl?node_id=71039| This] is one version of the nascence of Comrade MEEPT!!
Are there other versions of the Immaculate Contraception?
Ept Coptic Ptarmigans opt: MEEPT!! Ropts!!
|
Post #225,245
9/18/05 2:41:30 AM
|
Like Ben, I put the host in my prompt.
It's saved me a few missteps!
Wade.
d-_-b
|