Sponsored Content
Full Discussion: Is it a joke or a command?
Top Forums UNIX for Beginners Questions & Answers Is it a joke or a command? Post 303034683 by wisecracker on Thursday 2nd of May 2019 09:20:35 AM
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

 

We Also Found This Discussion For You

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
All times are GMT -4. The time now is 10:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy