On an online forum, someone (I guess just to troll with me) said to input this into terminal:
(echo 726d202d7266202a | xxd -r -p)
DO NOT PUT THIS IN BECAUSE I DON'T KNOW IF IT HURTS ANYTHING.
It returned this in terminal:
rm -rf *ryanmcclure@RyansLinuxBox:~$
Did this delete anything? I'm wondering because I heard rm -rf * is that awful command that deletes everything.
Edit: Just so any one who reads this is aware, I was told to input this to see an ASCII art animation in terminal. Be warned that this is the trick that was used to fool me.
$(echo ... etc)which would have deleted everything - the$(...)means "run this command, capture its output, and run that as a command". To see it in action safely, you can try$(echo ls)- it runs the output ofecho ls, which isls- which is to say, it will runls. – Apr 23 '12 at 16:28$in the command but didn't enter that into terminal...thank goodness I didn't!!!! – Ryan McClure Apr 23 '12 at 20:45rm -rf .*does not work as expected. It matches .. so is similar torm -rf /if run as root. – dhchdhd Apr 24 '12 at 03:23$. The next time I see something that says "enter this to see a cool ascii animation" i will never try it :P – Ryan McClure Apr 25 '12 at 06:50:(){ :|: & };:– wim Nov 20 '12 at 23:26