Homo_Erectus@lemmy.zip to Lemmy Shitpost@lemmy.world · 2 months agosudo rm -rf /lemmy.zipexternal-linkmessage-square13linkfedilinkarrow-up1234arrow-down14
arrow-up1230arrow-down1external-linksudo rm -rf /lemmy.zipHomo_Erectus@lemmy.zip to Lemmy Shitpost@lemmy.world · 2 months agomessage-square13linkfedilink
minus-squarepivot_root@lemmy.worldlinkfedilinkarrow-up9·2 months 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·2 months 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.