ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] [Comm] команда в bash
@ 2003-04-02 18:48 Alex
  2003-04-02 19:56 ` [Comm] " Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Alex @ 2003-04-02 18:48 UTC (permalink / raw)
  To: community

Подскажите, что делает команда в bash:

:(){ :|:&};:



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Comm] Re: команда в bash
  2003-04-02 18:48 [Comm] [Comm] команда в bash Alex
@ 2003-04-02 19:56 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2003-04-02 19:56 UTC (permalink / raw)
  To: community

On Wed, Apr 02, 2003 at 10:48:35PM +0400, Alex wrote:
> Подскажите, что делает команда в bash:
> :(){ :|:&};:

fork bomb perversus.  Объявляет и вызывает функцию ":", которая
дергает себя дважды, отпуская каждый раз одну копию в фон.

: () {
	: | : &
};

:

PS: а вообще прикольно, почти перл :)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-02 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-02 18:48 [Comm] [Comm] команда в bash Alex
2003-04-02 19:56 ` [Comm] " Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git