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

Reply via email to