Skip to content
Archive of posts filed under the shell category.

A framework for BackupPC‘s pre/post scripts

Use the same framework for all hosts, and run per-host scripts where needed.

Detecting empty files in awk

It's not straightforward, but it can be done.

(Semi-)Automated ~/.ssh/config management

Shorten your ssh commands, but in a kludgy way.

Remote-to-remote data copy

Ever wanted to do this?

Three text processing tasks

Unlikely to help someone, but anyway.