1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
This commit is contained in:
Antti Savolainen 2025-04-29 00:35:25 +03:00
parent 9776b1a283
commit d00c6c5116
30 changed files with 57 additions and 57 deletions

View file

@ -13,11 +13,11 @@
- Get logs for any streams in the specified group between 1 and 2 hours ago: - Get logs for any streams in the specified group between 1 and 2 hours ago:
`awslogs get {{/var/log/syslog}} --start='{{2h ago}}' --end='{{1h ago}}'` `awslogs get {{/var/log/syslog}} {{[-s|--start]}} '{{2h ago}}' {{[-e|--end]}} '{{1h ago}}'`
- Get logs that match a specific CloudWatch Logs Filter pattern: - Get logs that match a specific CloudWatch Logs Filter pattern:
`awslogs get {{/aws/lambda/my_lambda_group}} --filter-pattern='{{ERROR}}'` `awslogs get {{/aws/lambda/my_lambda_group}} --filter-pattern '{{ERROR}}'`
- Watch logs for any streams in the specified group: - Watch logs for any streams in the specified group:

View file

@ -5,12 +5,12 @@
- Display `stdout` and `stderr` of the specified command if and only if it produces a non-zero exit code or crashes: - Display `stdout` and `stderr` of the specified command if and only if it produces a non-zero exit code or crashes:
`chronic {{command options ...}}` `chronic {{command options}}`
- Display `stdout` and `stderr` of the specified command if and only if it produces a non-empty `stderr`: - Display `stdout` and `stderr` of the specified command if and only if it produces a non-empty `stderr`:
`chronic -e {{command options ...}}` `chronic -e {{command options}}`
- Enable [v]erbose mode: - Enable [v]erbose mode:
`chronic -v {{command options ...}}` `chronic -v {{command options}}`

View file

@ -9,7 +9,7 @@
- Launch Dillo with a specific window size and screen location: - Launch Dillo with a specific window size and screen location:
`dillo --geometry {{width}}x{{height}}+{{x_position}}+{{y_position}}` `dillo {{[-g|--geometry]}} {{width}}x{{height}}+{{x_position}}+{{y_position}}`
- Launch Dillo and open a specific URL: - Launch Dillo and open a specific URL:
@ -21,12 +21,12 @@
- Launch Dillo in full-screen mode: - Launch Dillo in full-screen mode:
`dillo --fullwindow` `dillo {{[-f|--fullwindow]}}`
- Display version: - Display version:
`dillo --version` `dillo {{[-v|--version]}}`
- Display help: - Display help:
`dillo --help` `dillo {{[-h|--help]}}`

View file

@ -13,7 +13,7 @@
- Scan a web server for user-defined paths with common extensions: - Scan a web server for user-defined paths with common extensions:
`dirsearch {{[-u|--url]}} {{url}} --extensions-list {{[-w|--wordlists]}} {{path/to/url-paths.txt,path/to/url-paths.txt,...}}` `dirsearch {{[-u|--url]}} {{url}} --extensions-list {{[-w|--wordlists]}} {{path/to/url-paths1.txt,path/to/url-paths2.txt,...}}`
- Scan a web server using a cookie: - Scan a web server using a cookie:

View file

@ -2,7 +2,7 @@
> F-Droid build tool. > F-Droid build tool.
> F-Droid is an installable catalog of FOSS (Free and Open Source Software) applications for the Android platform. > F-Droid is an installable catalog of FOSS (Free and Open Source Software) applications for the Android platform.
> More information: <https://f-droid.org/>. > More information: <https://f-droid.org/en/docs/Building_Applications/>.
- Build a specific app: - Build a specific app:

View file

@ -1,7 +1,7 @@
# geth # geth
> The go-ethereum command-line interface. > The go-ethereum command-line interface.
> More information: <https://geth.ethereum.org>. > More information: <https://geth.ethereum.org/docs/fundamentals/command-line-options>.
- Connect to the main Ethereum network and automatically download the full node: - Connect to the main Ethereum network and automatically download the full node:

