September 2009
Beginner
942 pages
85h 34m
English
dirname
dirname pathnamePrint pathname, excluding the last level.
Useful for stripping the actual filename from a pathname. If there
are no slashes (no directory levels) in
pathname, dirname prints . to indicate the current directory. See
also basename.