Yeah I thought so. So did you wonder: "how do I know what I'm installing?"
If I were to put sudo rm -rf / in this script, would you type your password when prompted? Who are you trusting? How do you know that the webserver that hosts that script is secured with a better password than 123456 and you're not downloading some spyware?
Pro tip: When someone tells you to paste curl ... | bash, remove the | bash. You may be able to save the script with -o <yourinstallfile> and can then later call it, after you looked at it to check what it's doing, with bash <yourinstallfile>.
Yeah I thought so. So did you wonder: "how do I know what I'm installing?"
If I were to put
sudo rm -rf /in this script, would you type your password when prompted? Who are you trusting? How do you know that the webserver that hosts that script is secured with a better password than123456and you're not downloading some spyware?Pro tip: When someone tells you to paste
curl ... | bash, remove the| bash. You may be able to save the script with-o <yourinstallfile>and can then later call it, after you looked at it to check what it's doing, withbash <yourinstallfile>.