Post AiN7lP6PPcYBiXOCPo by dj3ei@mastodon.radio
 (DIR) More posts by dj3ei@mastodon.radio
 (DIR) Post #AiN7lNcauz6j7mQsIy by ve3qbz@mastodon.radio
       2024-05-28T18:03:22Z
       
       0 likes, 0 repeats
       
       @ajh @W1CDN tangentially../me enters command on switch to build a port group, 30 seconds later, alarm fires on switch 2000km away...weird, gonna have to look at that later.  Proceeds to paste rest of commands into switch to configure the other 47 ports.  Other datacenter goes offline.  Oh.  Ohhhhh....Good idea, wrong building lol.
       
 (DIR) Post #AiN7lP6PPcYBiXOCPo by dj3ei@mastodon.radio
       2024-05-28T21:09:20Z
       
       0 likes, 1 repeats
       
       Back in the 90s, I had developed a shell script to automate some task. The script ran as root, on some UNIXoid department server. At one point, it'd do some cleanup likerm -rf "$parentdir/$subdir"One day, through some mishap, neither $parentdir nor $subdir were set. That day continued busier than it had started...Today, I avoid sh scripts for admin work if I can. And if I can't, I pour much more effort into error handling than is "industry standard".@ve3qbz @ajh @W1CDN