Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker, ollama, history, tldr: fix mnemonics #12762

Merged
merged 4 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/common/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

`docker images`

- Open a shell inside a running container:
- Open an [i]nteractive [t]ty with Bourne shell (`sh`) inside a running container:

`docker exec -it {{container_name}} {{sh}}`

Expand Down
6 changes: 3 additions & 3 deletions pages/common/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

`history -{{d|f|i|E}}`

- Clear the commands history list (only for current Bash shell):
- [c]lear the commands history list (only for current Bash shell):

`history -c`

- Overwrite history file with history of current Bash shell (often combined with `history -c` to purge history):
- Over[w]rite history file with history of current Bash shell (often combined with `history -c` to purge history):

`history -w`

- Delete the history entry at the specified offset:
- [d]elete the history entry at the specified offset:

`history -d {{offset}}`
4 changes: 2 additions & 2 deletions pages/common/ollama.md
swoh816 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ollama

> A large language model runner.
> More information: <https://github.com/jmorganca/ollama>.
> More information: <https://github.com/ollama/ollama>.

- Start the daemon required to run other commands:

Expand Down Expand Up @@ -31,6 +31,6 @@

`ollama rm {{model}}`

- Create a model from a `Modelfile`:
- Create a model from a `Modelfile` ([f]):

`ollama create {{new_model_name}} -f {{path/to/Modelfile}}`
2 changes: 1 addition & 1 deletion pages/common/tldr.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

`tldr {{command}} {{subcommand}}`

- Print the tldr page for a command in the given [L]anguage (if available, otherwise fall back to English):

Check failure on line 15 in pages/common/tldr.md

View workflow job for this annotation

GitHub Actions / build

anguage ==> language

`tldr --language {{language_code}} {{command}}`

Expand All @@ -24,6 +24,6 @@

`tldr --update`

- List all pages for the current platform and `common`:
- [l]ist all pages for the current platform and `common`:

Check failure on line 27 in pages/common/tldr.md

View workflow job for this annotation

GitHub Actions / build

ist ==> is, it, its, it's, sit, list

`tldr --list`