Home
cpuid
marks
msr
xping
nuu (external)

marks

Persistent directory bookmark utilities for ksh and bash


marks is a set of ksh or bash utilities that provides a mechanism for remembering long pathnames as shorter mark names. Marks are persistent across multiple shell invocations, and may be shared from user to user.

The two basic commands that become available are:

# mark foo Create a mark named foo that denotes the current directory.
# unmark foo Remove the mark named foo.

After issuing mark foo, the following command can be issued:

# foo Changes the current working directory to the directory denoted by the mark foo.

Additionally, after executing mark foo, the $foo variable is defined containing the marked directory's pathname, allowing commands like this to be issued:

# cd /some/really/long/path/name
# mark foo
# cd /some/place/else
# cp $foo/*.c .

Bugs & Comments:

Please send any bug reports or comments to marks@etallen.com.