Homo_Erectus@lemmy.zip to Lemmy Shitpost@lemmy.world · 1 day agosudo rm -rf /lemmy.zipexternal-linkmessage-square13fedilinkarrow-up1221arrow-down14
arrow-up1217arrow-down1external-linksudo rm -rf /lemmy.zipHomo_Erectus@lemmy.zip to Lemmy Shitpost@lemmy.world · 1 day agomessage-square13fedilink
minus-squarepivot_root@lemmy.worldlinkfedilinkarrow-up8·1 day 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·1 day 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.