Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-19 00:21:59 +00:00
parent 0df0c010e8
commit 596a37b175
3 changed files with 7 additions and 51 deletions

View File

@@ -5,26 +5,8 @@ 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>.
> This command is an alias of `ls -C --escape`.
- List all files, including hidden files:
- View documentation for the original command:
`dir {{[-a|--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 {{[-R|--recursive]}}`
- Display help:
`dir --help`
`tldr ls`