From e4b6d095d3e32bcc1efe9d2e8a11dd6780e417c6 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Wed, 14 Aug 2024 00:15:26 +0000 Subject: [PATCH] Update cheatsheets --- tldr/aspell | 29 +++++++++++++++++++++++++++++ tldr/aws-ce | 2 +- tldr/duc | 3 ++- tldr/ispell | 21 +++++++++++++++++++++ tldr/linux/as | 8 ++++---- tldr/linux/poweroff | 2 +- 6 files changed, 58 insertions(+), 7 deletions(-) create mode 100644 tldr/aspell create mode 100644 tldr/ispell diff --git a/tldr/aspell b/tldr/aspell new file mode 100644 index 00000000..75080e42 --- /dev/null +++ b/tldr/aspell @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# aspell + +> Interactive spell checker. +> More information: . + +- Spell check a single file: + +`aspell check {{path/to/file}}` + +- List misspelled words from `stdin`: + +`cat {{path/to/file}} | aspell list` + +- Show available dictionary languages: + +`aspell dicts` + +- Run `aspell` with a different language (takes two-letter ISO 639 language code): + +`aspell --lang={{cs}}` + +- List misspelled words from `stdin` and ignore words from personal word list: + +`cat {{path/to/file}} | aspell --personal={{personal-word-list.pws}} list` diff --git a/tldr/aws-ce b/tldr/aws-ce index 7530b814..f315facd 100644 --- a/tldr/aws-ce +++ b/tldr/aws-ce @@ -3,7 +3,7 @@ syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- -# awe-ce +# aws-ce > Analyze and manage access controls and security settings within your Cloud Environment. > More information: . diff --git a/tldr/duc b/tldr/duc index 3b4eb73c..18115f16 100644 --- a/tldr/duc +++ b/tldr/duc @@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # duc -> Duc is a collection of tools for indexing, inspecting and visualizing disk usage. Duc maintains a database of accumulated sizes of directories of the file system, allowing queries this database, or create fancy graphs to show where data is. +> A collection of tools for indexing, inspecting, and visualizing disk usage. +> Duc maintains a database of accumulated sizes of directories of the file system, allowing queries in this database, or creating fancy graphs to show where data is. > More information: . - Index the /usr directory, writing to the default database location ~/.duc.db: diff --git a/tldr/ispell b/tldr/ispell new file mode 100644 index 00000000..79370faf --- /dev/null +++ b/tldr/ispell @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ispell + +> Interactive spell checking. +> More information: . + +- Start an interactive session: + +`ispell` + +- Check for typos in the specified file and interactively apply suggestions: + +`ispell {{path/to/file}}` + +- Display version: + +`ispell -v` diff --git a/tldr/linux/as b/tldr/linux/as index dd342019..28407650 100644 --- a/tldr/linux/as +++ b/tldr/linux/as @@ -11,16 +11,16 @@ source: https://github.com/tldr-pages/tldr.git - Assemble a file, writing the output to `a.out`: -`as {{file.s}}` +`as {{path/to/file.s}}` - Assemble the output to a given file: -`as {{file.s}} -o {{out.o}}` +`as {{path/to/file.s}} -o {{path/to/output_file.o}}` - Generate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers): -`as -f {{file.s}}` +`as -f {{path/to/file.s}}` - Include a given path to the list of directories to search for files specified in `.include` directives: -`as -I {{path/to/directory}} {{file.s}}` +`as -I {{path/to/directory}} {{path/to/file.s}}` diff --git a/tldr/linux/poweroff b/tldr/linux/poweroff index 7e3d7c38..ade1c6cf 100644 --- a/tldr/linux/poweroff +++ b/tldr/linux/poweroff @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Shut down immediately without contacting the system manager: -`poweroff --force --force` +`poweroff --force` - Write the wtmp shutdown entry without shutting down the system: