Explain Shell

Here’s a great site that should be in every linux user’s toolbox : Explain Shell.
It basically allows you type a command that you picked up from the web somewhere (or something burned in memory that you type out of sheer habit), and it shows what each argument to it actually does. For example, here’s a command I had to run recently that I had no clue about:

git pull -s recursive -X theirs upstream master

Paste that in the explainshell website and it coughs up a great explanation. Pretty useful when you don’t want to scroll through long man pages piecing together a particular command.

etckeeper

Today I re-discovered etckeeper, which allows `/etc` to be version-controlled with a VCS (git in my case). I decided to spend some time figuring it out and stop worrying about messing things up each time I wanted to experiment with something. It also hooks in to the package manager during an upgrade or install, so that’s ones less thing to worry about.

etckeeper is written by Joey Hess, whose ikiwiki platform I’m already using to power this site. Check out his neat, minimalistic setup here. His blog is always an interesting read.

It took me less than an hour to figure things out the first time. Now I have a neat setup that runs itself: each change made to one of my dotfiles or configuration files automatically pushes the changes to the backup server and keeps it in sync.

Best of all, there is no lock-in with a third party provider, and no worry about unsupported platforms.