Some answers on superuser, such as this one - https://superuser.com/a/1136881/7561 - include using the unix command of
sudo rm /something - which could be extremely dangerous - as if a user didn't finish copying the command and just wrote
sudo rm / and then clicked "enter" they will lose all of the data on their computer.
What is the best, safest way, to instruct people on how to use
rm in a stack exchange answer?
sudo rm /in any modern Linux distro, it will not be as disastrous as you imagine.
sudo rm -rf ./*(because
sudois so cool, y’know, that you use it whenever you’re not sure you don’t need it, and likewise for
./) and you accidentally type
sudo rm -rf . /*, that’s gonna leave a mark.