<span style="color:#323232;">dir</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"$(</span><span style="color:#323232;">something</span><span style="color:#183691;"> that ultimately resolved to "")"
</span><span style="color:#323232;">
</span><span style="color:#323232;">rm -r $dir/</span><span style="font-weight:bold;color:#a71d5d;">*
</span>
on a company server
I also once completely destroyed the data in a db that wasn’t backed up for that same company while trying to restore from a dump (which was deleted as part of the script i was running).
Luckily both of these mistakes happened on staging servers so no one really cared. (prod is backed up though so if i did it there, not that i have access to prod, it also wouldn’t be catastrophic)