Bash[edit]
In Bash, a fork bomb can be performed by declaring and calling a multiple-recursive function:
Additionally, one of the most famous and commonly cited examples of a fork bomb is this dense one-line Bash command:
This command is an obfuscated version of the above. The trick here is that
:
is used as a function name, which is possible because the colon is not a reserved character in Bash as it is in most other languages. Otherwise, it is identical.[6]
With unicode support, it can similarly be rendered as:
No comments:
Post a Comment