Linux

Running Emails Through Ruby

3 min read

Following up on my earlier post where I covered how to backup your Gmail account using "fetchmail" and "procmail"; I wanted to cover how I …

Fail Fast in Bash Scripts

2 min read

I found myself writing another bash script that should exit should any of the few commands within it fail to run. As I began writing some error handling after …

Using VIM as Your Password Manager

4 min read

There are all kinds of password managers out there. Everything from web services that are quite solid and respectable, to native desktop apps. A lot of these …

Backing up Gmail with fetchmail

2 min read

This morning I found myself in need of a large set of emails to test a particular set of code. Ideally these emails would be broken out into easily digestible …

Session Recording

1 min read

Bash BuiltinsThe script utility which I've found in Fedora as a default package (or it's a bash builtin). You can record a session and the timing data about it …

Partitioning

2 min read

Recommended / Best Practices /boot 200Mb swap 1.5x times the amount of RAM / /home /tmp /var /var/log /var/log/audit Encrypt all partitions except /boot …

NFS

2 min read

NFS (Network File System) allows sharing directories between Linux systems over a network. NFSv4 is the current recommended version and simplifies things by …

Network

3 min read

found top level header in "/notes/linux/network/" that didn't match meta title ("Network Configuration" != "Network")Modern Linux …

Logrotate

1 min read

Logrotate is a pretty simple and straight forward program. It's generally run as a nightly cron job testing the various configured file to see if they match …