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)
Heirloom Toolchest 4/17/03 DIRNAME(1)