UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: dircmpChapter 2
Unix Commands
Next: Reference: dis
 

dirname

dirname pathname

Print pathname, excluding last level. Useful for stripping the actual filename from a pathname. See also basename.


Previous: Reference: dircmpUNIX in a Nutshell: System V EditionNext: Reference: dis
Reference: dircmpBook IndexReference: dis

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System