this post was submitted on 10 Aug 2023
1542 points (94.3% liked)
Programmer Humor
19463 readers
263 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yes, but also I would hope that if you have the autonomy to install linux you also have the autonomy to look up an unknown command before running it with superuser privileges.
That's making an assumption that a brand new Linux user knows they are running the command with superuser privileges.
Half the time you websearch a problem you are having in Linux you will find someone telling you to fix it by running a command that starts with sudo without explaining what any part of the command does. New people probably regularly run those commands without finding out what it does and it probably works (or at least does no harm) a good portion of the time because most people aren't dicks. So then you've got new people trusting that form of advice.
It's hard to blame them, they are new to the system and very few experienced users are going out of their way to explain the basics to new users.
I'm around 20 years Linux user and I'm still installing various soft by curl bashing a script from their site.
https://www.rust-lang.org/tools/install
Why is it the canon way to install rust by piping curl output to sh???
At least it doesn't start with sudo, lol.
Trusting official installation instructions from the software developer might be a step or two down from trusting your distro's package maintainers, but it's still several steps up from trusting random advice from a forum or chatroom.
And with the possible exception of Ken Thompson or Ben Eater, we've all got to trust somebody.