Menu Home

sed to the rescue again

Some days you just want to quickly edit a bunch of config files in one go. One of the reasons I use Ubuntu LTS is that it’s got long term support (<light sarcasm>is that why it’s got LTS in the name?</light sarcasm>) and I make configuration templates that I just […]

Force logout Mac users

Yet another one of those write this down Jan, it will come up again posts. There’s almost certainly a better way to force log out absent users on a Mac but heck, this works for me. To kill off all the processes of a user named joe who’s left logged […]

Tabs and spaces

Self? Remember this: You’ll need it later. At work I use bash, sed, [e]grep, cut, tr, and occasionally awk if I can’t get out what I need from the others. These aren’t used as scripts per se, just some tools I use to massage data. Need that formatted, irregular, multi-line […]