What was your worst mistake when using search and replace?
Posted by matroosoft@reddit | sysadmin | View on Reddit | 8 comments
Mine so far was when I was replacing country codes on the beginning of a list of phone numbers. Forgot to check whether the numbers also matched inside the phone number itself. 🙄
Inertia-UK@reddit
Not my mistake, but there was a windows beta build released once i the where all references to Zip files were replaced with Postcode "Send to Compressed postcode File" it the right click context menu.
BlackV@reddit
ouch
TheAlmightyZach@reddit
Dwigt
i_am_dangry@reddit
Deleted the security groups for SCCM taking down the entire patching infra for a 30,000usr enterprise. I had the groups I wanted to ensure I keep still in my clipboard, instead of the ones I wanted to delete. Got a phone call from one of the team leads a few days later asking why the logs showed me deleting these SCCM groups while he was trying to help the SCCM team get back up and running. Restored the groups straight away and everything was golden, but it still sucked
TheGreatNizzo42@reddit
Many years ago when I was first learning Linux I was trying to get a USB peripheral to work. I went to update a file in /etc and ended up replacing the contents of EVERY file in /etc instead. To this day I still don't know how I did it. Fortunately it was on a lab device at home...
E-werd@reddit
When you want to make big changes, be mindful of whether you can CTRL+Z your way out of it. Sometimes you want to make a copy and test against that. These lessons are written in ~~blood~~ gray hairs.
Unexpected_Cranberry@reddit
I still remember the pit in my stomach when I realized I'd set the employee number in AD for all users to 11111 instead of updating the ones that were blank from before we had a proper on boarding solution.
Luckily even young me was smart enough to do an export first, and ten minutes later I'd restored everything and updated the ones that were missing.
Still, was a sweaty ten minutes.Â
cantstandmyownfeed@reddit
copy+paste - F2 - filename_yyyymmdd.ext.
All mistakes are equal when there's a backup.