mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 17:02:39 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Extract a file to a target destination:
|
- Extract a file to a target destination:
|
||||||
|
|
||||||
`gunzip --stdout {{archive.tar.gz}} > {{archive.tar}}`
|
`gunzip {{[-c|--stdout]}} {{archive.tar.gz}} > {{archive.tar}}`
|
||||||
|
|
||||||
- Extract a file and keep the archive file:
|
- Extract a file and keep the archive file:
|
||||||
|
|
||||||
`gunzip --keep {{archive.tar.gz}}`
|
`gunzip {{[-k|--keep]}} {{archive.tar.gz}}`
|
||||||
|
|
||||||
- List the contents of a compressed file:
|
- List the contents of a compressed file:
|
||||||
|
|
||||||
`gunzip --list {{file.txt.gz}}`
|
`gunzip {{[-l|--list]}} {{file.txt.gz}}`
|
||||||
|
|
||||||
- Decompress an archive from `stdin`:
|
- Decompress an archive from `stdin`:
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Install a helm chart and generate a name:
|
- Install a helm chart and generate a name:
|
||||||
|
|
||||||
`helm install {{repository_name}}/{{chart_name}} --generate-name`
|
`helm install {{repository_name}}/{{chart_name}} {{[-g|--generate-name]}}`
|
||||||
|
|
||||||
- Perform a dry run:
|
- Perform a dry run:
|
||||||
|
|
||||||
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Install a helm chart passing a custom values file:
|
- Install a helm chart passing a custom values file:
|
||||||
|
|
||||||
`helm install {{name}} {{repository_name}}/{{chart_name}} --values {{path/to/values.yaml}}`
|
`helm install {{name}} {{repository_name}}/{{chart_name}} {{[-f|--values]}} {{path/to/values.yaml}}`
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-s|--setup]}}`
|
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-s|--setup]}}`
|
||||||
|
|
||||||
|
- Capture the output of a serial port to a file:
|
||||||
|
|
||||||
|
`sudo minicom {{[-D|--device]}} {{/dev/ttyXYZ}} {{[-C|--capturefile]}} {{path/to/file}}`
|
||||||
|
|
||||||
- Exit minicom:
|
- Exit minicom:
|
||||||
|
|
||||||
`<Ctrl a><x><Enter>`
|
`<Ctrl a><x><Enter>`
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
`ollama list`
|
`ollama list`
|
||||||
|
|
||||||
- Pull/Update a specific model:
|
- Pull a specific model:
|
||||||
|
|
||||||
`ollama pull {{model}}`
|
`ollama pull {{model}}`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user