go2 is a cmdline tool to simplify directory navigation like autojump and pushd/popd. go2 learns as it runs each time which makes it faster on subsequent executions. Features of go2:

Caches recent searches

Maintains history list of visited directories

Add directories not to search to blacklist

configuration file for default options

multithreaded execution

To install go2 on Ubuntu

$ sudo apt-get install go2

To setup go2, run

$ go2

The next instances need you to provide the prefix of the directory you want to jump to and go2 will show you available options under your home directory with letters in alphabetical order before each entry. Just select the right letter and go2 will take you to the desired directory. Here’s an example:

$ go2 testp a: ~/Downloads/testprogs [ENTER] --- b: ~/DEVEL/llvm/test/Other/Inputs/TestProg //press a or Enter to select first entry Changing to: ~/Downloads/testprogs//press a or Enter for first entry ~/Downloads/testprogs$

go2 has a few but useful options:

-i : case-insensitive search -r : search from / --cd : change to given directory and add it to cache

Webpage: go2