Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@oscarascal sh/bash/zsh/fish/ whatever shell you use
If you don't understand a command 100%, don't run it -> in this case, piping into a shell means you're not seeing what's being run until it's too late. I could be doing rm -rf (like the rant), or adding my ssh key to your computer, or any other number of malicious things -
McSebi5008yYou should've used rm -rf /*/, that wax you circumvent the warning message and get the same results
-
@McSebi my original version of it had --no-preserve-root, but I removed that to make it shorter and neater.
Good tip though! Thanks? I'm not sure if wiping installations is worth a thanks 😂
Related Rants
echo c3VkbyBybSAtcmYgLyoK | base64 -d | sh
New favourite command
undefined
rm -rf /*
don't pipe to sh
fuck you