|
|
Up |
|
|
  |
Author: jidannijidanni Date: Feb 9, 2008 15:52
Gentlemen, Dr. Evil has typed
# sleep 666; rm -rf /
on my keyboard and went off to buy milkshakes.
How can I stop the impending doom?
C-c C-c, but some files still will get hurt.
There is no break key etc. The computer is not nearby.
|
| |
|
| | 21 Comments |
|
  |
Author: CarbonCarbon Date: Feb 9, 2008 16:17
On Sun, 10 Feb 2008 07:52:17 +0800, jidanni wrote:
> Gentlemen, Dr. Evil has typed
> # sleep 666; rm -rf /
> on my keyboard and went off to buy milkshakes. How can I stop the
> impending doom?
> C-c C-c, but some files still will get hurt. There is no break key etc.
> The computer is not nearby.
Log in on another terminal and kill the session
skill -1 pts/0 # or whatever
|
| |
|
| | no comments |
|
  |
Author: Glenn JackmanGlenn Jackman Date: Feb 9, 2008 19:58
At 2008-02-09 07:17PM, "Carbon" wrote:
> On Sun, 10 Feb 2008 07:52:17 +0800, jidanni wrote:
>
>> Gentlemen, Dr. Evil has typed
>> # sleep 666; rm -rf /
>> on my keyboard and went off to buy milkshakes. How can I stop the
>> impending doom?
>> C-c C-c, but some files still will get hurt. There is no break key etc.
>> The computer is not nearby.
>
> Log in on another terminal and kill the session
>
> skill -1 pts/0 # or whatever
And as more than 11 minutes and 6 seconds elapsed between the question
and the answer, the conclusion must be: "Nevermind"
--
Glenn Jackman
"You can only be young once. But you can always be immature." -- Dave Barry
|
| |
| no comments |
|
  |
Author: slakmagikslakmagik Date: Feb 10, 2008 12:44
On 2008-02-09 Sat 22:58:10, Glenn Jackman wrote:
> At 2008-02-09 07:17PM, "Carbon" wrote:
>> On Sun, 10 Feb 2008 07:52:17 +0800, jidanni wrote:
>>
>>> Gentlemen, Dr. Evil has typed
>>> # sleep 666; rm -rf /
>>> on my keyboard and went off to buy milkshakes. How can I stop the
>>> impending doom?
>>> C-c C-c, but some files still will get hurt. There is no break key etc.
>>> The computer is not nearby.
>>
>> Log in on another terminal and kill the session
>>
>> skill -1 pts/0 # or whatever
>
> And as more than 11 minutes and 6 seconds elapsed between the question
> and the answer, the conclusion must be: "Nevermind"
>
>
Yep, too late, but I just read this and my suggestion would have been to ...
|
| Show full article (0.81Kb) |
| no comments |
|
  |
Author: Stephane ChazelasStephane Chazelas Date: Feb 11, 2008 02:03
On Sun, 10 Feb 2008 07:52:17 +0800, jidanni@ jidanni.org wrote:
> Gentlemen, Dr. Evil has typed
> # sleep 666; rm -rf /
> on my keyboard and went off to buy milkshakes.
> How can I stop the impending doom?
> C-c C-c, but some files still will get hurt.
> There is no break key etc. The computer is not nearby.
bash is the only shell that will run "rm" if you interrupt
"sleep" with C-c.
All the other shells including the Bourne shell, ksh88, ksh93,
pdksh, zsh, csh, tcsh, rc, es and their derivatives will not
unless Dr. Evil has installed a trap on SIGINT.
With bash, you'll have to kill bash from another shell.
--
Stephane
|
| |
| no comments |
|
  |
