Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dirname(1V) — RISC iX 1.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

basename(1)

DIRNAME(1V)  —  UNIX Programmer’s Manual

NAME

dirname − return the directory portion of a pathname

SYNOPSIS

/usr/5bin/dirname pathname

DESCRIPTION

Dirname prints all but the last level of pathname on standard output. 

EXAMPLE

The following command will display ‘/usr/include’:

dirname /usr/include/stdio.h

SEE ALSO

basename(1)

4th Berkeley Distribution

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026