gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 day agoTried to rm -r my .cache but accidentally did .config instead...message-squaremessage-square43fedilinkarrow-up160arrow-down12file-text
arrow-up158arrow-down1message-squareTried to rm -r my .cache but accidentally did .config instead...gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 day agomessage-square43fedilinkfile-text
minus-squareZozanolinkfedilinkEnglisharrow-up5·edit-25 hours agoThat’s why I always: cd .cache ls rm -r *
minus-squarePeer@discuss.tchncs.delinkfedilinkarrow-up8·4 hours agoType a space before rm to prevent it from being added to your history to be a extra careful.
minus-squarewh0_cares@lemmy.blahaj.zonelinkfedilinkarrow-up9·3 hours agoHoly shit, I never knew you could do that! I’ve always really wanted a feature to stop random commands from being added to my history.
That’s why I always:
Type a space before rm to prevent it from being added to your history to be a extra careful.
Holy shit, I never knew you could do that! I’ve always really wanted a feature to stop random commands from being added to my history.