Linux

Jun
25

View a config file without comments

Sometimes you have a config file that has is heavily annotated (which is great). But sometimes you just want to
May
30

Importing a Maildir using Dovecot

I’m looking into using Dovecot as a way to store all my old emails (I have emails going back
Dec
11

DOS to Unix line endings with bash

This is a command that works in Git Bash on Windows to recursively replace \r\n line endings with \n.
Nov
04

Replacing a domain name in WordPress with sed

I often need to do this, but always forget the syntax. So this is more for my reference than anybody