I was a newbie user, telling a friend of mine about rm -rf /*. I typed it in a hit Enter, telling him it doesn't harm since I didn't enter sudo. But I'd forgotten that I have still permission to delete my home directory. ๐ฅฒ๐
I'd imagine rm has easily caused the most destruction.
tar czf /dev/sda /home
dd if=/dev/random of=/dev/sda
Wipes the entire disk and replaced it with random data.
As a WSL user:
sudo rm -rf /mnt/c/
Destructive for me or for others?
for the terminal's operating system
If you have to ask, you're not ready to know.
this post was submitted on 30 Dec 2023
158 points (100.0% liked)
Asklemmy
51016 readers
1313 users here now
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~
founded 6 years ago
MODERATORS