View file

@ -1,7 +1,7 @@
# git fame # git fame
> Pretty-print Git repository contributions. > Pretty-print Git repository contributions.
> More information: <https://github.com/casperdcl/git-fame>. > More information: <https://github.com/casperdcl/git-fame#usage>.
- Calculate contributions for the current Git repository: - Calculate contributions for the current Git repository:
@ -21,11 +21,11 @@
- Display contributions per file extension: - Display contributions per file extension:
`git fame --bytype` `git fame {{[-t|--bytype]}}`
- Ignore whitespace changes: - Ignore whitespace changes:
`git fame --ignore-whitespace` `git fame {{[-w|--ignore-whitespace]}}`
- Detect inter-file line moves and copies: - Detect inter-file line moves and copies:

View file

@ -9,4 +9,4 @@
- Generate a .gitignore template: - Generate a .gitignore template:
`git ignore-io {{item_a,item_b,item_n}}` `git ignore-io {{item_a,item_b,...}}`

View file

@ -10,7 +10,7 @@
- Ignore file(s) privately, updating `.git/info/exclude` file: - Ignore file(s) privately, updating `.git/info/exclude` file:
`git ignore {{file_pattern}} --private` `git ignore {{file_pattern}} {{[-p|--private]}}`
- Ignore file(s) locally, updating local `.gitignore` file: - Ignore file(s) locally, updating local `.gitignore` file:
@ -18,4 +18,4 @@
- Ignore file(s) globally, updating global `.gitignore` file: - Ignore file(s) globally, updating global `.gitignore` file:
`git ignore {{file_pattern}} --global` `git ignore {{file_pattern}} {{[-g|--global]}}`

View file

@ -14,7 +14,7 @@
- Show only tags references in the default remote repository: - Show only tags references in the default remote repository:
`git ls-remote --tags` `git ls-remote {{[-t|--tags]}}`
- Show all references from a remote repository based on name or URL: - Show all references from a remote repository based on name or URL:

View file

@ -10,4 +10,4 @@
- Print the current working directory relative to the root of the current Git repository: - Print the current working directory relative to the root of the current Git repository:
`git root --relative` `git root {{[-r|--relative]}}`

View file

@ -1,7 +1,7 @@
# jhipster # jhipster
> Web application generator using either monolithic or microservices architecture. > Web application generator using either monolithic or microservices architecture.
> More information: <https://www.jhipster.tech/>. > More information: <https://www.jhipster.tech/creating-an-app/#command-line-options>.
- Generate a simple full-stack project (monolithic or microservices): - Generate a simple full-stack project (monolithic or microservices):
@ -25,7 +25,7 @@
- Import a JDL file to configure your application (see: <https://start.jhipster.tech/jdl-studio/>): - Import a JDL file to configure your application (see: <https://start.jhipster.tech/jdl-studio/>):
`jhipster import-jdl {{first_file.jh second_file.jh ... n_file.jh}}` `jhipster import-jdl {{file1.jh file2.jh ...}}`
- Generate a CI/CD pipeline for your application: - Generate a CI/CD pipeline for your application:

View file

@ -1,7 +1,7 @@
# josm # josm
> Extensible OpenStreetMap editor for Java 8+. > Extensible OpenStreetMap editor for Java 8+.
> More information: <https://josm.openstreetmap.de/>. > More information: <https://manned.org/josm>.
- Launch JOSM: - Launch JOSM:

View file

@ -25,7 +25,7 @@
- Invoke a chaincode method with the specified arguments: - Invoke a chaincode method with the specified arguments:
`minifab invoke {{[-n|--chaincode-name]}} {{chaincode_name}} {{[-p|--chaincode-parameters]}} '"{{method_name}}", "{{argument1}}", "{{argument2}}", ...'` `minifab invoke {{[-n|--chaincode-name]}} {{chaincode_name}} {{[-p|--chaincode-parameters]}} '"{{method_name}}", {{"argument1", "argument2", ...}}'`
- Make a query on the ledger: - Make a query on the ledger:

View file

@ -5,23 +5,23 @@
- Import a JSON file into a specific collection: - Import a JSON file into a specific collection:
`mongoimport --file={{path/to/file.json}} --uri={{mongodb_uri}} --collection={{collection_name}}` `mongoimport --file {{path/to/file.json}} --uri {{mongodb_uri}} {{[-c|--collection]}} {{collection_name}}`
- Import a CSV file, using the first line of the file to determine field names: - Import a CSV file, using the first line of the file to determine field names:
`mongoimport --type={{csv}} --file={{path/to/file.csv}} --db={{database_name}} --collection={{collection_name}}` `mongoimport --type {{csv}} --file {{path/to/file.csv}} {{[-d|--db]}} {{database_name}} {{[-c|--collection]}} {{collection_name}}`
- Import a JSON array, using each element as a separate document: - Import a JSON array, using each element as a separate document:
`mongoimport --jsonArray --file={{path/to/file.json}}` `mongoimport --jsonArray --file {{path/to/file.json}}`
- Import a JSON file using a specific mode and a query to match existing documents: - Import a JSON file using a specific mode and a query to match existing documents:
`mongoimport --file={{path/to/file.json}} --mode={{delete|merge|upsert}} --upsertFields="{{field1,field2,...}}"` `mongoimport --file {{path/to/file.json}} --mode {{delete|merge|upsert}} --upsertFields "{{field1,field2,...}}"`
- Import a CSV file, reading field names from a separate CSV file and ignoring fields with empty values: - Import a CSV file, reading field names from a separate CSV file and ignoring fields with empty values:
`mongoimport --type={{csv}} --file={{path/to/file.csv}} --fieldFile={{path/to/field_file.csv}} --ignoreBlanks` `mongoimport --type {{csv}} --file {{path/to/file.csv}} --fieldFile {{path/to/field_file.csv}} --ignoreBlanks`
- Display help: - Display help:

View file

@ -6,7 +6,7 @@
- Play an audio source exactly `n` times (0 means forever): - Play an audio source exactly `n` times (0 means forever):
`mpg321 {{[-l|--loop]}} {{n}} {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` `mpg321 {{[-l|--loop]}} {{n}} {{path/to/file_a|URL path/to/file_b|URL ...}}`
- Play a directory recursively: - Play a directory recursively:
@ -14,15 +14,15 @@
- Enable Basic Keys ( `*` or `/` - Increase or decrease volume, `n` - Skip song, `m` - Mute/unmute.) while playing: - Enable Basic Keys ( `*` or `/` - Increase or decrease volume, `n` - Skip song, `m` - Mute/unmute.) while playing:
`mpg321 -K {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` `mpg321 -K {{path/to/file_a|URL path/to/file_b|URL ...}}`
- Play files randomly until interrupted: - Play files randomly until interrupted:
`mpg321 {{[-Z|--random]}} {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` `mpg321 {{[-Z|--random]}} {{path/to/file_a|URL path/to/file_b|URL ...}}`
- Shuffle the files before playing them once: - Shuffle the files before playing them once:
`mpg321 {{[-z|--shuffle]}} {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` `mpg321 {{[-z|--shuffle]}} {{path/to/file_a|URL path/to/file_b|URL ...}}`
- Play all files in the current directory and subdirectories, randomly (until interrupted), with Basic Keys enabled: - Play all files in the current directory and subdirectories, randomly (until interrupted), with Basic Keys enabled:

View file

@ -10,11 +10,11 @@
- Start a shell with the specified packages available: - Start a shell with the specified packages available:
`nix-shell {{[-p|--packages]}} {{pkg1 pkg2 pkg3...}}` `nix-shell {{[-p|--packages]}} {{pkg1 pkg2 pkg3 ...}}`
- Install some packages permanently: - Install some packages permanently:
`nix-env {{[-iA|--install --attr]}} {{nixpkgs.pkg1 nixpkgs.pkg2...}}` `nix-env {{[-iA|--install --attr]}} {{nixpkgs.pkg1 nixpkgs.pkg2 ...}}`
- Show all dependencies of a store path (package), in a tree format: - Show all dependencies of a store path (package), in a tree format:

View file

@ -6,7 +6,7 @@
- Search `nixpkgs` for a package based on its name or description: - Search `nixpkgs` for a package based on its name or description:
`nix search {{nixpkgs}} {{search_term...}}` `nix search {{nixpkgs}} {{search_term}}`
- Show description of a package from nixpkgs: - Show description of a package from nixpkgs:

View file

@ -5,7 +5,7 @@
- Remove one or more images given their names: - Remove one or more images given their names:
`podman rmi {{image:tag}} {{image2:tag}} {{...}}` `podman rmi {{image:tag image2:tag ...}}`
- Force remove an image: - Force remove an image:

View file

@ -21,7 +21,7 @@
- Search local documentation: - Search local documentation:
`raco docs {{search_terms ...}}` `raco docs {{search_terms}}`
- Display help: - Display help:

View file

@ -1,7 +1,7 @@
# react-native start # react-native start
> Command-line tools to start the React Native server. > Command-line tools to start the React Native server.
> More information: <https://github.com/react-native-community/cli/blob/master/docs/commands.md#start>. > More information: <https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin#start>.
- Start the server that communicates with connected devices: - Start the server that communicates with connected devices:

View file

@ -13,7 +13,7 @@
- Scan a specific list of ports: - Scan a specific list of ports:
`rustscan {{[-p|--ports]}} {{port1,port2,...,portN}} {{[-a|--addresses]}} {{address_or_addresses}}` `rustscan {{[-p|--ports]}} {{port1,port2,...}} {{[-a|--addresses]}} {{address_or_addresses}}`
- Scan a specific range of ports: - Scan a specific range of ports:

View file

@ -10,7 +10,7 @@
- Reformat specific files or directories with a custom formatting configuration: - Reformat specific files or directories with a custom formatting configuration:
`scalafmt --config {{path/to/.scalafmt.conf}} {{path/to/file_or_directory}} {{path/to/file_or_directory}} {{...}}` `scalafmt --config {{path/to/.scalafmt.conf}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Check if files are correctly formatted, returning `0` if all files respect the formatting style: - Check if files are correctly formatted, returning `0` if all files respect the formatting style:
@ -18,7 +18,7 @@
- Exclude files or directories: - Exclude files or directories:
`scalafmt --exclude {{path/to/file_or_directory}} {{...}}` `scalafmt --exclude {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Format only files that were edited against the current Git branch: - Format only files that were edited against the current Git branch:

View file

@ -9,20 +9,20 @@
- Test a list of URLs: - Test a list of URLs:
`siege --file {{path/to/url_list.txt}}` `siege {{[-f|--file]}} {{path/to/url_list.txt}}`
- Test list of URLs in a random order (Simulates internet traffic): - Test list of URLs in a random order (Simulates internet traffic):
`siege --internet --file {{path/to/url_list.txt}}` `siege {{[-i|--internet]}} {{[-f|--file]}} {{path/to/url_list.txt}}`
- Benchmark a list of URLs (without waiting between requests): - Benchmark a list of URLs (without waiting between requests):
`siege --benchmark --file {{path/to/url_list.txt}}` `siege {{[-b|--benchmark]}} {{[-f|--file]}} {{path/to/url_list.txt}}`
- Set the amount of concurrent connections: - Set the amount of concurrent connections:
`siege --concurrent={{50}} --file {{path/to/url_list.txt}}` `siege {{[-c|--concurrent]}} {{50}} {{[-f|--file]}} {{path/to/url_list.txt}}`
- Set how long for the siege to run for: - Set how long for the siege to run for:
`siege --time={{30s}} --file {{path/to/url_list.txt}}` `siege {{[-t|--time]}} {{30s}} {{[-f|--file]}} {{path/to/url_list.txt}}`

View file

@ -5,7 +5,7 @@
- Download songs from the provided URLs and embed metadata: - Download songs from the provided URLs and embed metadata:
`spotdl {{open.spotify.com/playlist/playlistId open.spotify.com/track/trackId ...}}` `spotdl {{open.spotify.com/playlist/playlistId1 open.spotify.com/track/trackId2 ...}}`
- Start a web interface to download individual songs: - Start a web interface to download individual songs:
@ -13,4 +13,4 @@
- Save only the metadata without downloading anything: - Save only the metadata without downloading anything:
`spotdl save {{open.spotify.com/playlist/playlistId ...}} --save-file {{path/to/save_file.spotdl}}` `spotdl save {{open.spotify.com/playlist/playlistId1 open.spotify.com/track/trackId2 ...}} --save-file {{path/to/save_file.spotdl}}`

View file

@ -29,7 +29,7 @@
- Show only specific information about a package: - Show only specific information about a package:
`tlmgr info {{package}} --data "{{name}},{{category}},{{installed}},{{size}},{{depends}},..."` `tlmgr info {{package}} --data "{{name}},{{category}},{{installed}},{{size}},{{depends}},{{...}}"`
- Print all available packages as JSON encoded array: - Print all available packages as JSON encoded array:

View file

@ -9,7 +9,7 @@
- Create a new instance: - Create a new instance:
`VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} instance create --domain-name={{domain_name}} --image-id={{image_id}} | {{--options...}}` `VBoxManage cloud --provider={{provider_name}} --profile={{profile_name}} instance create --domain-name={{domain_name}} --image-id={{image_id}}`
- Gather information about a particular instance: - Gather information about a particular instance:

View file

@ -1,7 +1,7 @@
# whois # whois
> Command-line client for the WHOIS (RFC 3912) protocol. > Command-line client for the WHOIS (RFC 3912) protocol.
> More information: <https://github.com/rfc1036/whois>. > More information: <https://manned.org/whois>.
- Get information about a domain name: - Get information about a domain name:

View file

@ -1,7 +1,7 @@
# wrangler # wrangler
> Cloudflare Workers command-line tool. > Cloudflare Workers command-line tool.
> More information: <https://developers.cloudflare.com/workers/>. > More information: <https://developers.cloudflare.com/workers/wrangler/commands/>.
- Initialize a project with a skeleton configuration: - Initialize a project with a skeleton configuration:

View file

@ -5,19 +5,19 @@
- Validate one or more XML documents for well-formedness only: - Validate one or more XML documents for well-formedness only:
`xml validate {{path/to/input1.xml|URI}} {{input2.xml ...}}` `xml validate {{path/to/input1.xml|URI1 path/to/input2.xml|URI2 ...}}`
- Validate one or more XML documents against a Document Type Definition (DTD): - Validate one or more XML documents against a Document Type Definition (DTD):
`xml validate --dtd {{path/to/schema.dtd}} {{path/to/input1.xml|URI}} {{input2.xml ...}}` `xml validate --dtd {{path/to/schema.dtd}} {{path/to/input1.xml|URI1 path/to/input2.xml|URI2 ...}}`
- Validate one or more XML documents against an XML Schema Definition (XSD): - Validate one or more XML documents against an XML Schema Definition (XSD):
`xml validate --xsd {{path/to/schema.xsd}} {{path/to/input1.xml|URI}} {{input2.xml ...}}` `xml validate --xsd {{path/to/schema.xsd}} {{path/to/input1.xml|URI1 path/to/input2.xml|URI2 ...}}`
- Validate one or more XML documents against a Relax NG schema (RNG): - Validate one or more XML documents against a Relax NG schema (RNG):
`xml validate --relaxng {{path/to/schema.rng}} {{path/to/input1.xml|URI}} {{input2.xml ...}}` `xml validate --relaxng {{path/to/schema.rng}} {{path/to/input1.xml|URI1 path/to/input2.xml|URI2 ...}}`
- Display help: - Display help: