$
man
lookup
Sections
Commands
Search
About
$
Search…
/
home
/
sections
/ dirname
dirname
The Linux manual documents
dirname
in 2 places. Pick the section you want.
dirname
(1)
strip last component from file name
3 opts
dirname
(3)
parse pathname components