ultrix man page for dirname

Query: dirname

OS: ultrix

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

dirname(1)						      General Commands Manual							dirname(1)

Name
       dirname - deliver directory names from pathname

Syntax
       dirname string

Description
       The command delivers all but the last level of the path name in string.

Examples
       The following example sets the Bourne shell variable NAME to
       NAME=`dirname /usr/src/cmd/cat.c`

See Also
       basename(1), sh(1), sh5(1), ksh(1)

																	dirname(1)
Related Man Pages
basename(1) - mojave
dirname(3c) - opensolaris
basename(3) - redhat
mvdir(1m) - sunos
dirname(3c) - sunos
Similar Topics in the Unix Linux Community
Unix History Question: Why are filenames/dirnames case sentsitive in Unix?
find & dirname:problems with white spaces in Directories
[bash] Manipulate dir name
help with dirname
Using dirname on a file before uniq