mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
*: improve more info links and add option placeholders part 17 (#19700)
Co-authored-by: Harshavardhan <harshath3018@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# iverilog
|
||||
|
||||
> Preprocesses and compiles Verilog HDL (IEEE-1364) code into executable programs for simulation.
|
||||
> More information: <https://github.com/steveicarus/iverilog>.
|
||||
> More information: <https://manned.org/iverilog>.
|
||||
|
||||
- Compile a source file into an executable:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# kcat
|
||||
|
||||
> Apache Kafka producer and consumer tool.
|
||||
> More information: <https://github.com/edenhill/kcat>.
|
||||
> More information: <https://manned.org/kcat>.
|
||||
|
||||
- Consume messages starting with the newest offset:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# krunvm
|
||||
|
||||
> Create MicroVMs from OCI images.
|
||||
> More information: <https://github.com/containers/krunvm>.
|
||||
> More information: <https://github.com/containers/krunvm/blob/main/docs/krunvm.1.txt>.
|
||||
|
||||
- Create MicroVM based on Fedora:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# lambo new
|
||||
|
||||
> A super-powered `laravel new` for Laravel and Valet.
|
||||
> More information: <https://github.com/tighten/lambo>.
|
||||
> More information: <https://github.com/tighten/lambo#lambo-commands>.
|
||||
|
||||
- Create a new Laravel application:
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Install the application in a specific path:
|
||||
|
||||
`lambo new --path={{path/to/directory}} {{app_name}}`
|
||||
`lambo new {{[-p|--path]}} {{path/to/directory}} {{app_name}}`
|
||||
|
||||
- Include authentication scaffolding:
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
- Create a Valet site after the project has been created:
|
||||
|
||||
`lambo new --link {{app_name}}`
|
||||
`lambo new {{[-l|--link]}} {{app_name}}`
|
||||
|
||||
- Create a new MySQL database with the same name as the project:
|
||||
|
||||
@@ -33,4 +33,4 @@
|
||||
|
||||
- Open a specific editor after the project has been created:
|
||||
|
||||
`lambo new --editor="{{editor}}" {{app_name}}`
|
||||
`lambo new {{[-e|--editor]}} "{{editor}}" {{app_name}}`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# lazygit
|
||||
|
||||
> A simple terminal UI for Git commands, providing an intuitive interface for managing repositories.
|
||||
> More information: <https://github.com/jesseduffield/lazygit>.
|
||||
> More information: <https://manned.org/lazygit>.
|
||||
|
||||
- Open Lazygit in the current repository:
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Open Lazygit for a specific Git repository:
|
||||
|
||||
`lazygit --path {{path/to/repository}}`
|
||||
`lazygit {{[-p|--path]}} {{path/to/repository}}`
|
||||
|
||||
- Start Lazygit with focus on a specific panel:
|
||||
|
||||
@@ -17,16 +17,16 @@
|
||||
|
||||
- Print the default Lazygit configuration:
|
||||
|
||||
`lazygit --config`
|
||||
`lazygit {{[-c|--config]}}`
|
||||
|
||||
- Tail the Lazygit logs (useful with debug mode in another terminal):
|
||||
|
||||
`lazygit --logs`
|
||||
`lazygit {{[-l|--logs]}}`
|
||||
|
||||
- Run Lazygit in debug mode:
|
||||
|
||||
`lazygit --debug`
|
||||
`lazygit {{[-d|--debug]}}`
|
||||
|
||||
- Print the configuration directory:
|
||||
|
||||
`lazygit --print-config-dir`
|
||||
`lazygit {{[-cd|--print-config-dir]}}`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# light-arionum-cli
|
||||
|
||||
> The PHP light wallet for the Arionum cryptocurrency.
|
||||
> More information: <https://github.com/arionum/lightWalletCLI>.
|
||||
> More information: <https://github.com/arionum/lightWalletCLI#usage>.
|
||||
|
||||
- Generate a new public/private key pair:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# lighthouse
|
||||
|
||||
> Analyzes web applications and web pages, collecting modern performance metrics and insights on developer best practices.
|
||||
> More information: <https://github.com/GoogleChrome/lighthouse>.
|
||||
> More information: <https://github.com/GoogleChrome/lighthouse#cli-options>.
|
||||
|
||||
- Generate an HTML report for a specific website and save it to a file in the current directory:
|
||||
|
||||
|
||||
@@ -17,4 +17,4 @@
|
||||
|
||||
- Match a string in product name to pick a device and set its fan speed to 0% at 20°C, 50% at 50°C and 100% at 70°C:
|
||||
|
||||
`liquidctl --match {{string}} set fan speed {{20 0 50 50 70 100}}`
|
||||
`liquidctl {{[-m|--match]}} {{string}} set fan speed {{20 0 50 50 70 100}}`
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# lspath
|
||||
|
||||
> List the contents of the `PATH` environment variable, with optional paging.
|
||||
> List the contents of the `$PATH` environment variable, with optional paging.
|
||||
> More information: <https://github.com/clementi/lspath>.
|
||||
|
||||
- Print the contents of the system `PATH` variable, with one element per line:
|
||||
- Print the contents of the system `$PATH` variable, with one element per line:
|
||||
|
||||
`lspath`
|
||||
|
||||
- Print the current contents of the system `PATH` variable, with one element per line, with the output paged:
|
||||
- Print the current contents of the system `$PATH` variable, with one element per line, with the output paged:
|
||||
|
||||
`lspath --page`
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Watch files and directories and run `rsync` when they change.
|
||||
> It is often used to keep two directories on separate systems in sync, ensuring that changes made in one directory are immediately mirrored to the other.
|
||||
> More information: <https://github.com/lsyncd/lsyncd>.
|
||||
> More information: <https://github.com/lsyncd/lsyncd/blob/master/docs/manpage/lsyncd.1.txt>.
|
||||
|
||||
- Watch the source for changes and run `rsync` to synchronize files to the destination on every change:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# mkcert
|
||||
|
||||
> Make locally-trusted development certificates.
|
||||
> More information: <https://github.com/FiloSottile/mkcert>.
|
||||
> More information: <https://manned.org/mkcert>.
|
||||
|
||||
- Install the local CA in the system trust store:
|
||||
|
||||
|
||||
+8
-8
@@ -2,11 +2,11 @@
|
||||
|
||||
> Like `grep` but with powerful replace capabilities.
|
||||
> Unlike `sed`, as it isn't restricted to line oriented editing.
|
||||
> More information: <https://github.com/nevdelap/ned>.
|
||||
> More information: <https://github.com/nevdelap/ned#ned-usage>.
|
||||
|
||||
- Recursively search starting in the current directory, ignoring case:
|
||||
|
||||
`ned --ignore-case --recursive '{{^[dl]og}}' {{.}}`
|
||||
`ned {{[-i|--ignore-case]}} {{[-R|--recursive]}} '{{^[dl]og}}' {{.}}`
|
||||
|
||||
- Search always showing colored output:
|
||||
|
||||
@@ -14,24 +14,24 @@
|
||||
|
||||
- Search never showing colored output:
|
||||
|
||||
`ned --colors=never '{{^[dl]og}}' {{.}}`
|
||||
`ned --colors never '{{^[dl]og}}' {{.}}`
|
||||
|
||||
- Search ignoring certain files:
|
||||
|
||||
`ned --recursive --exclude '{{*.htm}}' '{{^[dl]og}}' {{.}}`
|
||||
`ned {{[-R|--recursive]}} --exclude '{{*.htm}}' '{{^[dl]og}}' {{.}}`
|
||||
|
||||
- Simple replace:
|
||||
|
||||
`ned '{{dog}}' --replace '{{cat}}' {{.}}`
|
||||
`ned '{{dog}}' {{[-r|--replace]}} '{{cat}}' {{.}}`
|
||||
|
||||
- Replace using numbered group references:
|
||||
|
||||
`ned '{{the ([a-z]+) dog and the ([a-z]+) dog}}' --replace '{{the $2 dog and the $1 dog}}' {{.}}`
|
||||
`ned '{{the ([a-z]+) dog and the ([a-z]+) dog}}' {{[-r|--replace]}} '{{the $2 dog and the $1 dog}}' {{.}}`
|
||||
|
||||
- Replace changing case:
|
||||
|
||||
`ned '{{([a-z]+) dog}}' --case-replacements --replace '{{\U$1\E! dog}}' --stdout {{.}}`
|
||||
`ned '{{([a-z]+) dog}}' --case-replacements {{[-r|--replace]}} '{{\U$1\E! dog}}' --stdout {{.}}`
|
||||
|
||||
- Preview results of a find and replace without updating the target files:
|
||||
|
||||
`ned '{{^[sb]ad}}' --replace '{{happy}}' --stdout {{.}}`
|
||||
`ned '{{^[sb]ad}}' {{[-r|--replace]}} '{{happy}}' --stdout {{.}}`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# newman
|
||||
|
||||
> Collection runner for Postman.
|
||||
> More information: <https://github.com/postmanlabs/newman>.
|
||||
> More information: <https://github.com/postmanlabs/newman#command-line-options>.
|
||||
|
||||
- Run a collection (from a file):
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
> npm registry manager.
|
||||
> Helps to easily switch between different npm registries.
|
||||
> More information: <https://github.com/Pana/nrm>.
|
||||
> More information: <https://github.com/Pana/nrm#usage>.
|
||||
|
||||
- List all registries:
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
> Install, uninstall or switch between Node.js versions.
|
||||
> Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc.
|
||||
> See also: `asdf`.
|
||||
> More information: <https://github.com/creationix/nvm>.
|
||||
> More information: <https://github.com/nvm-sh/nvm#usage>.
|
||||
|
||||
- Install a specific version of Node.js:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# oxipng
|
||||
|
||||
> Losslessly improve compression of PNG files.
|
||||
> More information: <https://github.com/shssoichiro/oxipng>.
|
||||
> More information: <https://manned.org/oxipng>.
|
||||
|
||||
- Compress a PNG file (overwrites the file by default):
|
||||
|
||||
@@ -17,19 +17,19 @@
|
||||
|
||||
- Compress a file with a set optimization level (default is 2):
|
||||
|
||||
`oxipng --opt {{0|1|2|3|4|5|6|max}} {{path/to/file.png}}`
|
||||
`oxipng {{[-o|--opt]}} {{0|1|2|3|4|5|6|max}} {{path/to/file.png}}`
|
||||
|
||||
- Set the PNG interlacing type (`0` removes interlacing, `1` applies Adam7 interlacing, `keep` preserves existing interlacing; default is `0`):
|
||||
|
||||
`oxipng --interlace {{0|1|keep}} {{path/to/file.png}}`
|
||||
`oxipng {{[-i|--interlace]}} {{0|1|keep}} {{path/to/file.png}}`
|
||||
|
||||
- Perform additional optimization on images with an alpha channel:
|
||||
|
||||
`oxipng --alpha {{path/to/file.png}}`
|
||||
`oxipng {{[-a|--alpha]}} {{path/to/file.png}}`
|
||||
|
||||
- Use the much slower but stronger Zopfli compressor with max optimization:
|
||||
|
||||
`oxipng --zopfli --opt max {{path/to/file.png}}`
|
||||
`oxipng {{[-Z|--zopfli]}} {{[-o|--opt]}} max {{path/to/file.png}}`
|
||||
|
||||
- Strip all non-critical metadata chunks:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# paci
|
||||
|
||||
> A package manager for Bash scripts.
|
||||
> More information: <https://github.com/tradebyte/paci>.
|
||||
> More information: <https://github.com/tradebyte/paci#usage>.
|
||||
|
||||
- Update the list of available packages and versions (it's recommended to run this before other `paci` commands):
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# peco
|
||||
|
||||
> Interactive filtering tool.
|
||||
> More information: <https://github.com/peco/peco>.
|
||||
> More information: <https://github.com/peco/peco#command-line-options>.
|
||||
|
||||
- Start `peco` on all files in the specified directory:
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
# picom-trans
|
||||
|
||||
> Set the window opacity for the `picom` window compositor.
|
||||
> More information: <https://github.com/yshui/picom>.
|
||||
> More information: <https://github.com/yshui/picom/blob/next/man/picom-trans.1.adoc>.
|
||||
|
||||
- Set the currently focused window opacity to a specific percentage:
|
||||
|
||||
`picom-trans --current --opacity {{90}}`
|
||||
`picom-trans {{[-c|--current]}} {{[-o|--opacity]}} {{percentage}}`
|
||||
|
||||
- Set the opacity of a window with a specific name:
|
||||
|
||||
`picom-trans --name {{Firefox}} --opacity {{90}}`
|
||||
`picom-trans {{[-n|--name]}} {{Firefox}} {{[-o|--opacity]}} {{percentage}}`
|
||||
|
||||
- Set the opacity of a specific window selected via mouse cursor:
|
||||
|
||||
`picom-trans --select --opacity {{90}}`
|
||||
`picom-trans {{[-s|--select]}} {{[-o|--opacity]}} {{percentage}}`
|
||||
|
||||
- Toggle the opacity of a specific window:
|
||||
|
||||
`picom-trans --name {{Firefox}} --toggle`
|
||||
`picom-trans {{[-n|--name]}} {{Firefox}} {{[-t|--toggle]}}`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# picom
|
||||
|
||||
> Standalone compositor for Xorg.
|
||||
> More information: <https://manned.org/picom>.
|
||||
> More information: <https://github.com/yshui/picom/blob/next/man/picom.1.adoc>.
|
||||
|
||||
- Enable `picom` during a session:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# pipx
|
||||
|
||||
> Install and run Python applications in isolated environments.
|
||||
> More information: <https://github.com/pypa/pipx>.
|
||||
> More information: <https://manned.org/pipx>.
|
||||
|
||||
- Run an app in a temporary virtual environment:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Image printing in the terminal.
|
||||
> See also: `chafa`, `catimg`.
|
||||
> More information: <https://github.com/eliukblau/pixterm>.
|
||||
> More information: <https://github.com/eliukblau/pixterm#cool-screenshots>.
|
||||
|
||||
- Render a static image directly in the terminal:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# plenv
|
||||
|
||||
> Switch between multiple versions of Perl.
|
||||
> More information: <https://github.com/tokuhirom/plenv>.
|
||||
> More information: <https://github.com/tokuhirom/plenv#name>.
|
||||
|
||||
- Show the currently selected Perl version and how it was selected:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# protector
|
||||
|
||||
> Protect or unprotect branches on GitHub repositories.
|
||||
> More information: <https://github.com/jcgay/protector>.
|
||||
> More information: <https://github.com/jcgay/protector#usage>.
|
||||
|
||||
- Protect branches of a GitHub repository (create branch protection rules):
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# pueue edit
|
||||
|
||||
> Edit the command or path of a stashed or queued task.
|
||||
> More information: <https://github.com/Nukesor/pueue>.
|
||||
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
|
||||
|
||||
- Edit a task, see `pueue status` to get the task ID:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Follow the output of a currently running task.
|
||||
> See also: `pueue log`.
|
||||
> More information: <https://github.com/Nukesor/pueue>.
|
||||
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
|
||||
|
||||
- Follow the output of a task (`stdout` + `stderr`):
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# pueue help
|
||||
|
||||
> Display help for subcommands.
|
||||
> More information: <https://github.com/Nukesor/pueue>.
|
||||
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
|
||||
|
||||
- Show all available subcommands and flags:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# pueue send
|
||||
|
||||
> Send input to a task.
|
||||
> More information: <https://github.com/Nukesor/pueue>.
|
||||
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
|
||||
|
||||
- Send input to a running command:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Remotely shut down the daemon.
|
||||
> Only use this subcommand if the daemon isn't started by a service manager.
|
||||
> More information: <https://github.com/Nukesor/pueue>.
|
||||
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
|
||||
|
||||
- Shutdown the daemon without a service manager:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# pueue switch
|
||||
|
||||
> Switches the queue position of two enqueued or stashed commands.
|
||||
> More information: <https://github.com/Nukesor/pueue>.
|
||||
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
|
||||
|
||||
- Switch the priority of two tasks:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Switch between multiple versions of Python easily.
|
||||
> See also: `asdf`.
|
||||
> More information: <https://github.com/pyenv/pyenv>.
|
||||
> More information: <https://manned.org/pyenv>.
|
||||
|
||||
- List all available commands:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# qpdf
|
||||
|
||||
> Versatile PDF transformation software.
|
||||
> More information: <https://github.com/qpdf/qpdf>.
|
||||
> More information: <https://manned.org/qpdf>.
|
||||
|
||||
- Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Easily install Ruby versions and manage application environments.
|
||||
> See also: `asdf`.
|
||||
> More information: <https://github.com/rbenv/rbenv>.
|
||||
> More information: <https://manned.org/rbenv>.
|
||||
|
||||
- Install a Ruby version:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# reflex
|
||||
|
||||
> Watch a directory and rerun a command when certain files change.
|
||||
> More information: <https://github.com/cespare/reflex>.
|
||||
> More information: <https://github.com/cespare/reflex#usage>.
|
||||
|
||||
- Rebuild with `make` if any file changes:
|
||||
|
||||
@@ -9,15 +9,15 @@
|
||||
|
||||
- Compile and run Go application if any `.go` file changes:
|
||||
|
||||
`reflex --regex='{{\.go$}}' {{go run .}}`
|
||||
`reflex {{[-r|--regex]}} '{{\.go$}}' {{go run .}}`
|
||||
|
||||
- Ignore a directory when watching for changes:
|
||||
|
||||
`reflex --inverse-regex='{{^dir/}}' {{command}}`
|
||||
`reflex {{[-G|--inverse-regex]}} '{{^dir/}}' {{command}}`
|
||||
|
||||
- Run command when reflex starts and restarts on file changes:
|
||||
|
||||
`reflex --start-service=true {{command}}`
|
||||
`reflex {{[-s|--start-service]}} true {{command}}`
|
||||
|
||||
- Substitute the filename that changed in:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# retry
|
||||
|
||||
> Repeat command until it succeeds or a criterion is met.
|
||||
> More information: <https://github.com/minfrin/retry>.
|
||||
> More information: <https://manned.org/retry>.
|
||||
|
||||
- Retry a command until it succeeds:
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
- Retry a command every n seconds until it succeeds:
|
||||
|
||||
`retry --delay={{n}} {{command}}`
|
||||
`retry {{[-d|--delay]}} {{n}} {{command}}`
|
||||
|
||||
- Give up after n attempts:
|
||||
|
||||
`retry --times={{n}} {{command}}`
|
||||
`retry {{[-t|--times]}} {{n}} {{command}}`
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
|
||||
`eselect locale list`
|
||||
|
||||
- Set the `LANG` environment variable in `/etc/profile.env` by name or index from the `list` command:
|
||||
- Set the `$LANG` environment variable in `/etc/profile.env` by name or index from the `list` command:
|
||||
|
||||
`eselect locale set {{name|index}}`
|
||||
|
||||
- Display the value of `LANG` in `/etc/profile.env`:
|
||||
- Display the value of `$LANG` in `/etc/profile.env`:
|
||||
|
||||
`eselect locale show`
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`export -f {{FUNCTION_NAME}}`
|
||||
|
||||
- Append a pathname to the environment variable `PATH`:
|
||||
- Append a pathname to the environment variable `$PATH`:
|
||||
|
||||
`export PATH=$PATH:{{path/to/append}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user