I don't normally say this, but the AI tools I've used to help me write bash were pretty much spot on.
this post was submitted on 05 Mar 2025
3 points (100.0% liked)
Programmer Humor
21657 readers
426 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 2 years ago
MODERATORS
Yes, with respect to the grey bearded uncles and aunties; as someone who never "learned" bash, in 2025 I'm letting a LLM do the bashing for me.
Until the magic incantations you don't bother to understand don't actually do what you think they're doing.
I wonder if there's a chance of getting rm -rf /*
or zip bombs. Those are definitely in the training data at least.
The classic rm -rf $ENV/home
where $ENV
can be empty or contain spaces is definitely going to hit someone one day