You're viewing a single thread.
perishthethought @lemm.ee
I don't normally say this, but the AI tools I've used to help me write bash were pretty much spot on.
51 5 Replymarduk @lemmy.sdf.org 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.
24 5 ReplySpaceNoodle @lemmy.world Until the magic incantations you don't bother to understand don't actually do what you think they're doing.
39 1 Replyembed_me @programming.dev
Sounds like a problem for future me. That guy hates me lol
39 0 ReplyWhatAmLemmy @lemmy.world Yeah fuck that guy
5 0 Reply
MBM @lemmings.world I wonder if there's a chance of getting
rm -rf /*
or zip bombs. Those are definitely in the training data at least.14 0 Replyfurikuri @programming.dev The classic
rm -rf $ENV/home
where$ENV
can be empty or contain spaces is definitely going to hit someone one day2 0 Reply
arendjr @programming.dev In fairness, this also happens to me when I write the bash script myself 😂
11 1 Replykameecoding @lemmy.world Yes, I have never wrote a piece of code that didn't do what I thought it would before LLMs, no sir.
4 2 Reply
SpaceNoodle @lemmy.world Yeah, an LLM can quickly parrot some basic boilerplate that's showed up in its training data a hundred times.
17 0 Replyhenfredemars @infosec.pub For building a quick template that I can tweak to my needs, it works really well. I just don’t find it to be an intuitive scripting language.
6 0 Replyewenak @jlai.lu IfWhen the script gets too complicated, AI could also convert it to Python.I tried it once at least, and it did a pretty good job, although I had to tell it to use some dedicated libraries instead of calling programs with subprocess.
1 0 Reply