been there and done rm -rf as root
Asklemmy
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
Why?
because I wanted to delete something? It was probably 23 odd years ago
I think in these days, rm will warn you if you do a
rm -rf /
Ah. Just curious if you were actively trying to nuke a distribution or were following instructions from a troll online or something.
It was one of those moments where you just mistype something when trying to clear out a whole dir
tar czf /dev/sda /home
I'd imagine rm
has easily caused the most destruction.
dd if=/dev/random of=/dev/sda
Wipes the entire disk and replaced it with random data.
If you have to ask, you're not ready to know.
Destructive for me or for others?
for the terminal's operating system
./fire_nukes.sh
As a WSL user:
sudo rm -rf /mnt/c/