Include or source marks.sh from your ~/.bashrc
[[ -s "$HOME/bin/marks.sh" ]] && . $HOME/bin/marks.sh###Mark your current directory so you can jump to it later
$ cd /etc/sysconfig
$ mark foo
$ ls -l ~/.marks/foo
lrwxrwxrwx 1 foo -> /etc/sysconfig###Jump to your mark using the jump command
$ jump foo###List your marks
$ marks
foo -> /etc/sysconfig
bar -> /tmp
###Jump to your mark using the jump command
$ jump foo