bookmark - manage shell-level bookmarks
bm [bookmarkname]
go [bookmarkname]
bms [-r]
This suite of utilities manages shell-level bookmarks.
Bookmarks are preserved across login sessions and across windows. One unnamed bookmark is permitted at any time.
(Note: this file must be sourced. It can't just be executed.)
$HOME/.book - list of bookmarks
# make a series of bookmarks
$ cd /tmp; bm tmpdir
$ cd ~/One/Two/Three/.../Infinity
$ bm gamow
$ cd
$ bm myhome
$ cd /usr/bin; bm # set the unnamed bookmark
# list them
$ bms
bm_tmpdir=/tmp
bm_gamow=/home/jsh/One/Two/Three/.../Infinity
bm_myhome=/home/jsh
bm_=/usr/bin
# try them out
$ go gamow; pwd
/home/jsh/One/Two/Three/.../Infinity
$ go; pwd
/usr/bin
# clear them all
$ bms -r
$ bms
http://alumni.caltech.edu/~copeland/work/simple.html http://swexpert.com/C9/SE.C9.JUN.01.pdf
Jeffrey Copeland <copeland@alumni.caltech.edu>
Jeffrey S. Haemer <jsh@usenix.org>