Show Contenthddsx@lemmy.ca2·3 months agoThat’s not true. Most distros now ask you to add —no-preserve-root
Show ContentElvith Ma'for@feddit.org7·3 months 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/*
Show Contentgrrgyle@slrpnk.net4·3 months agoReminds me of when a script released by Valve did just this back in the day.
Show Contenthddsx@lemmy.ca2·3 months 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:
Reminds me of when a script released by Valve did just this back in the day.
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