DIRNAME(1) User Commands DIRNAME(1)

dirname - return the directory portion of a pathname

dirname path

Dirname deletes the file part of the given path and prints the result, or `.' if no directory part is present.

basename(1), sh(1)

4/17/03 Heirloom Toolchest