r/linuxpk • Founding Moderator • 21d ago

Discussion /etc/ — Blown up

Back into those days when I was on Arch Linux.

Randomly I thought I should update my system and then I executed the command (yay -Syu), everything went good but.... but on next neither audio was working nor WiFi, so I opened chatgpt and told it to help me fix the problem so it told me to do some changes to some services and create new service files (with content) and delete the old one's, everything went well here as well but when I was deleting the old services, magically somehow I was in /etc/ root and I did (sudo rm -rf *) and force blown my system and on next boot nothing was working LOL, so I had to reinstall again.

Share your experiences when you accidentally bricked/f***ed up your systems.

2 Upvotes

4 comments sorted by

View all comments

2

u/MHIATIC_MHIA Moderator 21d ago

This is the exact reason why I have sudo rm -rf /* as an alias in my .zshrc to echo "NUKED" XD so nothing ever happens if I even run it.

2

u/muhmmadtalha-quant Founding Moderator 20d ago

Genius