Here are articles related to bash.

Bash Shell Change Directory Script

Fri Nov 20 2015 [Updated: Wed Jan 10 2018]

If you are a *nix user and work from the command line primarily, you often use the ‘cd’ command to move from directory to directory during the course of your work. Some of the directory paths can get long when you are trying to keep things organized in a meaningful way. When you realize you have to go back to /usr/lib/product/setup/appearance/xml for the 10th time, you might wish you didn’t have to type out that long path each time. What you need is to keep a history of the directories you’ve been in and some shortcuts for getting back to them. Well, that’s the purpose of the sd.bash shell script. This script should work on any operating system as long as you are using the bash shell.

Read more . . .