Well, it is a nice good test. I had to soft reboot machine with the
reboot command with lots of patient(I did not want to loose my data or
corrupted file system by hard rebbot.)
Well I would say in that case as Sridhar noted in his mail
>if my guess is right, it's a fork bomb.
>> How to prevent this fork bomb in linux. I think in solaris, these things are
>> prevented by default.
>It's done by setting appropriate values in /etc/security/limits.conf.
>Unfortunately any distro. that I know sets some sesible defaults for non-root
>users..
>Bye
> Shridhar
in this /etc/security/limits.conf added this line, and tried, well no problem this time
* hard nproc 100
:) very good for a bad laugh.
USM Bish wrote:
>On Thu, Sep 12, 2002 at 03:15:25PM +0530, Dr. Sharukh K. R. Pavri. wrote:
>
>
>>I found this in someone's email sig. I wrote to him asking
>>what it is but did not recieva a reply.
>>
>>
>>
>
>Very unlikely you will get a response ... he probably wants
>your first-hand expressions, and abuses !
>
>
>
>>bash$ :(){ :|:&};:
>>
>>could somebody please enlighten me *before* I run it at the
>>bash prompt ?
>>
>>
>>
>
>Not quite sure, but the expected output will be a "locked" up
>console, which will not accept any further keystrokes ... May
>have to do a 3-finger salute or even a reset drill !
>
>Components here are:
>
>a) The colon ":", which has no effect beyond expanding args
> and performing any specified redirections. In this case a
> null arg state is presented "()".
>
>b) This is followed up by a { list } or group command which
> is semi-colon terminated, essentially does nothing more
> than placing the ":|:" as a background process as a recu-
> rsive measure (&). I can't decipher this ":|:" ....
>
>The likely result is a lot of [1] 2456 [2] 2457 etc type of
>self terminating background processes being thrown up so
>fast that even ^C or Ctrl-Alt-Del may not work ...
>
>That is what I make of it. Not very sure though ....
>
>Anybody tried it ?
>
>Bish
>
>--
>:
>####[ GNU/Linux One Stanza Tip (LOST) ]#######################
>
>Sub : bash keystrokes (#1) LOST #334
>
>C-a : beginning of line C = Ctrl key
>C-e : end of line M = Meta/ Alt key
>M-b : backward-word
>M-f : forward-word
>
>####<[EMAIL PROTECTED]>######################################
>:
>
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>linux-india-help mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/linux-india-help
>
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help