Command-line utilities to replace “cd
” command for faster file system navigation.
Overview
In some of my previous articles, I walked through with you tools that could improve your development workflow. One of the command-line utilities is autojump
which is a faster way to navigate the filesystem.
For developers, we mostly live within the terminal. Having a faster way to navigate the filesystem can definitely improve our productivity. In this article let’s explore the possible options we have.
Jumping Between Directories
Built-in Commands
Let’s start with some of the built-in commands.
alias
: You can easily createalias
for the most commonly used directories, e.g. your project folder
$ alias p="cd $HOME/projects"
- Reverse/forward search: You can do a reverse search (
Control-R
), or forward search (Control-S
) for the command history.