My Setup

Navigationg through the directories via console may become too tedious sometimes. Worry not, we can simplify this too using the autojump. It can be easily installed within 5 minutes using the following steps :

Autojump is a faster way to navigate your filesystem

NOTE :
The following steps are for Debian/Ubuntu based Distros working for the Bash Shell.

Step 1 : Install autojump via apt

sudo apt install autojump

Step 2 : Manually activate the autojump package, Open the .bashrc file and add the following line at its end.

nano ~/.bashrc
. /usr/share/autojump/autojump.sh

We're done now. To use the autojump, first need to visit the directories using the 'cd' command for the first time only. Later we can directly jump to the corresponding directory using the 'j' command of autojump.

This is needed because it works by maintaining a database of the directories you use the most from the command line.

For more information on the Autojum command, simply type the following :

autojump --help