Homo_Erectus@lemmy.zip to Lemmy Shitpost@lemmy.world · 6 days agosudo rm -rf /lemmy.zipexternal-linkmessage-square13linkfedilinkarrow-up1231arrow-down14
arrow-up1227arrow-down1external-linksudo rm -rf /lemmy.zipHomo_Erectus@lemmy.zip to Lemmy Shitpost@lemmy.world · 6 days agomessage-square13linkfedilink
minus-squarepivot_root@lemmy.worldlinkfedilinkarrow-up8·6 days agoset -u is your friend. Unless you’re running that command interactively, in which case it just exits the shell without giving any warning at all. Oh, the joys of shells written to be compatible with scripts created 20 years ago…
minus-squarehayvan@piefed.worldlinkfedilinkEnglisharrow-up6·5 days agoIt was interactive, but thanks, killing the shell is still better than reinstalling the machine.
set -uis your friend. Unless you’re running that command interactively, in which case it just exits the shell without giving any warning at all. Oh, the joys of shells written to be compatible with scripts created 20 years ago…It was interactive, but thanks, killing the shell is still better than reinstalling the machine.