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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Phoenix@programming.dev 18 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] Crozekiel@lemmy.zip 18 points 1 year ago

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.

[–] Gremour@lemmy.world 3 points 1 year ago (2 children)

I'm around 20 years Linux user and I'm still installing various soft by curl bashing a script from their site.

[–] gendulf@kbin.social 6 points 1 year ago (1 children)

https://www.rust-lang.org/tools/install

Why is it the canon way to install rust by piping curl output to sh???

[–] Gremour@lemmy.world 4 points 1 year ago

At least it doesn't start with sudo, lol.

[–] grue@lemmy.ml 2 points 1 year ago (1 children)

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.