Author: colin.macleodcolin.macleod Date: Feb 11, 2008 03:48
On 11 Feb, 10:03, Stephane Chazelas
wrote:
> On Sun, 10 Feb 2008 07:52:17 +0800, jida...@ jidanni.org wrote:
>> Gentlemen, Dr. Evil has typed
>> # sleep 666; rm -rf /
>> on my keyboard and went off to buy milkshakes.
>> How can I stop the impending doom?
>> C-c C-c, but some files still will get hurt.
>> There is no break key etc. The computer is not nearby.
>
> bash is the only shell that will run "rm" if you interrupt
> "sleep" with C-c.
And if it's bash you can stop it with ctrl-Z, then kill %%1.
|
| |
| no comments |
|
  |
Author: Casper H.S. DikCasper H.S. Dik Date: Feb 11, 2008 04:12
>On 11 Feb, 10:03, Stephane Chazelas
>wrote:
>> On Sun, 10 Feb 2008 07:52:17 +0800, jida...@ jidanni.org wrote:
>>> Gentlemen, Dr. Evil has typed
>>> # sleep 666; rm -rf /
>>> on my keyboard and went off to buy milkshakes.
>>> How can I stop the impending doom?
>>> C-c C-c, but some files still will get hurt.
>>> There is no break key etc. The computer is not nearby.
>>
>> bash is the only shell that will run "rm" if you interrupt
>> "sleep" with C-c.
>And if it's bash you can stop it with ctrl-Z, then kill %%1.
No you can't because bash will stop the "sleep" and then run the
job.
|
| Show full article (1.01Kb) |
| no comments |
|
  |
Author: Martin KrischikMartin Krischik Date: Feb 11, 2008 04:33
Stephane Chazelas schrieb:
> On Sun, 10 Feb 2008 07:52:17 +0800, jidanni@ jidanni.org wrote:
>> Gentlemen, Dr. Evil has typed
>> # sleep 666; rm -rf /
>> on my keyboard and went off to buy milkshakes.
>> How can I stop the impending doom?
>> C-c C-c, but some files still will get hurt.
>> There is no break key etc. The computer is not nearby.
>
> bash is the only shell that will run "rm" if you interrupt
> "sleep" with C-c.
>
> All the other shells including the Bourne shell, ksh88, ksh93,
> pdksh, zsh, csh, tcsh, rc, es and their derivatives will not
> unless Dr. Evil has installed a trap on SIGINT.
>
> With bash, you'll have to kill bash from another shell.
Ahh, another one for my my list: "Why do I use Z-Shell and not bash like
everybody else".
|
| Show full article (0.93Kb) |
| no comments |
|
  |
Author: colin.macleodcolin.macleod Date: Feb 11, 2008 04:44
On 11 Feb, 12:12, Casper H.S. Dik Sun.COM> wrote:
>>And if it's bash you can stop it with ctrl-Z, then kill %%1.
>
> No you can't because bash will stop the "sleep" and then run the
> job.
>
> $ bash
> bash-3.2$ sleep 10 ; echo foo
> ^Z
> [1]+  Stopped         sleep 10
> foo
> bash-3.2$
Argh! - and I tried this, but didn't look closely enough at the
output :-(
|
| |
| no comments |
|
  |
|
|
  |
Author: Kenny McCormackKenny McCormack Date: Feb 11, 2008 06:04
In article <47b01d68$0$860$ba4acef3@news.orange.fr>,
Stephane Chazelas wrote:
>On Sun, 10 Feb 2008 07:52:17 +0800, jidanni@ jidanni.org wrote:
>> Gentlemen, Dr. Evil has typed
>> # sleep 666; rm -rf /
>> on my keyboard and went off to buy milkshakes.
>> How can I stop the impending doom?
>> C-c C-c, but some files still will get hurt.
>> There is no break key etc. The computer is not nearby.
>
>bash is the only shell that will run "rm" if you interrupt
>"sleep" with C-c.
>
>All the other shells including the Bourne shell, ksh88, ksh93,
>pdksh, zsh, csh, tcsh, rc, es and their derivatives will not
>unless Dr. Evil has installed a trap on SIGINT.
>
>With bash, you'll have to kill bash from another shell.
Bug or feature?
|
| Show full article (0.80Kb) |
| no comments |
|
RELATED THREADS |
  |
|
|
|
|
|