Scripting isn't even in my job description, but it enables me to, say, take multiple hours of multiple touches to servers to run commands over the course of a month, to a few minutes and it's ready 2 days later.
The scenario in question is to do disk erases on some storage servers at my job that have I think 12x 14TB spinners, SATA SSDs, and nvme disks. The process I'm using to erase the spinners is to kick off an ATA Security Erase in the disk's firmware, then once that's done do a dd zero-fill as a second pass.
Wrote a horrifyingly long one-liner to do all of that - spin up a shitload of screen sessions, run these commands to it, pipe output to kmsg so it shows up in the default tty's shell, and some other shit on top of that.
Wrote a horrifyingly long one-liner to do all of that - spin up a shitload of screen sessions...