this post was submitted on 26 Mar 2024
637 points (96.5% liked)
linuxmemes
20686 readers
873 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Working for a VoIP company in the early 2010s I rm -rf'd the /bin/ directory. As root. On a production server. On site.
I ended up booting from my phone (android app for iso booting) then manually coppied over the files from another machine. Chrooted and some stuff was broken but rebuilding from the package manager reinstalled everything that was missing. Got the system back up in around 40 mins after that colossal screw up. Good fun and a great learning experience. Honestly, my manager should not have had me doing anything on a root shell with no training.
Impressive. I had no idea that was a thing. That's easily the most "Star Trek" sounding fix I've heard in a good while.
... and you intuited that fix, or at least pulled it together from scratch/google with no training? Doubly impressive.
You might enjoy this ;)
https://www.ee.torontomu.ca/~elf/hack/recovery.html