mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 22:44:00 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# docker login
|
||||
|
||||
> Log into a Docker registry.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/login/>.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/login/>.
|
||||
|
||||
- Interactively log into a registry:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# docker logs
|
||||
|
||||
> Print container logs.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/logs>.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/container/logs/>.
|
||||
|
||||
- Print logs from a container:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# docker network
|
||||
|
||||
> Create and manage Docker networks.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/network/>.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/network/>.
|
||||
|
||||
- List all available and configured networks on Docker daemon:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> DNS client for Humans.
|
||||
> Written in Golang.
|
||||
> More information: <https://doggo.mrkaran.dev>.
|
||||
> More information: <https://github.com/mr-karan/doggo>.
|
||||
|
||||
- Perform a simple DNS lookup:
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Filter messages within a time range (either timestamp or placeholders like "yesterday"):
|
||||
|
||||
`journalctl --since {{now|today|yesterday|tomorrow}} --until {{YYYY-MM-DD HH:MM:SS}}`
|
||||
`journalctl --since {{now|today|yesterday|tomorrow}} --until "{{YYYY-MM-DD HH:MM:SS}}"`
|
||||
|
||||
- Show all messages by a specific process:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Display the last part of a file.
|
||||
> See also: `head`.
|
||||
> More information: <https://keith.github.io/tail.1.html>.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/tail.1.html>.
|
||||
|
||||
- Show last 'count' lines in file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user