mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 16:47:49 +00:00
Update cheatsheets
This commit is contained in:
30
linux/dir
Normal file
30
linux/dir
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user