Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-05 00:21:02 +00:00
parent 968390f769
commit e452860d9b
156 changed files with 258 additions and 258 deletions

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`argospm install translate-es_en` `argospm install translate-es_en`
- Translate some text from Spanish (`es`) to English (`en`) (Note: only two letter language codes are supported): - Translate some text from Spanish (`es`) to English (`en`) (Note: Only two letter language codes are supported):
`argos-translate --from-lang es --to-lang en {{un texto corto}}` `argos-translate --from-lang es --to-lang en {{un texto corto}}`
@@ -32,6 +32,6 @@ source: https://github.com/tldr-pages/tldr.git
`argospm update` `argospm update`
- Translate from `ar` to `ru` (Note: this requires the translation pairs `translate-ar_en` and `translate-en_ru` to be installed): - Translate from `ar` to `ru` (Note: This requires the translation pairs `translate-ar_en` and `translate-en_ru` to be installed):
`argos-translate --from-lang ar --to-lang ru {{صورة تساوي أكثر من ألف كلمة}}` `argos-translate --from-lang ar --to-lang ru {{صورة تساوي أكثر من ألف كلمة}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# bfg # bfg
> Remove large files or passwords from Git history like git-filter-branch. > Remove large files or passwords from Git history like git-filter-branch.
> Note: if your repository is connected to a remote, you will need to force push to it. > Note: If your repository is connected to a remote, you will need to force push to it.
> More information: <https://rtyley.github.io/bfg-repo-cleaner/>. > More information: <https://rtyley.github.io/bfg-repo-cleaner/>.
- Remove a file with sensitive data but leave the latest commit untouched: - Remove a file with sensitive data but leave the latest commit untouched:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# calibre-server # calibre-server
> A server application to distribute e-books over a network. > A server application to distribute e-books over a network.
> Note: e-books must already be imported into the library using the GUI or the `calibredb` CLI. > Note: E-books must already be imported into the library using the GUI or the `calibredb` CLI.
> Part of the Calibre e-book library. > Part of the Calibre e-book library.
> More information: <https://manual.calibre-ebook.com/generated/en/calibre-server.html>. > More information: <https://manual.calibre-ebook.com/generated/en/calibre-server.html>.

View File

@@ -21,6 +21,6 @@ source: https://github.com/tldr-pages/tldr.git
`cargo metadata --format-version {{version}}` `cargo metadata --format-version {{version}}`
- Print metadata with the `resolve` field including dependencies only for the given target triple (Note: the `packages` array will still include the dependencies for all targets): - Print metadata with the `resolve` field including dependencies only for the given target triple (Note: The `packages` array will still include the dependencies for all targets):
`cargo metadata --filter-platform {{target_triple}}` `cargo metadata --filter-platform {{target_triple}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cargo publish # cargo publish
> Upload a package to a registry. > Upload a package to a registry.
> Note: you have to add an authentication token using `cargo login` before publishing a package. > Note: You have to add an authentication token using `cargo login` before publishing a package.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-publish.html>. > More information: <https://doc.rust-lang.org/cargo/commands/cargo-publish.html>.
- Perform checks, create a `.crate` file and upload it to the registry: - Perform checks, create a `.crate` file and upload it to the registry:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cargo run # cargo run
> Run the current Cargo package. > Run the current Cargo package.
> Note: the working directory of the executed binary will be set to the current working directory. > Note: The working directory of the executed binary will be set to the current working directory.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-run.html>. > More information: <https://doc.rust-lang.org/cargo/commands/cargo-run.html>.
- Run the default binary target: - Run the default binary target:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cargo tree # cargo tree
> Display a tree visualization of a dependency graph. > Display a tree visualization of a dependency graph.
> Note: in the tree, dependencies of packages marked with `(*)` have already been shown elsewhere in the graph, and so are not repeated. > Note: In the tree, dependencies of packages marked with `(*)` have already been shown elsewhere in the graph, and so are not repeated.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-tree.html>. > More information: <https://doc.rust-lang.org/cargo/commands/cargo-tree.html>.
- Show a dependency tree of the current project: - Show a dependency tree of the current project:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cargo yank # cargo yank
> Remove a pushed crate from the index. This should only be used when you accidentally release a significantly broken crate. > Remove a pushed crate from the index. This should only be used when you accidentally release a significantly broken crate.
> Note: this does not remove any data. The crate is still present after a yank - this just prevents new projects from using it. > Note: This does not remove any data. The crate is still present after a yank - this just prevents new projects from using it.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-yank.html>. > More information: <https://doc.rust-lang.org/cargo/commands/cargo-yank.html>.
- Yank the specified version of a crate: - Yank the specified version of a crate:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ccache # ccache
> C/C++ compiler cache. > C/C++ compiler cache.
> Note: packages usually provide symlinks for compilers in `/usr/lib/ccache/bin`. Prepend this directory to `$PATH` to automatically use `ccache` for them. > Note: Packages usually provide symlinks for compilers in `/usr/lib/ccache/bin`. Prepend this directory to `$PATH` to automatically use `ccache` for them.
> More information: <https://ccache.dev/manual/latest.html>. > More information: <https://ccache.dev/manual/latest.html>.
- Show current cache statistics: - Show current cache statistics:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cksum # cksum
> Calculate CRC checksums and byte counts of a file. > Calculate CRC checksums and byte counts of a file.
> Note: on old UNIX systems the CRC implementation may differ. > Note: On old UNIX systems the CRC implementation may differ.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/cksum-invocation.html>. > More information: <https://www.gnu.org/software/coreutils/manual/html_node/cksum-invocation.html>.
- Display a 32-bit checksum, size in bytes and filename: - Display a 32-bit checksum, size in bytes and filename:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# convert # convert
> This command is an alias of `magick convert`. > This command is an alias of `magick convert`.
> Note: this alias is deprecated since ImageMagick 7. It has been replaced by `magick`. > Note: This alias is deprecated since ImageMagick 7. It has been replaced by `magick`.
> Use `magick convert` if you need to use the old tool in versions 7+. > Use `magick convert` if you need to use the old tool in versions 7+.
- View documentation for the original command: - View documentation for the original command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cupsaccept # cupsaccept
> Accept jobs sent to destinations. > Accept jobs sent to destinations.
> Note: destination is referred as a printer or a class of printers. > Note: Destination is referred as a printer or a class of printers.
> See also: `cupsreject`, `cupsenable`, `cupsdisable`, `lpstat`. > See also: `cupsreject`, `cupsenable`, `cupsdisable`, `lpstat`.
> More information: <https://www.cups.org/doc/man-cupsaccept.html>. > More information: <https://www.cups.org/doc/man-cupsaccept.html>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cupsdisable # cupsdisable
> Stop printers and classes. > Stop printers and classes.
> Note: destination is referred as a printer or a class of printers. > Note: Destination is referred as a printer or a class of printers.
> See also: `cupsenable`, `cupsaccept`, `cupsreject`, `lpstat`. > See also: `cupsenable`, `cupsaccept`, `cupsreject`, `lpstat`.
> More information: <https://openprinting.github.io/cups/doc/man-cupsenable.html>. > More information: <https://openprinting.github.io/cups/doc/man-cupsenable.html>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cupsenable # cupsenable
> Start printers and classes. > Start printers and classes.
> Note: destination is referred as a printer or a class of printers. > Note: Destination is referred as a printer or a class of printers.
> See also: `cupsdisable`, `cupsaccept`, `cupsreject`, `lpstat`. > See also: `cupsdisable`, `cupsaccept`, `cupsreject`, `lpstat`.
> More information: <https://www.cups.org/doc/man-cupsenable.html>. > More information: <https://www.cups.org/doc/man-cupsenable.html>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cupsreject # cupsreject
> Reject jobs sent to printers. > Reject jobs sent to printers.
> Note: destination is referred as a printer or a class of printers. > Note: Destination is referred as a printer or a class of printers.
> See also: `cupsaccept`, `cupsenable`, `cupsdisable`, `lpstat`. > See also: `cupsaccept`, `cupsenable`, `cupsdisable`, `lpstat`.
> More information: <https://www.cups.org/doc/man-cupsaccept.html>. > More information: <https://www.cups.org/doc/man-cupsaccept.html>.

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Test conformance of PPD files to the version 4.3 of the specification. > Test conformance of PPD files to the version 4.3 of the specification.
> Error codes (1, 2, 3 and 4, respectively): bad CLI arguments, unable to open file, unskippable format errors and non-conformance with PPD specification. > Error codes (1, 2, 3 and 4, respectively): bad CLI arguments, unable to open file, unskippable format errors and non-conformance with PPD specification.
> Note: this command is deprecated. > Note: This command is deprecated.
> See also: `lpadmin`. > See also: `lpadmin`.
> More information: <https://openprinting.github.io/cups/doc/man-cupstestppd.html>. > More information: <https://openprinting.github.io/cups/doc/man-cupstestppd.html>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# d2 # d2
> A modern diagram scripting language that turns text to diagrams. > A modern diagram scripting language that turns text to diagrams.
> Note: the output file supports SVG and PNG file formats. > Note: The output file supports SVG and PNG file formats.
> More information: <https://d2lang.com/tour/man>. > More information: <https://d2lang.com/tour/man>.
- Compile and render a D2 source file into an output file: - Compile and render a D2 source file into an output file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dbx # dbx
> Interact with the Databricks platform. > Interact with the Databricks platform.
> Note: this tool has been retired and it is recommended to use Databricks Asset Bundles instead. > Note: This tool has been retired and it is recommended to use Databricks Asset Bundles instead.
> More information: <https://dbx.readthedocs.io/en/latest/reference/cli/#dbx>. > More information: <https://dbx.readthedocs.io/en/latest/reference/cli/#dbx>.
- Create a new `dbx` project in the current working directory: - Create a new `dbx` project in the current working directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dnsx # dnsx
> A fast and multi-purpose DNS toolkit to run multiple DNS queries. > A fast and multi-purpose DNS toolkit to run multiple DNS queries.
> Note: input to `dnsx` needs to be passed through `stdin` (pipe `|`) in some cases. > Note: Input to `dnsx` needs to be passed through `stdin` (pipe `|`) in some cases.
> See also: `dig`, `dog`, `dnstracer`. > See also: `dig`, `dog`, `dnstracer`.
> More information: <https://docs.projectdiscovery.io/tools/dnsx/running>. > More information: <https://docs.projectdiscovery.io/tools/dnsx/running>.

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Print given arguments. > Print given arguments.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/echo-invocation.html>. > More information: <https://www.gnu.org/software/coreutils/manual/html_node/echo-invocation.html>.
- Print a text message. Note: quotes are optional: - Print a text message. Note: Quotes are optional:
`echo "{{Hello World}}"` `echo "{{Hello World}}"`

View File

@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
`echo "{{some_text}}" | FileCheck {{path/to/check_file}}` `echo "{{some_text}}" | FileCheck {{path/to/check_file}}`
- Match with the specified custom check `prefix` (Note: the default prefix is `CHECK`): - Match with the specified custom check `prefix` (Note: The default prefix is `CHECK`):
`echo "{{some_text}}" | FileCheck --check-prefix={{prefix}} {{path/to/check_file}}` `echo "{{some_text}}" | FileCheck --check-prefix={{prefix}} {{path/to/check_file}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ghostty # ghostty
> A fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. > A fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.
> Note: all options from the configuration file can also be used on the command-line (using `--option=argument`). > Note: All options from the configuration file can also be used on the command-line (using `--option=argument`).
> More information: <https://ghostty.org/docs/config/reference>. > More information: <https://ghostty.org/docs/config/reference>.
- Open a new Ghostty window (not supported on macOS): - Open a new Ghostty window (not supported on macOS):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Distributed version control system. > Distributed version control system.
> Some subcommands such as `commit`, `add`, `branch`, `checkout`, `push`, etc. have their own usage documentation. > Some subcommands such as `commit`, `add`, `branch`, `checkout`, `push`, etc. have their own usage documentation.
> More information: <https://git-scm.com/>. > More information: <https://git-scm.com/docs/git>.
- Execute a Git subcommand: - Execute a Git subcommand:

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Print messages about the patched files: - Print messages about the patched files:
`git apply --verbose {{path/to/file}}` `git apply {{[-v|--verbose]}} {{path/to/file}}`
- Apply and add the patched files to the index: - Apply and add the patched files to the index:
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Apply a remote patch file: - Apply a remote patch file:
`curl -L {{https://example.com/file.patch}} | git apply` `curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply`
- Output diffstat for the input and apply the patch: - Output diffstat for the input and apply the patch:
@@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
- Apply the patch in reverse: - Apply the patch in reverse:
`git apply --reverse {{path/to/file}}` `git apply {{[-R|--reverse]}} {{path/to/file}}`
- Store the patch result in the index without modifying the working tree: - Store the patch result in the index without modifying the working tree:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git for-each-repo # git for-each-repo
> Run a Git command on a list of repositories. > Run a Git command on a list of repositories.
> Note: this command is experimental and may change. > Note: This command is experimental and may change.
> More information: <https://git-scm.com/docs/git-for-each-repo>. > More information: <https://git-scm.com/docs/git-for-each-repo>.
- Run maintenance on each of a list of repositories stored in the `maintenance.repo` user configuration variable: - Run maintenance on each of a list of repositories stored in the `maintenance.repo` user configuration variable:

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`golangci-lint run` `golangci-lint run`
- List enabled and disabled linters (Note: disabled linters are shown last, do not mistake them for enabled ones): - List enabled and disabled linters (Note: Disabled linters are shown last, do not mistake them for enabled ones):
`golangci-lint linters` `golangci-lint linters`

View File

@@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
- Show monthly incomes/expenses/totals, largest first, summarised to 2 levels: - Show monthly incomes/expenses/totals, largest first, summarised to 2 levels:
`hledger {{[is|incomestatement]}} {{[-M|--monthly]}} {{[-T|--row-total]}} {{[-A|--average]}} --sort --depth 2` `hledger {{[is|incomestatement]}} {{[-M|--monthly]}} {{[-T|--row-total]}} {{[-A|--average]}} --sort {{[-2|--depth 2]}}`
- Show the `assets:bank:checking` account's transactions and running balance: - Show the `assets:bank:checking` account's transactions and running balance:

View File

@@ -34,8 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
- Show the first two levels of the accounts hierarchy: - Show the first two levels of the accounts hierarchy:
`hledger {{[acc|accounts]}} {{[-t|--tree]}} --depth 2` `hledger {{[acc|accounts]}} {{[-t|--tree]}} {{[-2|--depth 2]}}`
- Short form of the above:
`hledger acc -t -2`

View File

@@ -15,28 +15,28 @@ source: https://github.com/tldr-pages/tldr.git
- Show the balance change in accounts named `*expenses*`, as a tree, summarising the top two levels only: - Show the balance change in accounts named `*expenses*`, as a tree, summarising the top two levels only:
`hledger {{[bal|balance]}} {{expenses}} {{[-t|--tree]}} --depth {{2}}` `hledger {{[bal|balance]}} {{expenses}} {{[-t|--tree]}} {{[-2|--depth 2]}}`
- Show expenses each month, and their totals and averages, sorted by total; and their monthly budget goals: - Show expenses each month, and their totals and averages, sorted by total; and their monthly budget goals:
`hledger {{[bal|balance]}} {{expenses}} {{[-M|--monthly]}} {{[-T|--row-total]}} {{[-A|--average]}} {{[-S|--sort-amount]}} --budget` `hledger {{[bal|balance]}} {{expenses}} {{[-M|--monthly]}} {{[-T|--row-total]}} {{[-A|--average]}} {{[-S|--sort-amount]}} --budget`
- Similar to the above, shorter form, matching accounts by `Expense` type, as a two level tree without squashing boring accounts: - Similar to the above, matching accounts by `Expense` type, as a two level tree without squashing boring accounts:
`hledger bal type:{{X}} -MTAS --budget -t -{{2}} --no-elide` `hledger {{[bal|balance]}} type:{{X}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} --budget {{[-t|--tree]}} {{[-2|--depth 2]}} --no-elide`
- Show end balances (including from postings before the start date), quarterly in 2024, in accounts named `*assets*` or `*liabilities*`: - Show end balances (including from postings before the start date), quarterly in 2024, in accounts named `*assets*` or `*liabilities*`:
`hledger {{[bal|balance]}} {{[-H|--historical]}} {{[-p|--period]}} '{{quarterly in 2024}}' {{assets}} {{liabilities}}` `hledger {{[bal|balance]}} {{[-H|--historical]}} {{[-p|--period]}} '{{quarterly in 2024}}' {{assets}} {{liabilities}}`
- Similar to the above, shorter form; also show zero balances, sort by total and summarise to three levels: - Similar to the above, also show zero balances, sort by total and summarise to three levels:
`hledger bal -HQ date:{{2024}} type:{{AL}} -ES -{{3}}` `hledger {{[bal|balance]}} {{[-HQ|--historical --quarterly]}} date:{{2024}} type:{{AL}} {{[-ES|--empty --sort-amount]}} {{[-3|--depth 3]}}`
- Show investment assets' market value in base currency at the end of each quarter: - Show investment assets' market [V]alue in base currency at the end of each quarter:
`hledger bal -HVQ {{assets:investments}}` `hledger {{[bal|balance]}} {{[-HVQ|--historical --market --quarterly]}} {{assets:investments}}`
- Show unrealised capital gains/losses from market price changes in each quarter, for non-cryptocurrency investment assets: - Show unrealised capital gains/losses from market price changes in each quarter, for non-cryptocurrency investment assets:
`hledger bal --gain -Q {{assets:investments}} not:{{cryptocurrency}}` `hledger {{[bal|balance]}} --gain {{[-Q|--quarterly]}} {{assets:investments}} not:{{cryptocurrency}}`

View File

@@ -33,6 +33,6 @@ source: https://github.com/tldr-pages/tldr.git
`hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}}` `hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}}`
- Short form of the above, and generate HTML output in `bs.html`: - Same as above above, and generate HTML output in `bs.html`:
`hledger bs -Qt -2 -o bs.html` `hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} bs.html`

View File

@@ -21,6 +21,6 @@ source: https://github.com/tldr-pages/tldr.git
`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}}` `hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}}`
- Short form of the above, and generate HTML output in `is.html`: - Same as above, and generate HTML output in `is.html`:
`hledger is -MTAS -2 -o is.html` `hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} is.html`

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start in the balance sheet accounts screen, showing hierarchy down to level 3: - Start in the balance sheet accounts screen, showing hierarchy down to level 3:
`hledger-ui --bs {{[-t|--tree]}} --depth 3` `hledger-ui --bs {{[-t|--tree]}} {{[-3|--depth 3]}}`
- Start in this account's screen, showing cleared transactions, and reload on change: - Start in this account's screen, showing cleared transactions, and reload on change:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# httpx # httpx
> A fast and multi-purpose HTTP toolkit written in Go to run multiple probes at once. > A fast and multi-purpose HTTP toolkit written in Go to run multiple probes at once.
> Note: not to be confused with the unrelated Python's HTTPX which has the same command name. > Note: Not to be confused with the unrelated Python's HTTPX which has the same command name.
> More information: <https://docs.projectdiscovery.io/tools/httpx/running>. > More information: <https://docs.projectdiscovery.io/tools/httpx/running>.
- Run a probe against a [u]RL, host, IP Address or subnet (CIDR notation) showing probe status: - Run a probe against a [u]RL, host, IP Address or subnet (CIDR notation) showing probe status:

View File

@@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
- Build a site on your local IP: - Build a site on your local IP:
`hugo server --bind {{local-ip}} --baseURL {{http://local-ip}}` `hugo server --bind {{local_ip}} --baseURL {{http://local_ip}}`
- Build a site to a given directory: - Build a site to a given directory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Online password guessing tool. > Online password guessing tool.
> Protocols supported include FTP, HTTP(S), SMTP, SNMP, XMPP, SSH, and more. > Protocols supported include FTP, HTTP(S), SMTP, SNMP, XMPP, SSH, and more.
> More information: <https://github.com/vanhauser-thc/thc-hydra>. > More information: <https://manned.org/hydra>.
- Start Hydra's wizard: - Start Hydra's wizard:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# iex # iex
> IEx is the interactive shell for Elixir. > IEx is the interactive shell for Elixir.
> More information: <https://hexdocs.pm/iex>. > More information: <https://manned.org/iex>.
- Start an interactive session: - Start an interactive session:

View File

@@ -10,4 +10,4 @@ source: https://github.com/tldr-pages/tldr.git
- Create a database at `/usr/local/var/postgres`: - Create a database at `/usr/local/var/postgres`:
`initdb -D /usr/local/var/postgres` `initdb {{[-D|--pgdata]}} /usr/local/var/postgres`

View File

@@ -16,4 +16,4 @@ source: https://github.com/tldr-pages/tldr.git
- Print a file from `stdin` to `stdout`: - Print a file from `stdin` to `stdout`:
`{{wget -O - https://examplewebsite.com/file}} | ippeveps` `{{wget {{[-O|--output-document]}} - https://examplewebsite.com/file}} | ippeveps`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# jdupes # jdupes
> A powerful duplicate file finder and an enhanced fork of fdupes. > A powerful duplicate file finder and an enhanced fork of `fdupes`.
> More information: <https://codeberg.org/jbruchon/jdupes#usage>. > More information: <https://codeberg.org/jbruchon/jdupes#usage>.
- Search a single directory: - Search a single directory:
@@ -18,16 +18,16 @@ source: https://github.com/tldr-pages/tldr.git
- Search all directories recursively: - Search all directories recursively:
`jdupes --recurse {{path/to/directory}}` `jdupes {{[-r|--recurse]}} {{path/to/directory}}`
- Search directory recursively and let user choose files to preserve: - Search directory recursively and let user choose files to preserve:
`jdupes --delete --recurse {{path/to/directory}}` `jdupes {{[-d|--delete]}} {{[-r|--recurse]}} {{path/to/directory}}`
- Search multiple directories and follow subdirectores under directory2, not directory1: - Search multiple directories and follow subdirectores under directory2, not directory1:
`jdupes {{directory1}} --recurse: {{directory2}}` `jdupes {{directory1}} {{[-R|--recurse:]}} {{directory2}}`
- Search multiple directories and keep the directory order in result: - Search multiple directories and keep the directory order in result:
`jdupes -O {{directory1 directory2 directory3 ...}}` `jdupes {{[-O|--param-order]}} {{directory1 directory2 directory3 ...}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Lexical analyzer generator. > Lexical analyzer generator.
> Given the specification for a lexical analyzer, generates C code implementing it. > Given the specification for a lexical analyzer, generates C code implementing it.
> Note: on most major OSes, this command is an alias for `flex`. > Note: On most major OSes, this command is an alias for `flex`.
> More information: <https://manned.org/lex>. > More information: <https://manned.org/lex>.
- Generate an analyzer from a Lex file, storing it to the file `lex.yy.c`: - Generate an analyzer from a Lex file, storing it to the file `lex.yy.c`:

View File

@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
- Create a VM using the default settings and optionally provide a name and/or a template (see `limactl create --list-templates` for available templates): - Create a VM using the default settings and optionally provide a name and/or a template (see `limactl create --list-templates` for available templates):
`limactl create --name {{vm_name}} template://{{debian|fedora|ubuntu|}}` `limactl create --name {{vm_name}} template://{{debian|fedora|ubuntu|...}}`
- Start a VM (this might install some dependencies in it and take a few minutes): - Start a VM (this might install some dependencies in it and take a few minutes):

View File

@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
`linode-cli volumes detach {{volume_id}}` `linode-cli volumes detach {{volume_id}}`
- Resize a Volume (Note: size can only be increased): - Resize a Volume (Note: Size can only be increased):
`linode-cli volumes resize {{volume_id}} --size {{new_size_in_GB}}` `linode-cli volumes resize {{volume_id}} --size {{new_size_in_GB}}`

View File

@@ -9,11 +9,11 @@ source: https://github.com/tldr-pages/tldr.git
> Updates are performed using OCI images, to ensure that the system is always in a consistent state. > Updates are performed using OCI images, to ensure that the system is always in a consistent state.
> More information: <https://github.com/Vanilla-OS/ABRoot>. > More information: <https://github.com/Vanilla-OS/ABRoot>.
- Add packages to the local image (Note: after executing this command, you need to apply these changes.): - Add packages to the local image (Note: After executing this command, you need to apply these changes.):
`sudo abroot pkg add {{package}}` `sudo abroot pkg add {{package}}`
- Remove packages from the local image (Note: after executing this command, you need to apply these changes.): - Remove packages from the local image (Note: After executing this command, you need to apply these changes.):
`sudo abroot pkg remove {{package}}` `sudo abroot pkg remove {{package}}`
@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo abroot pkg list` `sudo abroot pkg list`
- Apply changes in the local image (Note: you need to reboot your system for these changes to be applied): - Apply changes in the local image (Note: You need to reboot your system for these changes to be applied):
`sudo abroot pkg apply` `sudo abroot pkg apply`

View File

@@ -31,4 +31,4 @@ source: https://github.com/tldr-pages/tldr.git
- Generate a report for debugging manually: - Generate a report for debugging manually:
`abrt-cli report --analyze {{problem_id}}` `abrt-cli report {{[-a|--analyze]}} {{problem_id}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Alternative `getty`: Open a `tty` port, prompt for a login name, and invoke the `/bin/login` command. > Alternative `getty`: Open a `tty` port, prompt for a login name, and invoke the `/bin/login` command.
> It is normally invoked by `init`. > It is normally invoked by `init`.
> Note: the baud rate is the speed of data transfer between a terminal and a device over a serial connection. > Note: The baud rate is the speed of data transfer between a terminal and a device over a serial connection.
> More information: <https://manned.org/agetty>. > More information: <https://manned.org/agetty>.
- Connect `stdin` to a port (relative to `/dev`) and optionally specify a baud rate (defaults to 9600): - Connect `stdin` to a port (relative to `/dev`) and optionally specify a baud rate (defaults to 9600):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apx pkgmanagers # apx pkgmanagers
> Manage package managers in `apx`. > Manage package managers in `apx`.
> Note: user-created package manager configurations are stored in `~/.local/share/apx/pkgmanagers`. > Note: User-created package manager configurations are stored in `~/.local/share/apx/pkgmanagers`.
> More information: <https://github.com/Vanilla-OS/apx>. > More information: <https://github.com/Vanilla-OS/apx>.
- Interactively create a new package manager configuration: - Interactively create a new package manager configuration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apx stacks # apx stacks
> Manage stacks in `apx`. > Manage stacks in `apx`.
> Note: user-created stack configurations are stored in `~/.local/share/apx/stacks`. > Note: User-created stack configurations are stored in `~/.local/share/apx/stacks`.
> More information: <https://github.com/Vanilla-OS/apx>. > More information: <https://github.com/Vanilla-OS/apx>.
- Interactively create a new stack configuration: - Interactively create a new stack configuration:
@@ -29,6 +29,6 @@ source: https://github.com/tldr-pages/tldr.git
`apx stacks import --input {{path/to/stack.yml}}` `apx stacks import --input {{path/to/stack.yml}}`
- Export the stack configuration (Note: the output flag is optional, it is exported to the current working directory by default): - Export the stack configuration (Note: The output flag is optional, it is exported to the current working directory by default):
`apx stacks export --name {{string}} --output {{path/to/output_file}}` `apx stacks export --name {{string}} --output {{path/to/output_file}}`

View File

@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo btrfs scrub resume {{path/to/btrfs_mount}}` `sudo btrfs scrub resume {{path/to/btrfs_mount}}`
- Start a scrub, but wait until the scrub finishes before exiting: - Start a scrub, but do not put the program in the [B]ackground:
`sudo btrfs scrub start -B {{path/to/btrfs_mount}}` `sudo btrfs scrub start -B {{path/to/btrfs_mount}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# collectd # collectd
> System statistics collection daemon. > System statistics collection daemon.
> More information: <https://collectd.org/>. > More information: <https://www.collectd.org/documentation/>.
- Test the configuration file and then exit: - Test the configuration file and then exit:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cryptsetup luksFormat # cryptsetup luksFormat
> Initialize a LUKS partition and the initial key slot (0) with a passphrase or keyfile. > Initialize a LUKS partition and the initial key slot (0) with a passphrase or keyfile.
> Note: this operation overwrites all data on the partition. > Note: This operation overwrites all data on the partition.
> More information: <https://manned.org/cryptsetup-luksFormat>. > More information: <https://manned.org/cryptsetup-luksFormat>.
- Initialize a LUKS volume with a passphrase: - Initialize a LUKS volume with a passphrase:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cryptsetup open # cryptsetup open
> Create a decrypted mapping of an encrypted volume. > Create a decrypted mapping of an encrypted volume.
> Note: with TRIM enabled, minimal data leakage in form of freed block information, perhaps sufficient to determine the filesystem in use may occur. > Note: With TRIM enabled, minimal data leakage in form of freed block information, perhaps sufficient to determine the filesystem in use may occur.
> However, you still most likely want to enable it, because the data inside is still safe and SSDs without TRIM will wear out faster. > However, you still most likely want to enable it, because the data inside is still safe and SSDs without TRIM will wear out faster.
> More information: <https://manned.org/cryptsetup-open>. > More information: <https://manned.org/cryptsetup-open>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# diffimg # diffimg
> Calculate intersection between two images. > Calculate intersection between two images.
> Note: the supported extensions are `.png`, `.gif`, `.jpg`, `.ps`. > Note: The supported extensions are `.png`, `.gif`, `.jpg`, `.ps`.
> More information: <https://manned.org/diffimg>. > More information: <https://manned.org/diffimg>.
- Calculate the intersection between images and output an image where each pixel is the difference between corresponding pixels in input images: - Calculate the intersection between images and output an image where each pixel is the difference between corresponding pixels in input images:

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
`dnf5 info {{package}}` `dnf5 info {{package}}`
- Install new packages (Note: use `-y` to confirm all prompts automatically): - Install new packages (Note: Use `-y` to confirm all prompts automatically):
`sudo dnf5 install {{package1 package2 ...}}` `sudo dnf5 install {{package1 package2 ...}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dnf5 group # dnf5 group
> This command is an alias of `dnf group`. > This command is an alias of `dnf group`.
> Note: from Fedora 37 to 40 (inclusive), `dnf` runs DNF v4 while `dnf5` runs DNF v5. > Note: From Fedora 37 to 40 (inclusive), `dnf` runs DNF v4 while `dnf5` runs DNF v5.
- View documentation for the original command: - View documentation for the original command:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Recover deleted files from ext3 or ext4 partitions by parsing the journal. > Recover deleted files from ext3 or ext4 partitions by parsing the journal.
> See also `date` for Unix time information and `umount` for unmounting partitions. > See also `date` for Unix time information and `umount` for unmounting partitions.
> More information: <https://extundelete.sourceforge.net>. > More information: <https://extundelete.sourceforge.net/options.html>.
- Restore all deleted files inside partition N on device X: - Restore all deleted files inside partition N on device X:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rename # rename
> Rename multiple files. > Rename multiple files.
> Note: this page refers to the command from the `rename` Debian package. > Note: This page refers to the command from the `rename` Debian package.
> More information: <https://manned.org/file-rename>. > More information: <https://manned.org/file-rename>.
- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found): - Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# fpsync # fpsync
> Execute several synchronization processes locally or on several remote workers through SSH. > Execute several synchronization processes locally or on several remote workers through SSH.
> More information: <https://www.fpart.org/fpsync/>. > More information: <https://manned.org/fpsync>.
- Recursively synchronize a directory to another location: - Recursively synchronize a directory to another location:
@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
`fpsync -v -n 4 -f 1000 -s $((100 * 1024 * 1024)) {{/path/to/source/}} {{/path/to/destination/}}` `fpsync -v -n 4 -f 1000 -s $((100 * 1024 * 1024)) {{/path/to/source/}} {{/path/to/destination/}}`
- Recursively synchronize any directories but exclude specific `.snapshot*` files (Note: options and values must be separated by a pipe character): - Recursively synchronize any directories but exclude specific `.snapshot*` files (Note: Options and values must be separated by a pipe character):
`fpsync -v -O "-x|.snapshot*" {{/path/to/source/}} {{/path/to/destination/}}` `fpsync -v -O "-x|.snapshot*" {{/path/to/source/}} {{/path/to/destination/}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# lbu # lbu
> Manage `apk` overlay files on a diskless Alpine Linux system. > Manage `apk` overlay files on a diskless Alpine Linux system.
> Note: subcommands like `include` write to `/etc`, which is stored in RAM. You need to run `lbu commit` to save the changes. > Note: Subcommands like `include` write to `/etc`, which is stored in RAM. You need to run `lbu commit` to save the changes.
> More information: <https://wiki.alpinelinux.org/wiki/Alpine_local_backup>. > More information: <https://wiki.alpinelinux.org/wiki/Alpine_local_backup>.
- Commit changes to persistent storage (only files in `/etc` by default): - Commit changes to persistent storage (only files in `/etc` by default):

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Connect to an FTP server: - Connect to an FTP server:
`lftp --user {{username}} {{ftp.example.com}}` `lftp {{[-u|--user]}} {{username}} {{ftp.example.com}}`
- Download multiple files (glob expression): - Download multiple files (glob expression):
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
- Upload or update an entire directory: - Upload or update an entire directory:
`mirror -R {{path/to/local_dir}} {{path/to/remote_output_dir}}` `mirror {{[-R|--reverse]}} {{path/to/local_dir}} {{path/to/remote_output_dir}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Find filenames quickly. > Find filenames quickly.
> More information: <https://manned.org/locate>. > More information: <https://manned.org/locate>.
- Look for pattern in the database. Note: the database is recomputed periodically (usually weekly or daily): - Look for pattern in the database. Note: The database is recomputed periodically (usually weekly or daily):
`locate {{pattern}}` `locate {{pattern}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# look # look
> Display lines beginning with a prefix in a file. > Display lines beginning with a prefix in a file.
> Note: the lines in the file must be sorted. > Note: The lines in the file must be sorted.
> See also: `grep`, `sort`. > See also: `grep`, `sort`.
> More information: <https://manned.org/look>. > More information: <https://manned.org/look>.

View File

@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
- Create a logical volume with size 10G from volume group vg1: - Create a logical volume with size 10G from volume group vg1:
`sudo lvm lvcreate -L {{10G}} {{vg1}}` `sudo lvm lvcreate {{[-L|--size]}} {{10G}} {{vg1}}`
- Display information about logical volumes: - Display information about logical volumes:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mkfs.erofs # mkfs.erofs
> Create an EROFS filesystem in an image. > Create an EROFS filesystem in an image.
> More information: <https://erofs.docs.kernel.org/en/latest/>. > More information: <https://manned.org/mkfs.erofs>.
- Create an EROFS filesystem based on the root directory: - Create an EROFS filesystem based on the root directory:

View File

@@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git
- List the specified attribute only: - List the specified attribute only:
`modinfo -F {{author|description|license|parm|filename}} {{kernel_module}}` `modinfo {{[-F|--field]}} {{author|description|license|parm|filename}} {{kernel_module}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mount.cifs # mount.cifs
> Mount SMB (Server Message Block) or CIFS (Common Internet File System) shares. > Mount SMB (Server Message Block) or CIFS (Common Internet File System) shares.
> Note: you can also do the same thing by passing the `-t cifs` option to `mount`. > Note: You can also do the same thing by passing the `-t cifs` option to `mount`.
> More information: <https://manned.org/mount.cifs>. > More information: <https://manned.org/mount.cifs>.
- Connect using the specified username or `$USER` by default (you will be prompted for a password): - Connect using the specified username or `$USER` by default (you will be prompted for a password):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mount.smb3 # mount.smb3
> This command is an alias of `mount.cifs`. > This command is an alias of `mount.cifs`.
> Note: for SMB versions before 3 you have to use `mount.cifs` instead. > Note: For SMB versions before 3 you have to use `mount.cifs` instead.
- View documentation for the original command: - View documentation for the original command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rename # rename
> Rename multiple files. > Rename multiple files.
> Note: this page refers to the command from the `perl-rename` Arch Linux package. > Note: This page refers to the command from the `perl-rename` Arch Linux package.
> More information: <https://manned.org/rename>. > More information: <https://manned.org/rename>.
- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found): - Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rename # rename
> Rename multiple files. > Rename multiple files.
> Note: this page refers to the command from the `prename` Fedora package. > Note: This page refers to the command from the `prename` Fedora package.
> More information: <https://manned.org/prename>. > More information: <https://manned.org/prename>.
- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found): - Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# quickget # quickget
> Download and prepare materials for building a Quickemu virtual machine. > Download and prepare materials for building a Quickemu virtual machine.
> Note: the parameter "edition" is always optional. > Note: The parameter "edition" is always optional.
> See also: `quickemu`. > See also: `quickemu`.
> More information: <https://github.com/quickemu-project/quickemu>. > More information: <https://github.com/quickemu-project/quickemu>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rename # rename
> Rename multiple files. > Rename multiple files.
> Note: this page refers to the command from the `util-linux` package. > Note: This page refers to the command from the `util-linux` package.
> For the Perl version, see `file-rename` or `perl-rename`. > For the Perl version, see `file-rename` or `perl-rename`.
> Warning: This command has no safeguards and will overwrite files without prompting. > Warning: This command has no safeguards and will overwrite files without prompting.
> More information: <https://manned.org/rename>. > More information: <https://manned.org/rename>.

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- View the current security context of a file or directory: - View the current security context of a file or directory:
`ls -dlZ {{path/to/file_or_directory}}` `ls {{[-dlZ|--directory -l --context]}} {{path/to/file_or_directory}}`
- Restore the security context of a file or directory: - Restore the security context of a file or directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# sbctl # sbctl
> A user-friendly secure boot key manager. > A user-friendly secure boot key manager.
> Note: not enrolling Microsoft's certificates can brick your system. See <https://github.com/Foxboron/sbctl/wiki/FAQ#option-rom>. > Note: Not enrolling Microsoft's certificates can brick your system. See <https://github.com/Foxboron/sbctl/wiki/FAQ#option-rom>.
> More information: <https://github.com/Foxboron/sbctl#usage>. > More information: <https://github.com/Foxboron/sbctl#usage>.
- Show the current secure boot status: - Show the current secure boot status:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# st # st
> A simple terminal emulator for the X Window System. > A simple terminal emulator for the X Window System.
> More information: <https://st.suckless.org>. > More information: <https://manned.org/st>.
- Open a terminal: - Open a terminal:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# switch_root # switch_root
> Use a different filesystem as the root of the mount tree. > Use a different filesystem as the root of the mount tree.
> Note: switch_root will fail to function if the new root is not the root of a mount. Use bind-mounting as a workaround. > Note: `switch_root` will fail to function if the new root is not the root of a mount. Use bind-mounting as a workaround.
> See also: `chroot`, `mount`. > See also: `chroot`, `mount`.
> More information: <https://manned.org/switch_root.8>. > More information: <https://manned.org/switch_root.8>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# sxiv # sxiv
> Simple X Image Viewer. > Simple X Image Viewer.
> More information: <https://github.com/muennich/sxiv>. > More information: <https://manned.org/sxiv>.
- Open an image: - Open an image:

View File

@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Change the update interval in seconds (or one of these time units: `ms`, `us`, `min`): - Change the update interval in seconds (or one of these time units: `ms`, `us`, `min`):
`systemd-cgtop --delay={{interval}}` `systemd-cgtop {{[-d|--delay]}} {{interval}}`
- Only count userspace processes (without kernel threads): - Only count userspace processes (without kernel threads):

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`systemd-delta --type {{masked|equivalent|redirected|overridden|extended|unchanged}}` `systemd-delta --type {{masked|equivalent|redirected|overridden|extended|unchanged}}`
- Show only files whose path starts with the specified prefix (Note: a prefix is a directory containing subdirectories with systemd configuration files): - Show only files whose path starts with the specified prefix (Note: A prefix is a directory containing subdirectories with systemd configuration files):
`systemd-delta {{/etc|/run|/usr/lib|...}}` `systemd-delta {{/etc|/run|/usr/lib|...}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# systemd-resolve # systemd-resolve
> Resolve domain names, IPV4 and IPv6 addresses, DNS resource records, and services. > Resolve domain names, IPV4 and IPv6 addresses, DNS resource records, and services.
> Note: this tool has been renamed to `resolvectl` in new versions of `systemd`. > Note: This tool has been renamed to `resolvectl` in new versions of `systemd`.
> More information: <https://manned.org/systemd-resolve>. > More information: <https://manned.org/systemd-resolve>.
- View documentation for `resolvectl`: - View documentation for `resolvectl`:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> View system device information by bus, and classes. > View system device information by bus, and classes.
> This command is part of the `sysfs` package. > This command is part of the `sysfs` package.
> More information: <https://github.com/linux-ras/sysfsutils>. > More information: <https://manned.org/systool>.
- List all attributes of devices of a bus (eg. `pci`, `usb`). View all buses using `ls /sys/bus`: - List all attributes of devices of a bus (eg. `pci`, `usb`). View all buses using `ls /sys/bus`:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# trizen # trizen
> Arch Linux utility for building packages from the Arch User Repository (AUR). > Arch Linux utility for building packages from the Arch User Repository (AUR).
> More information: <https://github.com/trizen/trizen>. > More information: <https://github.com/trizen/trizen/blob/master/TRIZEN.md>.
- Synchronize and update all AUR packages: - Synchronize and update all AUR packages:

View File

@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Specify the format of captured output: - Specify the format of captured output:
`tshark -T {{json|text|ps|}}` `tshark -T {{json|text|ps|...}}`
- Select specific fields to output: - Select specific fields to output:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# tzselect # tzselect
> Interactively select timezone. > Interactively select timezone.
> Note: this program doesn't actually set the timezone. > Note: This program doesn't actually set the timezone.
> More information: <https://manned.org/tzselect>. > More information: <https://manned.org/tzselect>.
- Open the interactive menu for timezone selection and print the selected timezone to `stdout`: - Open the interactive menu for timezone selection and print the selected timezone to `stdout`:

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo urpme {{package}}` `sudo urpme {{package}}`
- Uninstall orphan packages (Note: use it with caution as it might unintentionally remove important packages): - Uninstall orphan packages (Note: Use it with caution as it might unintentionally remove important packages):
`sudo urpme --auto-orphans` `sudo urpme --auto-orphans`

View File

@@ -8,18 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
> An open-source and easy-to-use tool that recommends suitable programs for tasks. > An open-source and easy-to-use tool that recommends suitable programs for tasks.
> More information: <https://github.com/evait-security/wami>. > More information: <https://github.com/evait-security/wami>.
- Find expanded results in all categories from the lake and [S]ort them in the specified order: - Find expanded results in all categories from the lake and sort them in the specified order:
`wami --show-all -S {{asc|desc}} --search-all {{search_string}}` `wami {{[-a|--show-all]}} {{[-S|--sort]}} {{asc|desc}} {{[-s|--search-all]}} {{search_string}}`
- Search GitHub to find expanded results, [S]orted in descending order: - Search GitHub to find expanded results, sorted in descending order:
`wami --show-all -S desc --github {{search_string}}` `wami {{[-a|--show-all]}} {{[-S|--sort]}} desc --github {{search_string}}`
- Search GitHub for topics that match the search string: - Search GitHub for topics that match the search string:
`wami --list-topics {{search_string}}` `wami --list-topics {{search_string}}`
- Search the lake for a tool used in pentests to query for default credentials and [S]ort the results in descending order: - Search the lake for a tool used in pentests to query for default credentials and sort the results in descending order:
`wami -S desc --search-all pentest credential default` `wami {{[-S|--sort]}} desc {{[-s|--search-all]}} pentest credential default`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# wpctl # wpctl
> Manage WirePlumber, a session and policy manager for PipeWire. > Manage WirePlumber, a session and policy manager for PipeWire.
> Note: you can use the special name `@DEFAULT_SINK@` in place of `id` to operate on the default sink. > Note: You can use the special name `@DEFAULT_SINK@` in place of `id` to operate on the default sink.
> More information: <https://pipewire.pages.freedesktop.org/wireplumber/>. > More information: <https://pipewire.pages.freedesktop.org/wireplumber/>.
- List all objects managed by WirePlumber: - List all objects managed by WirePlumber:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Simulate keyboard input on Wayland, similar to `xdotool type` for X11. > Simulate keyboard input on Wayland, similar to `xdotool type` for X11.
> See also: `ydotool`. > See also: `ydotool`.
> More information: <https://github.com/atx/wtype>. > More information: <https://manned.org/wtype>.
- Simulate typing text: - Simulate typing text:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xxhsum # xxhsum
> Print or verify checksums using fast non-cryptographic algorithm xxHash. > Print or verify checksums using fast non-cryptographic algorithm xxHash.
> More information: <https://github.com/Cyan4973/xxHash>. > More information: <https://manned.org/xxhsum>.
- Calculate the checksum for a file using a specific algorithm: - Calculate the checksum for a file using a specific algorithm:

View File

@@ -8,6 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
> Add a `.gz` extension to files compressed using `gzip`. > Add a `.gz` extension to files compressed using `gzip`.
> More information: <https://manned.org/zforce>. > More information: <https://manned.org/zforce>.
- Add a `.gz` extension to the supplied Gzip files (Note: other files are ignored): - Add a `.gz` extension to the supplied Gzip files (Note: Other files are ignored):
`zforce {{path/to/file1 path/to/file2 ...}}` `zforce {{path/to/file1 path/to/file2 ...}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# look # look
> Display lines beginning with a prefix in a sorted file. > Display lines beginning with a prefix in a sorted file.
> Note: the lines in the file must be sorted. > Note: The lines in the file must be sorted.
> See also: `grep`, `sort`. > See also: `grep`, `sort`.
> More information: <https://man.openbsd.org/look>. > More information: <https://man.openbsd.org/look>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# magick convert # magick convert
> Convert between image formats, scale, join, and create images, and much more. > Convert between image formats, scale, join, and create images, and much more.
> Note: this tool (previously `convert`) has been replaced by `magick` in ImageMagick 7+. > Note: This tool (previously `convert`) has been replaced by `magick` in ImageMagick 7+.
> More information: <https://imagemagick.org/script/convert.php>. > More information: <https://imagemagick.org/script/convert.php>.
- Convert an image from JPEG to PNG: - Convert an image from JPEG to PNG:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# medusa # medusa
> A modular and parallel login brute-forcer for a variety of protocols. > A modular and parallel login brute-forcer for a variety of protocols.
> More information: <https://jmk-foofus.github.io/medusa/medusa.html>. > More information: <https://manned.org/medusa>.
- List all installed modules: - List all installed modules:

View File

@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
# meson # meson
> SCons-like build system that uses Python as a front-end language and Ninja as a building backend. > SCons-like build system that uses Python as a front-end language and Ninja as a building backend.
> More information: <https://mesonbuild.com>. > More information: <https://mesonbuild.com/Commands.html>.
- Generate a C project with a given name and version: - Generate a C project with a given name and version:
`meson init --language={{c}} --name={{myproject}} --version={{0.1}}` `meson init {{[-l|--language]}} c {{[-n|--name]}} {{myproject}} --version {{0.1}}`
- Configure the `builddir` with default values: - Configure the `builddir` with default values:
@@ -26,8 +26,8 @@ source: https://github.com/tldr-pages/tldr.git
- Show the help: - Show the help:
`meson --help` `meson {{[-h|--help]}}`
- Display version: - Display version:
`meson --version` `meson {{[-v|--version]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mg # mg
> A small, fast, and portable text editor based on `emacs`. > A small, fast, and portable text editor based on `emacs`.
> More information: <https://github.com/hboetes/mg>. > More information: <https://manned.org/mg>.
- Open a file for editing: - Open a file for editing:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mongo # mongo
> The legacy MongoDB shell. See `mongosh` for the new shell. > The legacy MongoDB shell. See `mongosh` for the new shell.
> Note: all connection options can be replaced with one string: `mongodb://user@host:port/db_name?authSource=authdb_name`. > Note: All connection options can be replaced with one string: `mongodb://user@host:port/db_name?authSource=authdb_name`.
> More information: <https://docs.mongodb.com/manual/reference/program/mongo>. > More information: <https://docs.mongodb.com/manual/reference/program/mongo>.
- Connect to a local database on the default port (`mongodb://localhost:27017`): - Connect to a local database on the default port (`mongodb://localhost:27017`):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mongosh # mongosh
> A new shell for MongoDB, replacement for `mongo`. > A new shell for MongoDB, replacement for `mongo`.
> Note: all connection options can be replaced with one string: `mongodb://user@host:port/db_name?authSource=authdb_name`. > Note: All connection options can be replaced with one string: `mongodb://user@host:port/db_name?authSource=authdb_name`.
> More information: <https://www.mongodb.com/docs/mongodb-shell>. > More information: <https://www.mongodb.com/docs/mongodb-shell>.
- Connect to a local database on the default port (`mongodb://localhost:27017`): - Connect to a local database on the default port (`mongodb://localhost:27017`):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# moreutils # moreutils
> A collection of UNIX tools. > A collection of UNIX tools.
> Note: moreutils isn't a command, but a set of commands. > Note: `moreutils` isn't a command, but a set of commands.
> More information: <https://joeyh.name/code/moreutils/>. > More information: <https://joeyh.name/code/moreutils/>.
- View documentation for pages related to standard streams: - View documentation for pages related to standard streams:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mp3info # mp3info
> Viewer/editor for ID3v1 (but not ID3v2) tags of MP3 files. > Viewer/editor for ID3v1 (but not ID3v2) tags of MP3 files.
> More information: <https://www.ibiblio.org/mp3info>. > More information: <https://www.ibiblio.org/mp3info/mp3info.html>.
- Show all ID3v1 tags of a specific MP3 file: - Show all ID3v1 tags of a specific MP3 file:

View File

@@ -29,6 +29,6 @@ source: https://github.com/tldr-pages/tldr.git
`mqtt_check.py -debug {{domain}}/{{username}}:{{password}}@{{targetName}}` `mqtt_check.py -debug {{domain}}/{{username}}:{{password}}@{{targetName}}`
- Display help message: - Display help:
`mqtt_check.py --help` `mqtt_check.py --help`

View File

@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`msfconsole {{[-n|--no-database]}}` `msfconsole {{[-n|--no-database]}}`
- Execute console commands (Note: use `;` for passing multiple commands): - Execute console commands (Note: Use `;` for passing multiple commands):
`msfconsole {{[-x|--execute-command]}} "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"` `msfconsole {{[-x|--execute-command]}} "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"`

View File

@@ -24,3 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
- Check status of VPN tunnel: - Check status of VPN tunnel:
`mullvad status` `mullvad status`
- Check the account expiration date and obtain the device name:
`mullvad account get`

Some files were not shown because too many files have changed in this diff Show More