Is it a joke or a command?


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Is it a joke or a command?
# 1  
Old 05-02-2019
Quote:
Originally Posted by baris35
Hello,
I have found some commands in a forum under "top ten unix commands" topic and I'd like to ask: what does below command do:
Could it really be a command or a joke?
Code:
:(){ :|:& };:

Thanks
Boris

If you consider : as True, NOP or Pass and use the 'True' meaning then I will rewrite in a method that is understandable.
Code:
# Create a function True(), ':()'.
True()
{
        # Call True ':' and Pipe '|' to itself True ':' in the Background '&'.
        True | True &
}
# Command separator ';', valid in shell scripts using a newline in its place.
# Call it.
True

Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. What is on Your Mind?

Post Your Favorite Joke! Laugh a Little!

Let's have a few laughs! Post your favorite joke! (no racist / racism jokes, please post in good taste, thanks!) (65 Replies)
Discussion started by: Neo
65 Replies
Login or Register to Ask a Question