this post was submitted on 20 Apr 2025
890 points (98.1% liked)
linuxmemes
24727 readers
1725 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
3. Post Linux-related content
sudo
in Windows.4. No recent reposts
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
6. (NEW!) Regarding public figures
We 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.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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Obligatory reminder to remove the French language pack:
sudo rm -fr /*
My brother did this accidentally... twice... Don't ask me how you manage to do this twice...
make sure to add
--no-preserved-root
to make sure to update all the English libraries too so you can make sure only freedom fries are respected.No preserved root because candied ginger is gross
Not necessary with
/*
Only needed if you dorm -rf /
I add a -v because I like to watch.
You sick Bastard.
I mean... You're not wrong. If there's a French language pack on the system, it will remove it.
Tap for spoiler
Along with everything else.alias trash-put from trash-cli in both sudo and user.
This has saved my ass so many times. Especially when typing "rm * .png" instead of "rm *.png"
Can restore the files using the cli or from system recycling bin.
The alias to rm is probably not best. So getting use to using another name is probably best. But I'm never had a problem with it.
That feeling where rm is taking a while to return to the prompt
Exactly. Ctrl+C and hope ls isn't completely empty.
Or just use snapshots. If you are into aliases make an alias for rm to make a snapshot before deleting something.
I've never ran into any issues from using rm but I like this idea and will be using it as I only see positives
Downsides can be inconsistent behavior. As with any alias it's not meant to be anything but a replacement in your shell. Scripts/SSH etc.
Also, you gotta remember to empty your trash. :)
help
Did you actually run it?
In this case, I hope you had a backup. Boot a live system to see if there's anything left. Back that up, then reinstall.