:(){ :|:& };:

Iniciado por FGPkeys, Mayo 12, 2014, 02:49:33 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Hola.
Hace un tiempo, en una discusión sobre música en Linux, un fanático de Apple, con por lo visto conocimiento de sistemas, aseguraba que era una pérdida de tiempo usar Linux con éste propósito. Terminó sugiriéndome que escribiera en la terminal el siguiente código: ":(){ :|:& };:" (sin comillas), algo así como "Vete a la mierda".
Simplemente quisiera saber qué es lo que hace este comando.
Gracias.

Mayo 12, 2014, 03:07:30 PM #1 Ultima modificación: Mayo 12, 2014, 03:09:54 PM por fermino
Al parecer te quería trollear:
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta
No tienes permitido ver los links. Registrarse o Entrar a mi cuenta

Código: php
:(){ :|:& };:
\_/| |||| ||\- ... the function ':', initiating a chain-reaction: each ':' will start    two more.
| | |||| |\- Definition ends now, to be able to run ...
| | |||| \- End of function-block
| | |||\- disown the functions (make them a background process), so that the children    of a parent
| | |||   will not be killed when the parent gets auto-killed
| | ||\- ... another copy of the ':'-function, which has to be loaded into memory.
| | ||   So, ':|:' simply loads two copies of the function, whenever ':' is called
| | |\- ... and pipe its output to ...
| | \- Load a copy of the function ':' into memory ...
| \- Begin of function-definition
\- Define the function ':' without any parameters '()' as follows:


;)
Visita mi blog: No tienes permitido ver los links. Registrarse o Entrar a mi cuenta.

Muchas gracias por la respuesta. Al parecer era un tipo muy infantil este personaje. Saludos.