From 17ff6e81d6e575253a2d2961583e30763edca030 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Fri, 11 Jul 2025 00:21:14 +0000 Subject: [PATCH] Update cheatsheets --- tldr/gunzip | 6 +++--- tldr/helm-install | 4 ++-- tldr/linux/minicom | 4 ++++ tldr/ollama | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tldr/gunzip b/tldr/gunzip index 9302cada..587e2031 100644 --- a/tldr/gunzip +++ b/tldr/gunzip @@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git - 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: -`gunzip --keep {{archive.tar.gz}}` +`gunzip {{[-k|--keep]}} {{archive.tar.gz}}` - List the contents of a compressed file: -`gunzip --list {{file.txt.gz}}` +`gunzip {{[-l|--list]}} {{file.txt.gz}}` - Decompress an archive from `stdin`: diff --git a/tldr/helm-install b/tldr/helm-install index 86ae32a7..37dab4c7 100644 --- a/tldr/helm-install +++ b/tldr/helm-install @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - 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: @@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git - 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}}` diff --git a/tldr/linux/minicom b/tldr/linux/minicom index 2012c887..38f5631c 100644 --- a/tldr/linux/minicom +++ b/tldr/linux/minicom @@ -20,6 +20,10 @@ source: https://github.com/tldr-pages/tldr.git `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: `` diff --git a/tldr/ollama b/tldr/ollama index e66ea458..49cef9da 100644 --- a/tldr/ollama +++ b/tldr/ollama @@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git `ollama list` -- Pull/Update a specific model: +- Pull a specific model: `ollama pull {{model}}`