mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
Base: Add more manpages for command-line utilities
This commit is contained in:
parent
5d8585df97
commit
57340dda36
25 changed files with 749 additions and 0 deletions
28
Base/usr/share/man/man1/basename.md
Normal file
28
Base/usr/share/man/man1/basename.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
## Name
|
||||
|
||||
basename - strip directory names from path
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ basename <path>
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
`basename` prints basename (filename, stripped of preceding directory names) of specified `path` to standard output. The path does not have to exist.
|
||||
|
||||
## Arguments
|
||||
|
||||
* `path`: The path which we want to get basename of
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
$ basename /
|
||||
/
|
||||
$ basename ~
|
||||
anon
|
||||
$ basename Source/js/array.js
|
||||
array.js
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue