1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 17:55:32 +02:00

basename: add page

This commit is contained in:
Hayden Schiff 2016-02-22 20:43:09 -05:00
parent c0d0e38c6e
commit 9ba4a72b27

11
pages/common/basename.md Normal file
View file

@ -0,0 +1,11 @@
# basename
> Returns non-directory portion of a pathname.
- Show only the file name from a path:
`basename {{path/to/file}}`
- Show only the file name from a path, with a suffix removed:
`basename {{path/to/file}} {{suffix}}