I love that every sci-fi story about Confused Robots has been retroactively legitimised
In fairness, I bet plenty of humans have fucked themselves over via bash in this exact way.
I once read a story (I think literally on bash.org, or maybe Slashdot) about a sysadmin who was cursing Digium for naming their telephone exchange software Asterisk, saying that it fucked him over when trying to do phone support.
Sysadmin: First, run “rm dash rf slash bin slash asterisk”