dirname (target)
Return the directory portion of a pathname (POSIX, toybox)
Syntax:
dirname [path...]
Runs on:
QNX OS
Options
- path
- The specified path that the directory portion of a pathname is returned from.
Description:
The dirname utility writes the directory pathname portion of a string containing a pathname to standard output.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: