mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:33:50 +02:00
common*: refresh old pages part 9 (#16422)
This commit is contained in:
parent
ae6dc84dac
commit
f299c2c92b
31 changed files with 49 additions and 49 deletions
|
@ -1,7 +1,7 @@
|
|||
# grip
|
||||
|
||||
> Preview GitHub-flavoured Markdown files locally.
|
||||
> More information: <https://github.com/joeyespo/grip>.
|
||||
> More information: <https://manned.org/grip>.
|
||||
|
||||
- Start the server and serve the rendered `README` file of a current directory:
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Start the server and open the `README` file of the current directory in the browser:
|
||||
|
||||
`grip --browser`
|
||||
`grip {{[-b|--browser]}}`
|
||||
|
||||
- Start the server in the specified port and serve the rendered `README` file of the current directory:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# hardhat
|
||||
|
||||
> A development environment for Ethereum software.
|
||||
> More information: <https://hardhat.org>.
|
||||
> More information: <https://hardhat.org/hardhat-runner/docs/getting-started#quick-start>.
|
||||
|
||||
- List available subcommands (or create a new project if no configuration exists):
|
||||
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
# highlight
|
||||
|
||||
> Outputs syntax-highlighted source code to a variety of formats.
|
||||
> More information: <http://www.andre-simon.de/doku/highlight/highlight.php>.
|
||||
> More information: <http://andre-simon.de/doku/highlight/en/highlight.php>.
|
||||
|
||||
- Produce a complete HTML document from a source code file:
|
||||
|
||||
`highlight --out-format={{html}} --style {{theme_name}} --syntax {{language}} {{path/to/source_code}}`
|
||||
`highlight {{[-o|--out-format]}} {{html}} {{[-s|--style]}} {{theme_name}} {{[-S|--syntax]}} {{language}} {{path/to/source_code}}`
|
||||
|
||||
- Produce an HTML fragment, suitable for inclusion in a larger document:
|
||||
|
||||
`highlight --out-format={{html}} --fragment --syntax {{language}} {{source_file}}`
|
||||
`highlight {{[-o|--out-format]}} {{html}} {{[-f|--fragment]}} {{[-S|--syntax]}} {{language}} {{source_file}}`
|
||||
|
||||
- Inline the CSS styling in every tag:
|
||||
|
||||
`highlight --out-format={{html}} --inline-css --syntax {{language}} {{source_file}}`
|
||||
`highlight {{[-o|--out-format]}} {{html}} --inline-css {{[-S|--syntax]}} {{language}} {{source_file}}`
|
||||
|
||||
- List all supported languages, themes, or plugins:
|
||||
|
||||
|
@ -21,4 +21,4 @@
|
|||
|
||||
- Print a CSS stylesheet for a theme:
|
||||
|
||||
`highlight --out-format={{html}} --print-style --style {{theme_name}} --syntax {{language}}] --stdout`
|
||||
`highlight {{[-o|--out-format]}} {{html}} --print-style {{[-s|--style]}} {{theme_name}} {{[-S|--syntax]}} {{language}}] --stdout`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Run with concurrent users and a specified amount of requests per second:
|
||||
|
||||
`loadtest --concurrency {{10}} --rps {{200}} {{https://example.com}}`
|
||||
`loadtest {{[-c|--concurrency]}} {{10}} {{[--rps|--requestsPerSecond]}} {{200}} {{https://example.com}}`
|
||||
|
||||
- Run with a custom HTTP header:
|
||||
|
||||
|
@ -13,4 +13,4 @@
|
|||
|
||||
- Run with a specific HTTP method:
|
||||
|
||||
`loadtest --method {{GET}} {{https://example.com}}`
|
||||
`loadtest {{[-m|--method]}} {{GET}} {{https://example.com}}`
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Open Broadcaster Software.
|
||||
> Video recording and livestreaming program.
|
||||
> More information: <https://obsproject.com/>.
|
||||
> More information: <https://obsproject.com/kb/launch-parameters>.
|
||||
|
||||
- Launch OBS:
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Launch OBS in portable mode:
|
||||
|
||||
`obs --portable`
|
||||
`obs {{[-p|--portable]}}`
|
||||
|
||||
- Automatically start recording a video on launch:
|
||||
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
- Display statistics for a PDF file:
|
||||
|
||||
`pdf-parser --stats {{path/to/file.pdf}}`
|
||||
`pdf-parser {{[-a|--stats]}} {{path/to/file.pdf}}`
|
||||
|
||||
- Display objects of type `/Font` in a PDF file:
|
||||
|
||||
`pdf-parser --type={{/Font}} {{path/to/file.pdf}}`
|
||||
`pdf-parser {{[-t|--type]}} {{/Font}} {{path/to/file.pdf}}`
|
||||
|
||||
- Search for strings in indirect objects:
|
||||
|
||||
`pdf-parser --search={{search_string}} {{path/to/file.pdf}}`
|
||||
`pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# pdfgrep
|
||||
|
||||
> Search text in PDF files.
|
||||
> More information: <https://pdfgrep.org>.
|
||||
> More information: <https://pdfgrep.org/doc.html>.
|
||||
|
||||
- Find lines that match pattern in a PDF:
|
||||
|
||||
|
@ -9,16 +9,16 @@
|
|||
|
||||
- Include file name and page number for each matched line:
|
||||
|
||||
`pdfgrep --with-filename --page-number {{pattern}} {{file.pdf}}`
|
||||
`pdfgrep {{[-H|--with-filename]}} {{[-n|--page-number]}} {{pattern}} {{file.pdf}}`
|
||||
|
||||
- Do a case-insensitive search for lines that begin with "foo" and return the first 3 matches:
|
||||
|
||||
`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}`
|
||||
`pdfgrep {{[-m|--max-count]}} {{3}} {{[-i|--ignore-case]}} {{'^foo'}} {{file.pdf}}`
|
||||
|
||||
- Find pattern in files with a `.pdf` extension in the current directory recursively:
|
||||
|
||||
`pdfgrep --recursive {{pattern}}`
|
||||
`pdfgrep {{[-r|--recursive]}} {{pattern}}`
|
||||
|
||||
- Find pattern on files that match a specific glob in the current directory recursively:
|
||||
|
||||
`pdfgrep --recursive --include {{'*book.pdf'}} {{pattern}}`
|
||||
`pdfgrep {{[-r|--recursive]}} --include {{'*book.pdf'}} {{pattern}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Rscript
|
||||
|
||||
> Run a script with the R programming language.
|
||||
> More information: <https://www.r-project.org>.
|
||||
> More information: <https://manned.org/Rscript>.
|
||||
|
||||
- Run a script:
|
||||
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
- List all providers:
|
||||
|
||||
`s --list-providers`
|
||||
`s {{[-l|--list-providers]}}`
|
||||
|
||||
- Search for a query with a given provider:
|
||||
|
||||
`s --provider {{provider}} {{query}}`
|
||||
`s {{[-p|--provider]}} {{provider}} {{query}}`
|
||||
|
||||
- Use a specified binary to perform the search query:
|
||||
|
||||
`s --binary "{{binary}} {{arguments}}" {{query}}`
|
||||
`s {{[-b|--binary]}} "{{binary}} {{arguments}}" {{query}}`
|
||||
|
|
|
@ -6,16 +6,16 @@
|
|||
|
||||
- Forward all IPv4 TCP traffic via a remote SSH server:
|
||||
|
||||
`sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
||||
`sshuttle {{[-r|--remote]}} {{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
||||
|
||||
- Also forward all DNS traffic to the server's default DNS resolver:
|
||||
|
||||
`sshuttle --dns --remote={{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
||||
`sshuttle --dns {{[-r|--remote]}} {{username}}@{{sshserver}} {{0.0.0.0/0}}`
|
||||
|
||||
- Forward all traffic except that which is bound for a specific subnet:
|
||||
|
||||
`sshuttle --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} --exclude {{192.168.0.1/24}}`
|
||||
`sshuttle {{[-r|--remote]}} {{username}}@{{sshserver}} {{0.0.0.0/0}} {{[-x|--exclude]}} {{192.168.0.1/24}}`
|
||||
|
||||
- Use the tproxy method to forward all IPv4 and IPv6 traffic:
|
||||
|
||||
`sshuttle --method=tproxy --remote={{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} --exclude={{your_local_ip_address}} --exclude={{ssh_server_ip_address}}`
|
||||
`sshuttle --method tproxy {{[-r|--remote]}} {{username}}@{{sshserver}} {{0.0.0.0/0}} {{::/0}} {{[-x|--exclude]}} {{your_local_ip_address}} {{[-x|--exclude]}} {{ssh_server_ip_address}}`
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Manage backups of TeX Live packages.
|
||||
> The default backup directory is specified by the `backupdir` option, and can be obtained with `tlmgr option`.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#backup>.
|
||||
|
||||
- Make a backup of one or more packages:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr candidates
|
||||
|
||||
> Get available candidate repositories from which a TeX Live package can be installed.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#candidates-pkg>.
|
||||
|
||||
- List all available repositories from which a package can be installed:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr check
|
||||
|
||||
> Check the consistency of a TeX Live installation.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#check-option...-depends-executes-files-runfiles-texmfdbs-all>.
|
||||
|
||||
- Check the consistency of the whole TeX Live installation:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr conf
|
||||
|
||||
> Manage the TeX Live configuration.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#conf>.
|
||||
|
||||
- Show the current TeX Live configuration:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr dump-tlpdb
|
||||
|
||||
> Dump the TeX Live package database.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#dump-tlpdb-option...---json>.
|
||||
|
||||
- Dump the local package database:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr generate
|
||||
|
||||
> Remake configuration files from information stored locally.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#generate>.
|
||||
|
||||
- Remake the configuration file storing into a specific location:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Start a graphical user interface for `tlmgr`.
|
||||
> `tlmgr gui` depends on the package `perl-tk`, which has to be installed manually.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#gui>.
|
||||
|
||||
- Start a GUI for `tlmgr`:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr info
|
||||
|
||||
> Show information about TeX Live packages.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#info>.
|
||||
|
||||
- List all available TeX Live packages, prefexing installed ones with `i`:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr install
|
||||
|
||||
> Install TeX Live packages.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#install-option...-pkg>.
|
||||
|
||||
- Install a package and its dependencies:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr key
|
||||
|
||||
> Manage GPG keys used to verify TeX Live databases.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#key>.
|
||||
|
||||
- List all keys for TeX Live:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr option
|
||||
|
||||
> TeX Live settings manager.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#option>.
|
||||
|
||||
- List all TeX Live settings:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr paper
|
||||
|
||||
> Manage paper size options of an TeX Live installation.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#paper>.
|
||||
|
||||
- Show the default paper size used by all TeX Live programs:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Add or remove symlinks for TeX Live executables, man pages and info pages.
|
||||
> This command has to be re-run for files added in the future.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#path>.
|
||||
|
||||
- Add symlinks to TeX Live files:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr platform
|
||||
|
||||
> Manage TeX Live platforms.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#platform>.
|
||||
|
||||
- List all available platforms in the package repository:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Uninstall TeX Live packages.
|
||||
> By default, removed packages will be backed up to `./tlpkg/backups` under the TL installation directory.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#remove-option...-pkg>.
|
||||
|
||||
- Uninstall a TeX Live package:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr repository
|
||||
|
||||
> Manage repositories of a TeX Live installation.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#repository>.
|
||||
|
||||
- List all configured repositories and their tags (if set):
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Restore package backups created with `tlmgr backup`.
|
||||
> The default backup directory is specified by the `backupdir` option, and can be obtained with `tlmgr option`.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#restore>.
|
||||
|
||||
- List all available backup revisions for all packages:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr search
|
||||
|
||||
> Search for TeX Live packages using (Perl) regular expressions.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#search>.
|
||||
|
||||
- Search for a package name and descriptions of all locally installed packages from a specific regular expression:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr shell
|
||||
|
||||
> Start an interactive shell of the native TeX Live manager.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#shell>.
|
||||
|
||||
- Start an interactive shell of `tlmgr`:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# tlmgr update
|
||||
|
||||
> Update TeX Live packages.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#update-option...-pkg>.
|
||||
|
||||
- Update all TeX Live packages:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Manage packages and configuration options of an existing TeX Live installation.
|
||||
> Some subcommands such as `paper` have their own usage documentation.
|
||||
> More information: <https://www.tug.org/texlive/tlmgr.html>.
|
||||
> More information: <https://www.tug.org/texlive/doc/tlmgr.html#ACTIONS>.
|
||||
|
||||
- Install a package and its dependencies:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue