diff --git a/tldr/az-logout b/tldr/az-logout index f99fbf82..60315d1a 100644 --- a/tldr/az-logout +++ b/tldr/az-logout @@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git - Log out a specific username: -`az logout --username {{alias@somedomain.com}}` +`az logout --username {{alias@example.com}}` diff --git a/tldr/gpgv b/tldr/gpgv index a65091dd..d1010574 100644 --- a/tldr/gpgv +++ b/tldr/gpgv @@ -6,16 +6,22 @@ source: https://github.com/tldr-pages/tldr.git # gpgv > Verify OpenPGP signatures. +> Note: `gpgv` reads trusted pubkeys from `~/.gnupg/trustedkeys.kbx` in absence of the `--keyring` option. +> See also: `gpg`. > More information: . -- Verify a signed file: +- Verify a clearsigned or inline-signed file (the signature is embedded in the file itself): -`gpgv {{path/to/file}}` +`gpgv {{path/to/file.asc}}` -- Verify a signed file using a detached signature: +- Verify a detached signature (`.asc` or `.sig`) against its corresponding data file: -`gpgv {{path/to/signature}} {{path/to/file}}` +`gpgv {{path/to/signature.asc}} {{path/to/data_file}}` -- Add a file to the list of keyrings (a single exported key also counts as a keyring): +- Verify a detached signature using a specific public keyring or exported public key file (`.gpg` or `.kbx`): -`gpgv --keyring {{./alice.keyring}} {{path/to/signature}} {{path/to/file}}` +`gpgv --keyring {{path/to/pubkey_or_keyring.gpg}} {{path/to/signature.asc}} {{path/to/data_file}}` + +- Verify a detached signature using a specific public key file in plain text format (`.txt`): + +`gpg --dearmor {{[-o|--output]}} {{path/to/pubkey.gpg}} {{path/to/pubkey.txt}} && gpgv --keyring {{path/to/pubkey.gpg}} {{path/to/signature.asc}} {{path/to/data_file}}` diff --git a/tldr/gradle-build b/tldr/gradle-build new file mode 100644 index 00000000..8b06bcbf --- /dev/null +++ b/tldr/gradle-build @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# gradle build + +> Build a project using Gradle. +> More information: . + +- Build the project: + +`gradle build` + +- Perform a clean build: + +`gradle clean build` + +- Build the project while skipping tests: + +`gradle build {{[-x|--exclude-task]}} test` + +- Build with more detailed logging: + +`gradle build {{[-i|--info]}}` diff --git a/tldr/jj-undo b/tldr/jj-undo new file mode 100644 index 00000000..239b0432 --- /dev/null +++ b/tldr/jj-undo @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# jj undo + +> Undo the most recent recorded operation in a `jj` repository. +> More information: . + +- Undo the last operation: + +`jj undo` diff --git a/tldr/linux/hwloc-ls b/tldr/linux/hwloc-ls new file mode 100644 index 00000000..65afac4f --- /dev/null +++ b/tldr/linux/hwloc-ls @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# hwloc-ls + +> This command is an alias of `lstopo-no-graphics`. + +- View documentation for the original command: + +`tldr lstopo-no-graphics` diff --git a/tldr/linux/systemctl-rescue b/tldr/linux/systemctl-rescue new file mode 100644 index 00000000..4ef50911 --- /dev/null +++ b/tldr/linux/systemctl-rescue @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl rescue + +> Enter rescue mode. +> See also: `systemctl emergency`. +> More information: . + +- Enter rescue mode: + +`systemctl rescue` + +- Enter rescue mode asynchronously: + +`systemctl rescue --no-block` diff --git a/tldr/linux/systemctl-reset-failed b/tldr/linux/systemctl-reset-failed new file mode 100644 index 00000000..f5bcec95 --- /dev/null +++ b/tldr/linux/systemctl-reset-failed @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# systemctl reset-failed + +> Reset the "failed" state of one or more units. +> More information: . + +- Reset the failed state of all units: + +`systemctl reset-failed` + +- Reset the failed state of a specific unit: + +`systemctl reset-failed {{unit}}` + +- Reset multiple units at once: + +`systemctl reset-failed {{unit_1 unit_2 ...}}` diff --git a/tldr/pake b/tldr/pake index e5931453..b6a7ed1f 100644 --- a/tldr/pake +++ b/tldr/pake @@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git - Package a web page: -`pake {{https://www.google.com/}}` +`pake {{https://www.example.com/}}` - Package a web page with a specific window size: -`pake --width {{800}} --height {{600}} {{https://www.google.com/}}` +`pake --width {{800}} --height {{600}} {{https://www.example.com/}}` - Package a web page with a custom application name and icon: -`pake --name {{Google}} --icon {{path/to/icon.ico}} {{https://www.google.com/}}` +`pake --name {{application_name}} --icon {{path/to/icon.ico}} {{https://www.example.com/}}` - Package a web page with a non-resizable window: -`pake --no-resizable {{https://www.google.com/}}` +`pake --no-resizable {{https://www.example.com/}}` - Package a web page with fullscreen mode: -`pake --fullscreen {{https://www.google.com/}}` +`pake --fullscreen {{https://www.example.com/}}` - Package a web page with a transparent title bar: -`pake --transparent {{https://www.google.com/}}` +`pake --transparent {{https://www.example.com/}}` diff --git a/tldr/sendmail b/tldr/sendmail index a2744fed..6bd02f22 100644 --- a/tldr/sendmail +++ b/tldr/sendmail @@ -12,10 +12,10 @@ source: https://github.com/tldr-pages/tldr.git `sendmail < {{message.txt}} {{username}}` -- Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt`: +- Send an email from `sender@example.com` (assuming the mail server is configured for this) to `receiver@example.com` containing the message in `message.txt`: -`sendmail < {{message.txt}} -f {{you@yourdomain.com}} {{test@gmail.com}}` +`sendmail < message.txt -f sender@example.com receiver@example.com` -- Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the file `file.zip`: +- Send an email from `sender@example.com` (assuming the mail server is configured for this) to `receiver@example.com` containing the file `file.zip`: -`sendmail < {{file.zip}} -f {{you@yourdomain.com}} {{test@gmail.com}}` +`sendmail < file.zip -f sender@example.com receiver@example.com` diff --git a/tldr/surge b/tldr/surge index 08d00042..ac81650e 100644 --- a/tldr/surge +++ b/tldr/surge @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain): -`surge {{path/to/my_project}} {{my_custom_domain.com}}` +`surge {{path/to/my_project}} {{example.com}}` - List your surge projects: @@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git - Remove a project: -`surge teardown {{my_custom_domain.com}}` +`surge teardown {{example.com}}`