Update cheatsheets

This commit is contained in:
ivuorinen
2024-08-14 00:15:26 +00:00
parent d62421bd26
commit e4b6d095d3
6 changed files with 58 additions and 7 deletions

29
tldr/aspell Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# aspell
> Interactive spell checker.
> More information: <http://aspell.net/>.
- 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`

View File

@@ -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: <https://awe-ce-cli.documentation.com/latest/reference/awe-ce/index.html>.

View File

@@ -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: <https://duc.zevv.nl/>.
- Index the /usr directory, writing to the default database location ~/.duc.db:

21
tldr/ispell Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ispell
> Interactive spell checking.
> More information: <https://www.cs.hmc.edu/~geoff/ispell-man.html>.
- Start an interactive session:
`ispell`
- Check for typos in the specified file and interactively apply suggestions:
`ispell {{path/to/file}}`
- Display version:
`ispell -v`

View File

@@ -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}}`

View File

@@ -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: