Mikrobitti on tietotekniikkaan erikoistunut lehti, joka antaa syvällistä tietoa laitteista, palveluista ja ilmiöistä. Mikrobitissä testataan ja vertaillaan tietotekniikan kiinnostavimmat tuotteet.
Don’t most distros have safeguards against this? I tried sudorm -rf / in an Ubuntu VM that I was about to delete just to see what happened, and it gave me a warning. I had to add some other option to bypass the warning.
Don’t most distros have safeguards against this? I tried
sudo rm -rf /
in an Ubuntu VM that I was about to delete just to see what happened, and it gave me a warning. I had to add some other option to bypass the warning.it apparently was defaulting to the home dir, not
/
Oh, oof.
Hopefully most people take regular snapshots.
Yes,
rm -rf --allow-unsafe
Or something is required
--no-preserve-root