Category Archives: shell

Quick Tip #1: Implicit FIFOs in Bash

One could assume that I have run out of material and retreat to safer ground, but far from it. From now on I’ll just throw in a few quick shell hacks hoping some of you don’t know them yet. So, … Continue reading

Posted in shell | Tagged , , ,

Parsing Command Line Options in Shell Scripts

In programs written in C, command line argument parsing has always been done using the getopt(3) library function. This function has set the standards Linux/Unix users have come to expect from command line interfaces. Fortunately, there’s a getopt(3) equivalent for … Continue reading

Posted in shell | Tagged , , | 14 Comments

Changing Directories Quickly

When you work with the interactive shell, there’s a common pattern that is used a lot: Copying or moving files to a directory and then changing to the target directory using cd. In these cases, you find yourself typing the … Continue reading

Posted in shell | Tagged , | 4 Comments