dirname
Remove trailing filename portion from a path. See also:
basename. More information: https://www.gnu.org/software/coreutils/manual/html_node/dirname-invocation.html.
- Calculate the parent directory of a given path:
dirname
- Calculate the parent directory of multiple paths:
dirname
- Delimit output with a NUL character instead of a newline (useful when combining with
xargs):
dirname
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
