Johnny•Decimal

Working at the terminal

The structured nature of the Johnny.Decimal numbering system lets you move to any folder with the minimum number of keystrokes using tab completion.

At each level, you know with certainty that there will be no conflicting items.

GIF showing changing directory in the Terminal using tab completion

Script your way around

Easier still, use a simple bash script to change to any directory immediately. Put this in your .bashrc (plain text version here).

Screenshot of macOS Terminal showing bash function declaration

And now change to any directory with cjd 34.27.

Got any more?

I’d love to build a collection of useful scripts here. Send me yours and I’ll create a repository.