Don't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works to Programmer Humor@programming.devEnglish · 18 hours agorm -rf /usr due to typosh.itjust.worksimagemessage-square34fedilinkarrow-up1318arrow-down12file-text
arrow-up1316arrow-down1imagerm -rf /usr due to typosh.itjust.worksDon't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works to Programmer Humor@programming.devEnglish · 18 hours agomessage-square34fedilinkfile-text
minus-squareOwOarchist@pawb.sociallinkfedilinkEnglisharrow-up97·14 hours ago rm -rf “$STEAMROOT/”* could be evaluated as rm -rf “/”* if $STEAMROOT is empty Ah, good times.
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up15·7 hours agoProbably a good idea to enable the nounset shell option when shipping commercial-grade install scripts. 😅
minus-squarefruitcantfly@programming.devlinkfedilinkarrow-up2·edit-238 minutes agoThat really ought to have been the default behavior. Opting out only takes one or two extra characters. Well, three or four if you don’t habitually bracket your variable names, which you should probably be doing anyways
minus-squaresp3ctr4l@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up13·6 hours agoWow. That’s a nuclear grade ‘oopsie’ right there hahaha!
Ah, good times.
Probably a good idea to enable the
nounsetshell option when shipping commercial-grade install scripts. 😅That really ought to have been the default behavior. Opting out only takes one or two extra characters. Well, three or four if you don’t habitually bracket your variable names, which you should probably be doing anyways
Wow.
That’s a nuclear grade ‘oopsie’ right there hahaha!