mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
dirname, basename: refer to each other (#23319)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# basename
|
||||
|
||||
> Remove leading directory portions from a path.
|
||||
> See also: `dirname`.
|
||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/basename-invocation.html>.
|
||||
|
||||
- Show only the file name from a path:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# 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:
|
||||
|
||||
Reference in New Issue
Block a user