azha@lemm.ee to linuxmemes@lemmy.worldEnglish · 28 days agoFreedomlemm.eeimagemessage-square38fedilinkarrow-up1810arrow-down117
arrow-up1793arrow-down1imageFreedomlemm.eeazha@lemm.ee to linuxmemes@lemmy.worldEnglish · 28 days agomessage-square38fedilink
minus-squarehddsx@lemmy.calinkfedilinkarrow-up2·28 days agoThat’s not true. Most distros now ask you to add —no-preserve-root
minus-squareElvith Ma'for@feddit.orglinkfedilinkarrow-up6·28 days agoHave you tried to add * to the path? No more nagging about that pesky missing safety parameter… rm -fr /* Bonus points of you do: rm -fr $ACCIDENTIALLY_UNDEFINED_VAR/*
minus-squarehddsx@lemmy.calinkfedilinkarrow-up2·28 days agoWell, technically those aren’t the same command (but works well enough if you’re trying to render a system unusable). rm -rf /* would not remove /.secret. It rm -rf / would
That’s not true. Most distros now ask you to add —no-preserve-root
Have you tried to add
*
to the path? No more nagging about that pesky missing safety parameter…Bonus points of you do:
Well, technically those aren’t the same command (but works well enough if you’re trying to render a system unusable).
rm -rf /* would not remove /.secret. It rm -rf / would