mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 02:47:13 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/aspell
Normal file
29
tldr/aspell
Normal 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`
|
||||||
@@ -3,7 +3,7 @@ syntax: markdown
|
|||||||
tags: [tldr, common]
|
tags: [tldr, common]
|
||||||
source: https://github.com/tldr-pages/tldr.git
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
---
|
---
|
||||||
# awe-ce
|
# aws-ce
|
||||||
|
|
||||||
> Analyze and manage access controls and security settings within your Cloud Environment.
|
> 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>.
|
> More information: <https://awe-ce-cli.documentation.com/latest/reference/awe-ce/index.html>.
|
||||||
|
|||||||
3
tldr/duc
3
tldr/duc
@@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# duc
|
# 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/>.
|
> More information: <https://duc.zevv.nl/>.
|
||||||
|
|
||||||
- Index the /usr directory, writing to the default database location ~/.duc.db:
|
- Index the /usr directory, writing to the default database location ~/.duc.db:
|
||||||
|
|||||||
21
tldr/ispell
Normal file
21
tldr/ispell
Normal 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`
|
||||||
@@ -11,16 +11,16 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Assemble a file, writing the output to `a.out`:
|
- Assemble a file, writing the output to `a.out`:
|
||||||
|
|
||||||
`as {{file.s}}`
|
`as {{path/to/file.s}}`
|
||||||
|
|
||||||
- Assemble the output to a given file:
|
- 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):
|
- 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:
|
- 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}}`
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Shut down immediately without contacting the system manager:
|
- Shut down immediately without contacting the system manager:
|
||||||
|
|
||||||
`poweroff --force --force`
|
`poweroff --force`
|
||||||
|
|
||||||
- Write the wtmp shutdown entry without shutting down the system:
|
- Write the wtmp shutdown entry without shutting down the system:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user