this post was submitted on 31 May 2025
942 points (99.1% liked)
Programmer Humor
23626 readers
811 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It should have done sudo rm -rf /*
For when you want to delete everything in the root directory, but absolutely need to keep the directory itself.
Of course :3
So. Funny story. Back when I was incredibly new to Linux, I was trying to move everything from my downloads folder to somewhere else. So I navigated into the downloads directory on the command line and sent something like
"sudo mv /* ~/misc"
when I meant to type
"sudo mv ./* ~/misc"
Yea... That was a fun learning experience and hilarious way to utterly fuck everything on that machine. Luckily it was just an old laptop I'd installed Linux on to mess around and learn, no real damage done