mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-21 12:44:02 +08:00
*: use verbs instead of nouns 1 (#24132)
This commit is contained in:
@@ -4,23 +4,23 @@
|
||||
> Note: An API key is required from ProjectDiscovery Cloud Platform for the tool to work.
|
||||
> More information: <https://github.com/projectdiscovery/asnmap#usage>.
|
||||
|
||||
- Lookup CIDR ranges for an ASN:
|
||||
- Look up CIDR ranges for an ASN:
|
||||
|
||||
`asnmap {{[-a|-asn]}} {{AS5650}} -silent`
|
||||
|
||||
- Lookup CIDR ranges for an IP address:
|
||||
- Look up CIDR ranges for an IP address:
|
||||
|
||||
`asnmap {{[-i|-ip]}} {{100.19.12.21}} -silent`
|
||||
|
||||
- Lookup CIDR ranges for a domain:
|
||||
- Look up CIDR ranges for a domain:
|
||||
|
||||
`asnmap {{[-d|-domain]}} {{example.com}} -silent`
|
||||
|
||||
- Lookup CIDR ranges for an organization:
|
||||
- Look up CIDR ranges for an organization:
|
||||
|
||||
`asnmap -org {{GOOGLE}} -silent`
|
||||
|
||||
- Lookup CIDR ranges from a file of targets:
|
||||
- Look up CIDR ranges from a file of targets:
|
||||
|
||||
`asnmap {{[-f|-file]}} {{path/to/targets.txt}} -silent`
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`aws-vault exec {{profile}} -- {{aws s3 ls}}`
|
||||
|
||||
- Open a browser window and login to the AWS Console:
|
||||
- Open a browser window and log in to the AWS Console:
|
||||
|
||||
`aws-vault login {{profile}}`
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> Part of `azure-cli` (also known as `az`).
|
||||
> More information: <https://learn.microsoft.com/cli/azure/devops>.
|
||||
|
||||
- Set the Personal Access Token (PAT) to login to a particular organization:
|
||||
- Set the Personal Access Token (PAT) to log in to a particular organization:
|
||||
|
||||
`az devops login {{[--org|--organization]}} {{organization_url}}`
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
`borg init {{path/to/repo_directory}}`
|
||||
|
||||
- Backup a directory into the repository, creating an archive called "Monday":
|
||||
- Back up a directory into the repository, creating an archive called "Monday":
|
||||
|
||||
`borg create --progress {{path/to/repo_directory}}::{{Monday}} {{path/to/source_directory}}`
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
# bup
|
||||
|
||||
> Backup system based on the Git packfile format, providing incremental saves and global deduplication.
|
||||
> Back up system based on the Git packfile format, providing incremental saves and global deduplication.
|
||||
> More information: <https://manned.org/bup>.
|
||||
|
||||
- Initialize a backup repository in a given local directory:
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`bup {{[-d|--bup-dir]}} {{path/to/repository}} index {{path/to/directory}}`
|
||||
|
||||
- Backup a directory to the repository specifying its name:
|
||||
- Back up a directory to the repository specifying its name:
|
||||
|
||||
`bup {{[-d|--bup-dir]}} {{path/to/repository}} save {{[-n|--name]}} {{backup_name}} {{path/to/directory}}`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`chainctl auth login`
|
||||
|
||||
- Logout from the Chainguard Platform:
|
||||
- Log out from the Chainguard Platform:
|
||||
|
||||
`chainctl auth logout`
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
> Set of tools that makes adding a backend to your terminal-based applications, without worrying about user accounts, data storage and encryption.
|
||||
> More information: <https://manned.org/charm>.
|
||||
|
||||
- Backup your Charm account keys:
|
||||
- Back up your Charm account keys:
|
||||
|
||||
`charm backup-keys`
|
||||
|
||||
- Backup Charm account keys to a specific location:
|
||||
- Back up Charm account keys to a specific location:
|
||||
|
||||
`charm backup-keys {{[-o|--output]}} {{path/to/output_file.tar}}`
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`colima start --edit`
|
||||
|
||||
- Start and setup containerd (install `nerdctl` to use containerd via `nerdctl`):
|
||||
- Start and set up containerd (install `nerdctl` to use containerd via `nerdctl`):
|
||||
|
||||
`colima start --runtime containerd`
|
||||
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
|
||||
`cs uninstall {{application_name}}`
|
||||
|
||||
- Setup machine for the Scala development:
|
||||
- Set up machine for the Scala development:
|
||||
|
||||
`cs setup`
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
> See also: `resolvectl`, `nslookup`, `host`.
|
||||
> More information: <https://manned.org/dig>.
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records):
|
||||
- Look up the IP(s) associated with a hostname (A records):
|
||||
|
||||
`dig +short {{example.com}}`
|
||||
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@
|
||||
> It has colorful output, supports DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON.
|
||||
> More information: <https://github.com/ogham/dog#examples>.
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records):
|
||||
- Look up the IP(s) associated with a hostname (A records):
|
||||
|
||||
`dog {{example.com}}`
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
|
||||
`dog {{[-q|--query]}} {{example.com}} {{[-t|--type]}} MX {{[-n|--nameserver]}} {{1.1.1.1}} {{[-T|--tcp]}}`
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH):
|
||||
- Look up the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH):
|
||||
|
||||
`dog {{example.com}} {{[-H|--https]}} @{{https://cloudflare-dns.com/dns-query}}`
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> Some subcommands such as `run` and `secrets` have their own usage documentation.
|
||||
> More information: <https://docs.doppler.com/docs/cli>.
|
||||
|
||||
- Setup Doppler project and configuration in current directory:
|
||||
- Set up Doppler project and configuration in current directory:
|
||||
|
||||
`doppler setup`
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
> Perform various DNS queries.
|
||||
> More information: <https://manned.org/drill>.
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records):
|
||||
- Look up the IP(s) associated with a hostname (A records):
|
||||
|
||||
`drill {{example.com}}`
|
||||
|
||||
- Lookup the mail server(s) associated with a given domain name (MX record):
|
||||
- Look up the mail server(s) associated with a given domain name (MX record):
|
||||
|
||||
`drill mx {{example.com}}`
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
> Note: Depending on the version, some options may not be available (e.g. `--gio` in 2.0.0).
|
||||
> More information: <https://duplicity.gitlab.io/stable/duplicity.1.html#name>.
|
||||
|
||||
- Backup a directory via FTPS to a remote machine, encrypting it with a password:
|
||||
- Back up a directory via FTPS to a remote machine, encrypting it with a password:
|
||||
|
||||
`FTP_PASSWORD={{ftp_login_password}} PASSPHRASE={{encryption_password}} duplicity {{path/to/source_directory}} {{ftps://user@hostname/path/to/target_directory}}/`
|
||||
|
||||
- Backup a directory to Amazon S3, doing a full backup every month:
|
||||
- Back up a directory to Amazon S3, doing a full backup every month:
|
||||
|
||||
`duplicity --full-if-older-than {{1M}} s3://{{bucket_name[/prefix]}}`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Look up errno names and descriptions.
|
||||
> More information: <https://joeyh.name/code/moreutils/>.
|
||||
|
||||
- Lookup errno description by name or code:
|
||||
- Look up errno description by name or code:
|
||||
|
||||
`errno {{name|code}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# gcloud init
|
||||
|
||||
> Launch an interactive workflow to setup `gcloud` or reinitialize configurations.
|
||||
> Launch an interactive workflow to set up `gcloud` or reinitialize configurations.
|
||||
> More information: <https://docs.cloud.google.com/sdk/gcloud/reference/init>.
|
||||
|
||||
- Launch a "Getting Started" workflow:
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
`gitsome`
|
||||
|
||||
- Setup GitHub integration with the current account:
|
||||
- Set up GitHub integration with the current account:
|
||||
|
||||
`gh configure`
|
||||
|
||||
|
||||
+2
-2
@@ -7,11 +7,11 @@
|
||||
|
||||
`gyb --email {{email@gmail.com}} --action estimate`
|
||||
|
||||
- Backup a Gmail account to a specific directory:
|
||||
- Back up a Gmail account to a specific directory:
|
||||
|
||||
`gyb --email {{email@gmail.com}} --action backup --local-folder {{path/to/directory}}`
|
||||
|
||||
- Backup only important or starred emails from a Gmail account to the default local folder:
|
||||
- Back up only important or starred emails from a Gmail account to the default local folder:
|
||||
|
||||
`gyb --email {{email@gmail.com}} --search "{{is:important OR is:starred}}"`
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
> See also: `dig`, `resolvectl`, `nslookup`.
|
||||
> More information: <https://manned.org/host>.
|
||||
|
||||
- Lookup A, AAAA, and MX records of a domain:
|
||||
- Look up A, AAAA, and MX records of a domain:
|
||||
|
||||
`host {{domain}}`
|
||||
|
||||
- Lookup a field (CNAME, TXT, ...) of a domain:
|
||||
- Look up a field (CNAME, TXT, ...) of a domain:
|
||||
|
||||
`host -t {{field}} {{domain}}`
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
`jbang run {{[-i|--interactive]}}`
|
||||
|
||||
- Setup a temporary project to edit a script in an IDE:
|
||||
- Set up a temporary project to edit a script in an IDE:
|
||||
|
||||
`jbang edit --open={{codium|code|eclipse|idea|netbeans|gitpod}} {{path/to/script.java}}`
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Advanced DNS lookup utility.
|
||||
> More information: <https://www.knot-dns.cz/docs/latest/html/man_kdig.html>.
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records):
|
||||
- Look up the IP(s) associated with a hostname (A records):
|
||||
|
||||
`kdig {{example.com}}`
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
`kdig {{example.com}} {{A|AAAA|NS|SOA|DNSKEY|ANY}}`
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records) using DNS over TLS (DoT):
|
||||
- Look up the IP(s) associated with a hostname (A records) using DNS over TLS (DoT):
|
||||
|
||||
`kdig -d @{{8.8.8.8}} +tls-ca +tls-host={{dns.google}} {{example.com}}`
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH):
|
||||
- Look up the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH):
|
||||
|
||||
`kdig -d @{{1.1.1.1}} +https +tls-hostname={{1dot1dot1dot1.cloudflare-dns.com}} {{example.com}}`
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# ludusavi
|
||||
|
||||
> Backup video game save data.
|
||||
> Back up video game save data.
|
||||
> More information: <https://github.com/mtkennerly/ludusavi/blob/master/docs/cli.md>.
|
||||
|
||||
- Backup games:
|
||||
- Back up games:
|
||||
|
||||
`ludusavi backup --path {{path/to/backup}}`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# mysqldump
|
||||
|
||||
> Backups MySQL databases.
|
||||
> Back up MySQL databases.
|
||||
> See also: `mysql`.
|
||||
> More information: <https://dev.mysql.com/doc/refman/en/mysqldump.html>.
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
`mysqldump --user {{user}} --password {{database_name}} --result-file={{path/to/file.sql}}`
|
||||
|
||||
- Backup a specific table redirecting the output to a file (user will be prompted for a password):
|
||||
- Back up a specific table redirecting the output to a file (user will be prompted for a password):
|
||||
|
||||
`mysqldump --user {{user}} --password {{database_name}} {{table_name}} > {{path/to/file.sql}}`
|
||||
|
||||
- Backup all databases redirecting the output to a file (user will be prompted for a password):
|
||||
- Back up all databases redirecting the output to a file (user will be prompted for a password):
|
||||
|
||||
`mysqldump --user {{user}} --password --all-databases > {{path/to/file.sql}}`
|
||||
|
||||
- Backup all databases from a remote host, redirecting the output to a file (user will be prompted for a password):
|
||||
- Back up all databases from a remote host, redirecting the output to a file (user will be prompted for a password):
|
||||
|
||||
`mysqldump --host={{ip_or_hostname}} --user {{user}} --password --all-databases > {{path/to/file.sql}}`
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
`ntfyme exec {{[-t|--track-process]}} {{[-c|--cmd]}} {{command}}`
|
||||
|
||||
- Setup the tool configurations interactively:
|
||||
- Set up the tool configurations interactively:
|
||||
|
||||
`ntfyme setup`
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`papermc restart`
|
||||
|
||||
- Backup a world:
|
||||
- Back up a world:
|
||||
|
||||
`papermc backup`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# reg.py
|
||||
|
||||
> Query, add, delete, save or backup registry keys/values on a remote Windows machine over SMB/RPC.
|
||||
> Query, add, delete, save or back up registry keys/values on a remote Windows machine over SMB/RPC.
|
||||
> Part of the Impacket suite.
|
||||
> More information: <https://github.com/fortra/impacket>.
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
|
||||
`reg.py {{domain}}/{{username}}:{{password}}@{{target}} save -keyName '{{HKLM\SOFTWARE\Example}}' -o '\\{{target}}\{{share}}\{{output_file.reg}}'`
|
||||
|
||||
- Backup SAM, SYSTEM, and SECURITY hives to a file on a target via UNC path (requires SYSTEM privileges):
|
||||
- Back up SAM, SYSTEM, and SECURITY hives to a file on a target via UNC path (requires SYSTEM privileges):
|
||||
|
||||
`reg.py {{domain}}/{{username}}:{{password}}@{{target}} backup -o '\\{{target}}\{{share}}'`
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`restic init {{[-r|--repo]}} {{path/to/repository}}`
|
||||
|
||||
- Backup a directory to the repository:
|
||||
- Back up a directory to the repository:
|
||||
|
||||
`restic {{[-r|--repo]}} {{path/to/repository}} backup {{path/to/directory}}`
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
`rustfmt --check {{path/to/source.rs}}`
|
||||
|
||||
- Backup any modified files before formatting (the original file is renamed with a `.bk` extension):
|
||||
- Back up any modified files before formatting (the original file is renamed with a `.bk` extension):
|
||||
|
||||
`rustfmt --backup {{path/to/source.rs}}`
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> Some subcommands such as `init`, `build-init`, `device` have their own usage documentation.
|
||||
> More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/10-general/doc/module.adoc>.
|
||||
|
||||
- Setup the current environment for building for SailfishOS with a specific version and architecture target:
|
||||
- Set up the current environment for building for SailfishOS with a specific version and architecture target:
|
||||
|
||||
`sfdk config target=SailfishOS-{{5.0.0.62}}-{{aarch64}}`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
`spicetify`
|
||||
|
||||
- Backup and preprocess Spotify application files:
|
||||
- Back up and preprocess Spotify application files:
|
||||
|
||||
`spicetify backup`
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
`vibe {{[-c|--continue]}}`
|
||||
|
||||
- Start an interactive Vibe session to setup an API key then exit:
|
||||
- Start an interactive Vibe session to set up an API key then exit:
|
||||
|
||||
`vibe --setup`
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
`npm create vite@latest my-react-app -- --template react-ts`
|
||||
|
||||
- Setup using `yarn`:
|
||||
- Set up using `yarn`:
|
||||
|
||||
`yarn create vite my-react-app --template react-ts`
|
||||
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
`flock {{[-w|--timeout]}} 10 {{path/to/lock.lock}} {{command}}`
|
||||
|
||||
- Backup a bunch of files, waiting for the previous `tar` command to finish if it's still running elsewhere and holding the same lock file (can be used in a `cron` job that runs often):
|
||||
- Back up a bunch of files, waiting for the previous `tar` command to finish if it's still running elsewhere and holding the same lock file (can be used in a `cron` job that runs often):
|
||||
|
||||
`flock {{path/to/backup.lock}} {{tar -cvf path/to/backup.tar path/to/data/}}`
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# matchpathcon
|
||||
|
||||
> Lookup the persistent SELinux security context setting of a path.
|
||||
> Look up the persistent SELinux security context setting of a path.
|
||||
> See also: `semanage fcontext`, `secon`, `chcon`, `restorecon`.
|
||||
> More information: <https://manned.org/matchpathcon.8>.
|
||||
|
||||
- Lookup the persistent security context setting of an absolute path:
|
||||
- Look up the persistent security context setting of an absolute path:
|
||||
|
||||
`matchpathcon /{{path/to/file}}`
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
`znc`
|
||||
|
||||
- Setup `znc` for systemd:
|
||||
- Set up `znc` for systemd:
|
||||
|
||||
`sudo {{[-u|--user]}} znc znc {{[-c|--makeconf]}} {{[-d|--datadir]}} /var/lib/znc`
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
|
||||
`ping -i {{seconds}} "{{host}}"`
|
||||
|
||||
- Ping a host without trying to lookup symbolic names for addresses:
|
||||
- Ping a host without trying to look up symbolic names for addresses:
|
||||
|
||||
`ping -n "{{host}}"`
|
||||
|
||||
|
||||
+1
-1
@@ -23,6 +23,6 @@
|
||||
|
||||
`sudo route delete "{{destination_ip_address}}/24"`
|
||||
|
||||
- Lookup and display the route for a destination (hostname or IP address):
|
||||
- Look up and display the route for a destination (hostname or IP address):
|
||||
|
||||
`sudo route get "{{destination}}"`
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> The path of `vcvarsall` for a certain Visual Studio installation can be found using `vswhere`.
|
||||
> More information: <https://learn.microsoft.com/cpp/build/building-on-the-command-line>.
|
||||
|
||||
- Setup the environment for native x64:
|
||||
- Set up the environment for native x64:
|
||||
|
||||
`vcvarsall x64`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user