"gd" is a UNIX utility that can help you to remember list of directories and go to them when needed.
To install, copy the script to the user "bin" folder and source it in user profile.
Usage: gd [-a|-g|-l|-h] [PATH|PATTERN|NUMBER]
Examples:
gd -a /tmp [description] # Add /tmp to remembered directories with optional description
gd -a # Add current directory to remembered directories
gd -g pattern # Go to directory matching pattern
gd -l # List all remembered directories
gd number # Go to directory at line number
gd pattern # Go to directory matching pattern
gd -h # Show this help