mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show all fields recursively for a resource:
|
||||
|
||||
`kubectl explain {{po|pods}} --recursive`
|
||||
`kubectl explain {{[po|pods]}} --recursive`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
32
tldr/vdir
32
tldr/vdir
@@ -5,34 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# vdir
|
||||
|
||||
> Verbosely list directory contents.
|
||||
> Drop-in replacement for `ls -l --escape`.
|
||||
> More information: <https://manned.org/vdir>.
|
||||
> This command is an alias of `ls -l --escape`.
|
||||
|
||||
- List files and directories in the current directory, one per line, with details:
|
||||
- View documentation for the original command:
|
||||
|
||||
`vdir`
|
||||
|
||||
- List with sizes displayed in human-readable units (KB, MB, GB):
|
||||
|
||||
`vdir {{[-h|--human-readable]}}`
|
||||
|
||||
- List including hidden files (starting with a dot):
|
||||
|
||||
`vdir {{[-a|--all]}}`
|
||||
|
||||
- List files and directories sorting entries by size (largest first):
|
||||
|
||||
`vdir -S`
|
||||
|
||||
- List files and directories sorting entries by modification time (newest first):
|
||||
|
||||
`vdir -t`
|
||||
|
||||
- List grouping directories first:
|
||||
|
||||
`vdir --group-directories-first`
|
||||
|
||||
- Recursively list all files and directories in a specific directory:
|
||||
|
||||
`vdir {{[-R|--recursive]}} {{path/to/directory}}`
|
||||
`tldr ls`
|
||||
|
||||
Reference in New Issue
Block a user