Kurt McKee

lessons learned in production

Articles tagged with bash

Bash' extglob option | 3 December 2010

I just love when the functionality I need is already baked into the software I use! Today I needed to create a diff file of some changes I'd made in something like 24 files. The problem was that the files were contained in subdirectories of two directories, and I needed …

Bash programmable completion | 26 July 2009

A long time ago I read a blog entry about a shell called zsh that supported command line completion like I had never seen before. Don't get me wrong, I've been using filename completion for years, but I had never seen a shell perform filename completion across the network over …

Commanding bash | 24 July 2009

While reading a book about my Linux shell, bash, I've been working to incorporate the incredibly powerful tools it offers into my normal workflow. In addition to memorizing useful hotkeys (like ^r to search backward through the command history), I'm starting to use history expansion, and I've more thoroughly customized …

while read i | 8 July 2008

I have finally finished backing up all of my data. It took four DVDs, but I finally did it. It would have required several more had I not filtered my music files for backup, however. In particular, the only music that I truly had to save were the songs I've …