mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 23:35:25 +02:00
docker, ollama, history, tldr: fix mnemonics (#12762)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
fa91c0c282
commit
5d974c710f
4 changed files with 7 additions and 7 deletions
|
@ -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}}`
|
||||
|
||||
|
|
|
@ -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}}`
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
@ -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}}`
|
||||
|
|
|
@ -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`:
|
||||
|
||||
`tldr --list`
|
||||
|
|
Loading…
Add table
Reference in a new issue