568

I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.

(page 2) 50 comments
sorted by: hot top new old
[-] 1984@lemmy.today 9 points 2 months ago

Linux will do what you tell it. :)

[-] frozen@lemmy.frozeninferno.xyz 9 points 2 months ago* (last edited 2 months ago)

Reminds me of when I had a rogue ~ directory sitting in my own home directory (probably from a badly written script). Three seconds into rm -rf ~ and me wondering why it was taking so long to complete, I CTRL+C, reboot, and pray.

Alas, it was a reinstall for me that day (good excuse to distro hop, anyway). Really glad I don't mount my personal NAS folder in my home directory anymore, holy shit.

[-] cevn@lemmy.world 8 points 2 months ago

Thats nothing, on 2 separate occasions i mistyped the parameters for dd and erased my entire hard drive lol.

[-] user224@lemmy.sdf.org 4 points 2 months ago

I am still triple checking when I see /dev/sda as a target drive in such utilities. I use NVMe, so nowadays that's probably a flash drive for me, but it still gives me adrenaline when I notice it.

load more comments (1 replies)
[-] Dultas@lemmy.world 4 points 2 months ago

It's drive destroyer for a reason.

load more comments (1 replies)
load more comments (1 replies)
[-] RomulusCornflakes@lemmy.world 8 points 2 months ago

Plot twist: this was a work computer.

[-] thespcicifcocean@lemmy.world 7 points 2 months ago

Ohohoho man did you ever fuck up. I did that once too. I can't remember how I fixed it. I think I had to reinstall the whole OS

[-] panda_abyss@lemmy.ca 6 points 2 months ago

This is why I use an atomic distro

Much harder to break important things, but little things all come pre-broken.

[-] thethunderwolf@lemmy.dbzer0.com 6 points 2 months ago
[-] heavyboots@lemmy.ml 6 points 2 months ago* (last edited 2 months ago)

Welcome to the "I have shot myself in the foot with rm" club! Take a seat anywhere!

(Mine was trying to delete the old System 9 "System Folder" by typing rm -rf System\ Folder, but instead hitting the return key when it came time to hit the \, thereby starting a deletion of the running macOS 10 operating system inside the "System" folder. It got through the c's in the second and a half or so before my frantic control-C attempts halted it. Amazingly, OS X would still boot, but no longer run Carbon apps, necessitating a complete OS reinstall, lol.)

load more comments (1 replies)
[-] PointyFluff@lemmy.ml 6 points 2 months ago

Dumbfuck logged in as root.

[-] callyral@pawb.social 5 points 2 months ago

Ah, this is why I set up snapper on my btrfs system

[-] capuccino@lemmy.world 5 points 2 months ago
load more comments (2 replies)
[-] furycd001@lemmy.ml 4 points 2 months ago

This is one thing that I hope never happens on my system....

[-] anistorian@lemmy.world 4 points 2 months ago

Make an alias in .bashrc (or equivalent) so that rm always have the -i flag to prompt for โ€œyou really wanna do it !?โ€.

[-] sik0fewl@piefed.ca 4 points 2 months ago

That just trained me to automatically add -f to avoid the prompts.

load more comments (1 replies)
[-] MrChewy@lemmy.world 4 points 2 months ago

Rest in peace my granny,she got hit by a bazooka

(got no clue why, but really FEELS like an appropirate reaction to have, I salute to you and your pain sir!)

[-] TrickDacy@lemmy.world 4 points 2 months ago
load more comments (1 replies)
load more comments
view more: โ€น prev next โ€บ
this post was submitted on 18 Feb 2026
568 points (99.1% liked)

linuxmemes

31218 readers
1267 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. ๐Ÿ‡ฌ๐Ÿ‡ง Language/ัะทั‹ะบ/Sprache
  • This is primarily an English-speaking community. ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡บ๐Ÿ‡ธ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • ย 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS