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

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.

File encryption on the command line

This list is just a reference which hopefully saves some googling. Let's make it clear that we're talking about symmetric encryption here, that is, a password (or better, a passphrase) is supplied when the file is encrypted, and the same password can be used to decrypt it. No public/private key stuff or other preparation should […]