mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 09:51:02 +00:00
Update cheatsheets
This commit is contained in:
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Retrieve short-term credentials for a specific account:
|
- Retrieve short-term credentials for a specific account:
|
||||||
|
|
||||||
`aws get-role-credentials --account-id {{account}} --role-name {{role}} --access-token {{token}}`
|
`aws sso get-role-credentials --account-id {{account}} --role-name {{role}} --access-token {{token}}`
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# az version
|
# az version
|
||||||
|
|
||||||
> Shows the current version of Azure CLI modules and extensions.
|
> Show the current version of Azure CLI modules and extensions.
|
||||||
> Part of `azure-cli` (also known as `az`).
|
> Part of `azure-cli` (also known as `az`).
|
||||||
> More information: <https://learn.microsoft.com/cli/azure/reference-index?view=azure-cli-latest#az-version>.
|
> More information: <https://learn.microsoft.com/cli/azure/reference-index?view=azure-cli-latest#az-version>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# bun feedback
|
# bun feedback
|
||||||
|
|
||||||
> Sends feedback to `Bun`.
|
> Send feedback to `Bun`.
|
||||||
> More information: <https://bun.com/docs/feedback#use-bun-feedback>.
|
> More information: <https://bun.com/docs/feedback#use-bun-feedback>.
|
||||||
|
|
||||||
- Send text as feedback:
|
- Send text as feedback:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# cmatrix
|
# cmatrix
|
||||||
|
|
||||||
> Shows a scrolling Matrix like screen in the terminal.
|
> Show a scrolling Matrix like screen in the terminal.
|
||||||
> See also: `cbonsai`, `asciiquarium`, `pipes.sh`.
|
> See also: `cbonsai`, `asciiquarium`, `pipes.sh`.
|
||||||
> More information: <https://manned.org/cmatrix>.
|
> More information: <https://manned.org/cmatrix>.
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Run a `doctl databases replica` command with an access token:
|
- Run a `doctl databases replica` command with an access token:
|
||||||
|
|
||||||
`doctl {{[d|databases]}} {{[p|pool]}} {{command}} {{[-t|--access-token]}} {{access_token}}`
|
`doctl {{[d|databases]}} {{[r|replica]}} {{command}} {{[-t|--access-token]}} {{access_token}}`
|
||||||
|
|
||||||
- Retrieve information about a read-only database replica:
|
- Retrieve information about a read-only database replica:
|
||||||
|
|
||||||
|
|||||||
8
tldr/ed
8
tldr/ed
@@ -33,10 +33,10 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
`ed {{path/to/file}}`
|
`ed {{path/to/file}}`
|
||||||
|
|
||||||
- Replace a string with a specific replacement for all lines:
|
- [Interactive] Replace a string with a specific replacement for all lines:
|
||||||
|
|
||||||
`,s/{{regex}}/{{replacement}}/g<Enter>`
|
`,s/{{regex}}/{{replacement}}/g`
|
||||||
|
|
||||||
- Exit `ed`:
|
- [Interactive] Exit `ed`:
|
||||||
|
|
||||||
`q<Enter>`
|
`q`
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# elasticsearch-croneval
|
# elasticsearch-croneval
|
||||||
|
|
||||||
> Validates and evaluates a `cron` expression. This command helps verify that `cron` expressions are valid for use with Elasticsearch and produce the expected results.
|
> Validate and evaluate a `cron` expression. This command helps verify that `cron` expressions are valid for use with Elasticsearch and produce the expected results.
|
||||||
> More information: <https://www.elastic.co/docs/reference/elasticsearch/command-line-tools/elasticsearch-croneval>.
|
> More information: <https://www.elastic.co/docs/reference/elasticsearch/command-line-tools/elasticsearch-croneval>.
|
||||||
|
|
||||||
- Evaluate a `cron` expression and display the next 10 trigger times (default behavior):
|
- Evaluate a `cron` expression and display the next 10 trigger times (default behavior):
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# fc-pattern
|
# fc-pattern
|
||||||
|
|
||||||
> Shows information about a font matching a pattern.
|
> Show information about a font matching a pattern.
|
||||||
> More information: <https://manned.org/fc-pattern>.
|
> More information: <https://manned.org/fc-pattern>.
|
||||||
|
|
||||||
- Display default information about a font:
|
- Display default information about a font:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# gendesk
|
# gendesk
|
||||||
|
|
||||||
> Specifies the command to generate a `.desktop` file and a download icon with minimal information.
|
> Specify the command to generate a `.desktop` file and a download icon with minimal information.
|
||||||
> More information: <https://manned.org/gendesk>.
|
> More information: <https://manned.org/gendesk>.
|
||||||
|
|
||||||
- Create a `.desktop` file named `app`:
|
- Create a `.desktop` file named `app`:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# git bugreport
|
# git bugreport
|
||||||
|
|
||||||
> Captures debug information from the system and user, generating a text file to aid in the reporting of a bug in Git.
|
> Capture debug information from the system and user, generating a text file to aid in the reporting of a bug in Git.
|
||||||
> More information: <https://git-scm.com/docs/git-bugreport>.
|
> More information: <https://git-scm.com/docs/git-bugreport>.
|
||||||
|
|
||||||
- Create a new bug report file in the current directory:
|
- Create a new bug report file in the current directory:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# go test
|
# go test
|
||||||
|
|
||||||
> Tests Go packages (files have to end with `_test.go`).
|
> Test Go packages (files have to end with `_test.go`).
|
||||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Testing_flags>.
|
> More information: <https://pkg.go.dev/cmd/go#hdr-Testing_flags>.
|
||||||
|
|
||||||
- Test the package found in the current directory:
|
- Test the package found in the current directory:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# highlight
|
# highlight
|
||||||
|
|
||||||
> Outputs syntax-highlighted source code to a variety of formats.
|
> Output syntax-highlighted source code to a variety of formats.
|
||||||
> More information: <http://andre-simon.de/doku/highlight/en/highlight.php>.
|
> More information: <http://andre-simon.de/doku/highlight/en/highlight.php>.
|
||||||
|
|
||||||
- Produce a complete HTML document from a source code file:
|
- Produce a complete HTML document from a source code file:
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# hugo
|
# hugo
|
||||||
|
|
||||||
> Template-based static site generator. Uses modules, components, and themes.
|
> Template-based static site generator.
|
||||||
|
> Uses modules, components, and themes.
|
||||||
> Some subcommands such as `server` have their own usage documentation.
|
> Some subcommands such as `server` have their own usage documentation.
|
||||||
> More information: <https://gohugo.io/commands/>.
|
> More information: <https://gohugo.io/commands/>.
|
||||||
|
|
||||||
|
|||||||
2
tldr/if
2
tldr/if
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# if
|
# if
|
||||||
|
|
||||||
> Performs conditional processing in shell scripts.
|
> Perform conditional processing in shell scripts.
|
||||||
> See also: `test`, `[`.
|
> See also: `test`, `[`.
|
||||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs>.
|
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs>.
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
> A text-based calendar and scheduling application.
|
> A text-based calendar and scheduling application.
|
||||||
> More information: <https://lostpackets.de/khal/>.
|
> More information: <https://lostpackets.de/khal/>.
|
||||||
|
|
||||||
- Start Khal on interactive mode:
|
- Start Khal in interactive mode:
|
||||||
|
|
||||||
`ikhal`
|
`khal interactive`
|
||||||
|
|
||||||
- Print all events scheduled in personal calendar for the next seven days:
|
- Print all events scheduled in personal calendar for the next seven days:
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# kill
|
# kill
|
||||||
|
|
||||||
> Sends a signal to a process, usually related to stopping the process.
|
> Send a signal to a process, usually related to stopping the process.
|
||||||
> All signals except for SIGKILL and SIGSTOP can be intercepted by the process to perform a clean exit.
|
> All signals except for SIGKILL and SIGSTOP can be intercepted by the process to perform a clean exit.
|
||||||
> More information: <https://manned.org/kill.1posix>.
|
> More information: <https://manned.org/kill.1posix>.
|
||||||
|
|
||||||
|
|||||||
@@ -36,4 +36,4 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Permanently add custom kubeconfig files:
|
- Permanently add custom kubeconfig files:
|
||||||
|
|
||||||
`export KUBECONFIG="{{$HOME.kube/config:path/to/custom_kubeconfig.yaml}}" kubectl config get-contexts`
|
`export KUBECONFIG="{{path/to/kubeconfig1.yaml}}:{{path/to/kubeconfig2.yaml}}"`
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# kubectl run
|
# kubectl run
|
||||||
|
|
||||||
> Run pods in Kubernetes. Specifies pod generator to avoid deprecation error in some K8S versions.
|
> Run pods in Kubernetes.
|
||||||
|
> Specifies pod generator to avoid deprecation error in some K8S versions.
|
||||||
> More information: <https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/>.
|
> More information: <https://kubernetes.io/docs/reference/kubectl/generated/kubectl_run/>.
|
||||||
|
|
||||||
- Run an nginx pod and expose port 80:
|
- Run an nginx pod and expose port 80:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# acpi
|
# acpi
|
||||||
|
|
||||||
> Shows battery status or thermal information.
|
> Show battery status or thermal information.
|
||||||
> More information: <https://manned.org/acpi>.
|
> More information: <https://manned.org/acpi>.
|
||||||
|
|
||||||
- Show battery information:
|
- Show battery information:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# bootc
|
# bootc
|
||||||
|
|
||||||
> Boot and upgrade via container images.
|
> Boot and upgrade via container images.
|
||||||
> Manages transactional, in-place operating system updates using OCI/Docker container images.
|
> Manage transactional, in-place operating system updates using OCI/Docker container images.
|
||||||
> More information: <https://manned.org/bootc>.
|
> More information: <https://manned.org/bootc>.
|
||||||
|
|
||||||
- Show deployments in the order they will appear in the bootloader:
|
- Show deployments in the order they will appear in the bootloader:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# kill
|
# kill
|
||||||
|
|
||||||
> Sends a signal to a process, usually related to stopping the process.
|
> Send a signal to a process, usually related to stopping the process.
|
||||||
> All signals except for SIGKILL and SIGSTOP can be intercepted by the process to perform a clean exit.
|
> All signals except for SIGKILL and SIGSTOP can be intercepted by the process to perform a clean exit.
|
||||||
> More information: <https://manned.org/kill>.
|
> More information: <https://manned.org/kill>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# nixos-container
|
# nixos-container
|
||||||
|
|
||||||
> Starts NixOS containers using Linux containers.
|
> Start NixOS containers using Linux containers.
|
||||||
> More information: <https://nixos.org/manual/nixos/stable/#ch-containers>.
|
> More information: <https://nixos.org/manual/nixos/stable/#ch-containers>.
|
||||||
|
|
||||||
- List running containers:
|
- List running containers:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# qm suspend
|
# qm suspend
|
||||||
|
|
||||||
> Suspends a virtual machine (VM) in the Proxmox Virtual Environment (PVE).
|
> Suspend a virtual machine (VM) in the Proxmox Virtual Environment (PVE).
|
||||||
> Use `--skiplock` and `--skiplockstorage` flags with caution, as they may lead to data corruption in certain situations.
|
> Use `--skiplock` and `--skiplockstorage` flags with caution, as they may lead to data corruption in certain situations.
|
||||||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_suspend>.
|
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_suspend>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# speedread
|
# speedread
|
||||||
|
|
||||||
> A simple terminal-based open source Spritz-alike.
|
> A Spritz-alike speed reader.
|
||||||
> Shows input text as a per-word RSVP (rapid serial visual presentation) aligned on optimal reading points, which allows reading text at a much more rapid pace than usual as the eye can stay fixed on a single place.
|
> Show text using per-word Rapid Serial Visual Presentation (RSVP).
|
||||||
> More information: <https://github.com/pasky/speedread>.
|
> More information: <https://github.com/pasky/speedread>.
|
||||||
|
|
||||||
- Read a text file at a specific speed:
|
- Read a text file at a specific speed:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# logname
|
# logname
|
||||||
|
|
||||||
> Shows the user's login name.
|
> Show the user's login name.
|
||||||
> See also: `id`.
|
> See also: `id`.
|
||||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/logname-invocation.html>.
|
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/logname-invocation.html>.
|
||||||
|
|
||||||
|
|||||||
41
tldr/luanti
Normal file
41
tldr/luanti
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# luanti
|
||||||
|
|
||||||
|
> Infinite-world block sandbox game.
|
||||||
|
> More information: <https://manned.org/luanti>.
|
||||||
|
|
||||||
|
- Start Luanti in client mode:
|
||||||
|
|
||||||
|
`luanti`
|
||||||
|
|
||||||
|
- List downloaded gamemodes:
|
||||||
|
|
||||||
|
`luanti --gameid list`
|
||||||
|
|
||||||
|
- Start Luanti in server mode by hosting a specific gamemode:
|
||||||
|
|
||||||
|
`luanti --server --gameid {{game_id}}`
|
||||||
|
|
||||||
|
- Start a server with the default world once it has been created:
|
||||||
|
|
||||||
|
`luanti --server`
|
||||||
|
|
||||||
|
- Start a server with a specific world:
|
||||||
|
|
||||||
|
`luanti --server --world {{world_name}}`
|
||||||
|
|
||||||
|
- Start a server on a specific port:
|
||||||
|
|
||||||
|
`luanti --server --port {{port}}`
|
||||||
|
|
||||||
|
- Write logs to a specific file:
|
||||||
|
|
||||||
|
`luanti --logfile {{path/to/file}}`
|
||||||
|
|
||||||
|
- Only write errors to the console:
|
||||||
|
|
||||||
|
`luanti --quiet`
|
||||||
12
tldr/luantiserver
Normal file
12
tldr/luantiserver
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# luantiserver
|
||||||
|
|
||||||
|
> This command is an alias of `luanti --server`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr luanti`
|
||||||
@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# minetestserver
|
# minetestserver
|
||||||
|
|
||||||
> This command is an alias of `luantiserver`.
|
> This command is an alias of `luanti --server`.
|
||||||
|
|
||||||
- View documentation for the original command:
|
- View documentation for the original command:
|
||||||
|
|
||||||
`tldr luantiserver`
|
`tldr luanti`
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# npm audit
|
# npm audit
|
||||||
|
|
||||||
> Scan for known vulnerabilities in project dependencies.
|
> Scan project dependencies for known security vulnerabilities.
|
||||||
> Reports vulnerabilities and suggests remediation.
|
|
||||||
> More information: <https://docs.npmjs.com/cli/npm-audit/>.
|
> More information: <https://docs.npmjs.com/cli/npm-audit/>.
|
||||||
|
|
||||||
- Scan the project's dependencies for known vulnerabilities:
|
- Scan the project's dependencies for known vulnerabilities:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# contactsd
|
# contactsd
|
||||||
|
|
||||||
> Manages the information in your contacts database.
|
> Manage the information in your contacts database.
|
||||||
> It provides functionality to apps using the Contacts API and performs various background maintenance tasks.
|
> It provides functionality to apps using the Contacts API and performs various background maintenance tasks.
|
||||||
> It should not be invoked manually.
|
> It should not be invoked manually.
|
||||||
> More information: <https://keith.github.io/xcode-man-pages/contactsd.8.html>.
|
> More information: <https://keith.github.io/xcode-man-pages/contactsd.8.html>.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# launchd
|
# launchd
|
||||||
|
|
||||||
> Manages processes, both for the system and users.
|
> Manage processes, both for the system and users.
|
||||||
> You cannot invoke launchd manually, use launchctl to interact with it.
|
> You cannot invoke launchd manually, use launchctl to interact with it.
|
||||||
> More information: <https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html>.
|
> More information: <https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# secd
|
# secd
|
||||||
|
|
||||||
> Controls access to and modification of keychain items.
|
> Control access to and modification of keychain items.
|
||||||
> It should not be invoked manually.
|
> It should not be invoked manually.
|
||||||
> More information: <https://keith.github.io/xcode-man-pages/secd.8.html>.
|
> More information: <https://keith.github.io/xcode-man-pages/secd.8.html>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# translationd
|
# translationd
|
||||||
|
|
||||||
> Enables Translation features.
|
> Enable Translation features.
|
||||||
> It should not be invoked manually.
|
> It should not be invoked manually.
|
||||||
|
|
||||||
- Start the daemon:
|
- Start the daemon:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# warmd
|
# warmd
|
||||||
|
|
||||||
> Controls caches used during startup and login.
|
> Control caches used during startup and login.
|
||||||
> It should not be invoked manually.
|
> It should not be invoked manually.
|
||||||
> More information: <https://keith.github.io/xcode-man-pages/warmd.8.html>.
|
> More information: <https://keith.github.io/xcode-man-pages/warmd.8.html>.
|
||||||
|
|
||||||
|
|||||||
2
tldr/pkl
2
tldr/pkl
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# pkl
|
# pkl
|
||||||
|
|
||||||
> Manages, evaluates, and tests Pkl configuration modules.
|
> Manage, evaluate, and test Pkl configuration modules.
|
||||||
> More information: <https://pkl-lang.org/main/current/pkl-cli/>.
|
> More information: <https://pkl-lang.org/main/current/pkl-cli/>.
|
||||||
|
|
||||||
- Evaluate the given Pkl modules and produce their rendering results:
|
- Evaluate the given Pkl modules and produce their rendering results:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# poetry publish
|
# poetry publish
|
||||||
|
|
||||||
> Publishes a package to a remote repository.
|
> Publish a package to a remote repository.
|
||||||
> More information: <https://python-poetry.org/docs/cli/#publish>.
|
> More information: <https://python-poetry.org/docs/cli/#publish>.
|
||||||
|
|
||||||
- Publish the current package to PyPI:
|
- Publish the current package to PyPI:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# print
|
# print
|
||||||
|
|
||||||
> Z Shell (`zsh`) builtin. Prints arguments, similar to `echo`.
|
> Z Shell (`zsh`) builtin. Print arguments, similar to `echo`.
|
||||||
> See also: `echo`, `printf`, `zsh`.
|
> See also: `echo`, `printf`, `zsh`.
|
||||||
> More information: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.
|
> More information: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# pueue switch
|
# pueue switch
|
||||||
|
|
||||||
> Switches the queue position of two enqueued or stashed commands.
|
> Switch the queue position of two enqueued or stashed commands.
|
||||||
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
|
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
|
||||||
|
|
||||||
- Switch the priority of two tasks:
|
- Switch the priority of two tasks:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# pyflakes
|
# pyflakes
|
||||||
|
|
||||||
> Checks Python source code files for errors.
|
> Check Python source code files for errors.
|
||||||
> More information: <https://pypi.org/project/pyflakes>.
|
> More information: <https://pypi.org/project/pyflakes>.
|
||||||
|
|
||||||
- Check a single Python file:
|
- Check a single Python file:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# streamlink
|
# streamlink
|
||||||
|
|
||||||
> Extracts streams from various services and pipes them into a video player of choice.
|
> Extract streams from various services and pipes them into a video player of choice.
|
||||||
> More information: <https://streamlink.github.io/cli.html#command-line-usage>.
|
> More information: <https://streamlink.github.io/cli.html#command-line-usage>.
|
||||||
|
|
||||||
- Attempt to extract streams from the URL specified, and if it's successful, print out a list of available streams to choose from:
|
- Attempt to extract streams from the URL specified, and if it's successful, print out a list of available streams to choose from:
|
||||||
|
|||||||
@@ -19,3 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
- Make a HTML document of the full Vulkan information:
|
- Make a HTML document of the full Vulkan information:
|
||||||
|
|
||||||
`vulkaninfo --html`
|
`vulkaninfo --html`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`vulkaninfo {{[-h|--help]}}`
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# where
|
# where
|
||||||
|
|
||||||
> Reports all known instances of a command.
|
> Report all known instances of a command.
|
||||||
> It could be an executable in the `$PATH` environment variable, an alias, or a shell builtin.
|
> It could be an executable in the `$PATH` environment variable, an alias, or a shell builtin.
|
||||||
> More information: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.
|
> More information: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# if
|
# if
|
||||||
|
|
||||||
> Performs conditional processing in batch scripts.
|
> Perform conditional processing in batch scripts.
|
||||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/if>.
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/if>.
|
||||||
|
|
||||||
- Execute the specified commands if the condition is true:
|
- Execute the specified commands if the condition is true:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Invoke-WebRequest
|
# Invoke-WebRequest
|
||||||
|
|
||||||
> Performs a HTTP/HTTPS request to the Web.
|
> Perform a HTTP/HTTPS request to the Web.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Measure-Object
|
# Measure-Object
|
||||||
|
|
||||||
> Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text.
|
> Calculate the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/measure-object>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/measure-object>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Out-String
|
# Out-String
|
||||||
|
|
||||||
> Outputs input objects as a string.
|
> Output input objects as a string.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/out-string>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/out-string>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# popd
|
# popd
|
||||||
|
|
||||||
> Changes the current directory to the directory stored by the `pushd` command.
|
> Change the current directory to the directory stored by the `pushd` command.
|
||||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/popd>.
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/popd>.
|
||||||
|
|
||||||
- Switch to directory at the top of the stack:
|
- Switch to directory at the top of the stack:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Set-Acl
|
# Set-Acl
|
||||||
|
|
||||||
> Changes the security descriptor of a specified item, such as a file or a registry key.
|
> Change the security descriptor of a specified item, such as a file or a registry key.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-acl>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-acl>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Set-Date
|
# Set-Date
|
||||||
|
|
||||||
> Changes the system time on the computer to a time that you specify.
|
> Change the system time on the computer to a time that you specify.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/set-date>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/set-date>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Set-Service
|
# Set-Service
|
||||||
|
|
||||||
> Starts, stops, and suspends a service, and changes its properties.
|
> Start, stop, and suspend a service, and changes its properties.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-service>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-service>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Set-Volume
|
# Set-Volume
|
||||||
|
|
||||||
> Sets or changes the file system label of an existing volume.
|
> Set or change the file system label of an existing volume.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/storage/set-volume>.
|
> More information: <https://learn.microsoft.com/powershell/module/storage/set-volume>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# sfc
|
# sfc
|
||||||
|
|
||||||
> Scans the integrity of Windows system files.
|
> Scan the integrity of Windows system files.
|
||||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/sfc>.
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/sfc>.
|
||||||
|
|
||||||
- Display information about the usage of the command:
|
- Display information about the usage of the command:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Show-Markdown
|
# Show-Markdown
|
||||||
|
|
||||||
> Shows a Markdown file or string in the console in a friendly way using VT100 escape sequences or in a browser using HTML.
|
> Show a Markdown file or string in the console in a friendly way using VT100 escape sequences or in a browser using HTML.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/show-markdown>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/show-markdown>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Start-Service
|
# Start-Service
|
||||||
|
|
||||||
> Starts stopped services.
|
> Start stopped services.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/start-service>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/start-service>.
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# Stop-Service
|
# Stop-Service
|
||||||
|
|
||||||
> Stops running services.
|
> Stop running services.
|
||||||
> Note: This command can only be used through PowerShell.
|
> Note: This command can only be used through PowerShell.
|
||||||
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/stop-service>.
|
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/stop-service>.
|
||||||
|
|
||||||
|
|||||||
37
tldr/zabbix_agent2
Normal file
37
tldr/zabbix_agent2
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# zabbix_agent2
|
||||||
|
|
||||||
|
> Daemon for monitoring server parameters.
|
||||||
|
> More information: <https://manned.org/zabbix_agent2>.
|
||||||
|
|
||||||
|
- Start the agent with the default configuration file:
|
||||||
|
|
||||||
|
`zabbix_agent2`
|
||||||
|
|
||||||
|
- Start the agent with a custom configuration file:
|
||||||
|
|
||||||
|
`zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}}`
|
||||||
|
|
||||||
|
- Test the configuration file and exit:
|
||||||
|
|
||||||
|
`zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-T|--test-config]}}`
|
||||||
|
|
||||||
|
- Test a specific item with verbose output:
|
||||||
|
|
||||||
|
`zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-t|--test]}} {{item_key}} {{[-v|--verbose]}}`
|
||||||
|
|
||||||
|
- Reload user parameters from the configuration file (runtime control):
|
||||||
|
|
||||||
|
`zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-R|--runtime-control]}} userparameter_reload`
|
||||||
|
|
||||||
|
- Increase or decrease log level (runtime control):
|
||||||
|
|
||||||
|
`zabbix_agent2 {{[-c|--config]}} {{path/to/zabbix_agent2.conf}} {{[-R|--runtime-control]}} loglevel {{increase|decrease}}`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`zabbix_agent2 {{[-h|--help]}}`
|
||||||
41
tldr/zabbix_agentd
Normal file
41
tldr/zabbix_agentd
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# zabbix_agentd
|
||||||
|
|
||||||
|
> Daemon for monitoring server parameters.
|
||||||
|
> More information: <https://manned.org/zabbix_agentd>.
|
||||||
|
|
||||||
|
- Start the agent with the default configuration file:
|
||||||
|
|
||||||
|
`zabbix_agentd`
|
||||||
|
|
||||||
|
- Start the agent with a custom configuration file:
|
||||||
|
|
||||||
|
`zabbix_agentd {{[-c|--config]}} {{path/to/zabbix_agentd.conf}}`
|
||||||
|
|
||||||
|
- Run the agent in foreground (it stays attached to the current terminal session):
|
||||||
|
|
||||||
|
`zabbix_agentd {{[-c|--config]}} {{path/to/zabbix_agentd.conf}} {{[-f|--foreground]}}`
|
||||||
|
|
||||||
|
- Test the configuration file:
|
||||||
|
|
||||||
|
`zabbix_agentd {{[-c|--config]}} {{path/to/zabbix_agentd.conf}} {{[-T|--test-config]}}`
|
||||||
|
|
||||||
|
- Test a specific item with verbose output:
|
||||||
|
|
||||||
|
`zabbix_agentd {{[-c|--config]}} {{path/to/zabbix_agentd.conf}} {{[-t|--test]}} {{item_key}} {{[-v|--verbose]}}`
|
||||||
|
|
||||||
|
- Reload user parameters from the configuration file (runtime control):
|
||||||
|
|
||||||
|
`zabbix_agentd {{[-c|--config]}} {{path/to/zabbix_agentd.conf}} {{[-R|--runtime-control]}} userparameter_reload`
|
||||||
|
|
||||||
|
- Increase or decrease log level for all processes (runtime control):
|
||||||
|
|
||||||
|
`zabbix_agentd {{[-c|--config]}} {{path/to/zabbix_agentd.conf}} {{[-R|--runtime-control]}} log_level_{{increase|decrease}}`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`zabbix_agentd {{[-h|--help]}}`
|
||||||
41
tldr/zabbix_server
Normal file
41
tldr/zabbix_server
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# zabbix_server
|
||||||
|
|
||||||
|
> Core daemon of Zabbix software.
|
||||||
|
> More information: <https://manned.org/zabbix_server>.
|
||||||
|
|
||||||
|
- Start the server with the default configuration file:
|
||||||
|
|
||||||
|
`zabbix_server`
|
||||||
|
|
||||||
|
- Start the server with a custom configuration file:
|
||||||
|
|
||||||
|
`zabbix_server {{[-c|--config]}} {{path/to/zabbix_server.conf}}`
|
||||||
|
|
||||||
|
- Run the server in foreground:
|
||||||
|
|
||||||
|
`zabbix_server {{[-c|--config]}} {{path/to/zabbix_server.conf}} {{[-f|--foreground]}}`
|
||||||
|
|
||||||
|
- Test the configuration file and exit:
|
||||||
|
|
||||||
|
`zabbix_server {{[-c|--config]}} {{path/to/zabbix_server.conf}} {{[-T|--test-config]}}`
|
||||||
|
|
||||||
|
- Reload configuration cache (runtime control):
|
||||||
|
|
||||||
|
`zabbix_server {{[-c|--config]}} {{path/to/zabbix_server.conf}} {{[-R|--runtime-control]}} config_cache_reload`
|
||||||
|
|
||||||
|
- Execute the housekeeper (runtime control):
|
||||||
|
|
||||||
|
`zabbix_server {{[-c|--config]}} {{path/to/zabbix_server.conf}} {{[-R|--runtime-control]}} housekeeper_execute`
|
||||||
|
|
||||||
|
- Increase or decrease log level for all processes (runtime control):
|
||||||
|
|
||||||
|
`zabbix_server {{[-c|--config]}} {{path/to/zabbix_server.conf}} {{[-R|--runtime-control]}} log_level_{{increase|decrease}}`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`zabbix_server {{[-h|--help]}}`
|
||||||
41
tldr/zerotier-idtool
Normal file
41
tldr/zerotier-idtool
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# zerotier-idtool
|
||||||
|
|
||||||
|
> Create and manipulate ZeroTier identities.
|
||||||
|
> More information: <https://github.com/zerotier/ZeroTierOne/blob/dev/doc/zerotier-idtool.1.md>.
|
||||||
|
|
||||||
|
- Generate a new ZeroTier identity and output the secret part to `stdout`:
|
||||||
|
|
||||||
|
`zerotier-idtool generate`
|
||||||
|
|
||||||
|
- Generate a new ZeroTier identity and save the secret and public parts to files:
|
||||||
|
|
||||||
|
`zerotier-idtool generate {{path/to/identity.secret}} {{path/to/identity.public}}`
|
||||||
|
|
||||||
|
- Generate a new ZeroTier identity with a specific hexadecimal vanity prefix (can take a long time):
|
||||||
|
|
||||||
|
`zerotier-idtool generate {{path/to/identity.secret}} {{path/to/identity.public}} {{vanity_prefix}}`
|
||||||
|
|
||||||
|
- Extract the public portion from a secret identity:
|
||||||
|
|
||||||
|
`zerotier-idtool getpublic {{path/to/identity.secret}}`
|
||||||
|
|
||||||
|
- Sign a file using a secret identity:
|
||||||
|
|
||||||
|
`zerotier-idtool sign {{path/to/identity.secret}} {{path/to/file}}`
|
||||||
|
|
||||||
|
- Verify a signed file using a public identity and a hexadecimal signature:
|
||||||
|
|
||||||
|
`zerotier-idtool verify {{path/to/identity.public}} {{path/to/file}} {{signature_hex}}`
|
||||||
|
|
||||||
|
- Locally validate an identity's key and proof of work:
|
||||||
|
|
||||||
|
`zerotier-idtool validate {{path/to/identity.public}}`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`zerotier-idtool help`
|
||||||
Reference in New Issue
Block a user