NAME

bookmark - manage shell-level bookmarks


SYNOPSIS

    bm [bookmarkname]
    go [bookmarkname]
    bms [-r]


DESCRIPTION

This suite of utilities manages shell-level bookmarks.

bm [bookmark_name]
set a bookmark

go [bookmark_name]
go to a preset bookmark

bms
list the bookmarks

bms -r
reset (clear) all 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.)


FILES

$HOME/.book - list of bookmarks


EXAMPLES

    # 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


SEE ALSO

http://alumni.caltech.edu/~copeland/work/simple.html http://swexpert.com/C9/SE.C9.JUN.01.pdf


AUTHOR

    Jeffrey Copeland <copeland@alumni.caltech.edu>
    Jeffrey S. Haemer <jsh@usenix.org>