Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

u mind sharing what ":(){:|:&}; :&" means?


:() is a function that accepts no arguments, it calls itself (recursion) then pipes the output to another call to itself that is backgrounded, basically two calls to the function. That is the function definition, it is then called and backgrounded via :&

I am a true believer in the power of bash and despite the fact that it is not a programming language I will still try use it in that form just for fun.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: