mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 03:55:31 +02:00
dir: add page (#6817)
This commit is contained in:
parent
02bb89332e
commit
cd7a06ae80
1 changed files with 25 additions and 0 deletions
25
pages/linux/dir.md
Normal file
25
pages/linux/dir.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# dir
|
||||
|
||||
> List directory contents using one line per file, special characters are represented by backslash escape sequences.
|
||||
> Works as `ls -C --escape`.
|
||||
> More information: <https://manned.org/dir>.
|
||||
|
||||
- List all files, including hidden files:
|
||||
|
||||
`dir -all`
|
||||
|
||||
- List files including their author (`-l` is required):
|
||||
|
||||
`dir -l --author`
|
||||
|
||||
- List files excluding those that match a specified blob pattern:
|
||||
|
||||
`dir --hide={{pattern}}`
|
||||
|
||||
- List subdirectories recursively:
|
||||
|
||||
`dir --recursive`
|
||||
|
||||
- Display help:
|
||||
|
||||
`dir --help`
|
Loading…
Add table
Reference in a new issue