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 |
|---|
| dirname(1) - freebsd |
| dirname(1) - opendarwin |
| dirname(3c) - sunos |
| dirname(3) - osx |
| mvdir(1m) - linux |
| Similar Topics in the Unix Linux Community |
|---|
| Original Path |
| strip hostname from dirname? |
| geting the real path |
| find & dirname:problems with white spaces in Directories |
| help with dirname |