mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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}}`
|
||||
|
||||
@@ -32,6 +32,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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 {{صورة تساوي أكثر من ألف كلمة}}`
|
||||
|
||||
2
tldr/bfg
2
tldr/bfg
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# bfg
|
||||
|
||||
> 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/>.
|
||||
|
||||
- Remove a file with sensitive data but leave the latest commit untouched:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# calibre-server
|
||||
|
||||
> 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.
|
||||
> More information: <https://manual.calibre-ebook.com/generated/en/calibre-server.html>.
|
||||
|
||||
|
||||
@@ -21,6 +21,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cargo publish
|
||||
|
||||
> 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>.
|
||||
|
||||
- Perform checks, create a `.crate` file and upload it to the registry:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cargo run
|
||||
|
||||
> 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>.
|
||||
|
||||
- Run the default binary target:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cargo tree
|
||||
|
||||
> 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>.
|
||||
|
||||
- Show a dependency tree of the current project:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cargo yank
|
||||
|
||||
> 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>.
|
||||
|
||||
- Yank the specified version of a crate:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ccache
|
||||
|
||||
> 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>.
|
||||
|
||||
- Show current cache statistics:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cksum
|
||||
|
||||
> 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>.
|
||||
|
||||
- Display a 32-bit checksum, size in bytes and filename:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# 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+.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cupsaccept
|
||||
|
||||
> 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`.
|
||||
> More information: <https://www.cups.org/doc/man-cupsaccept.html>.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cupsdisable
|
||||
|
||||
> 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`.
|
||||
> More information: <https://openprinting.github.io/cups/doc/man-cupsenable.html>.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cupsenable
|
||||
|
||||
> 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`.
|
||||
> More information: <https://www.cups.org/doc/man-cupsenable.html>.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cupsreject
|
||||
|
||||
> 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`.
|
||||
> More information: <https://www.cups.org/doc/man-cupsaccept.html>.
|
||||
|
||||
|
||||
@@ -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.
|
||||
> 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`.
|
||||
> More information: <https://openprinting.github.io/cups/doc/man-cupstestppd.html>.
|
||||
|
||||
|
||||
2
tldr/d2
2
tldr/d2
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# d2
|
||||
|
||||
> 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>.
|
||||
|
||||
- Compile and render a D2 source file into an output file:
|
||||
|
||||
2
tldr/dbx
2
tldr/dbx
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dbx
|
||||
|
||||
> 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>.
|
||||
|
||||
- Create a new `dbx` project in the current working directory:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dnsx
|
||||
|
||||
> 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`.
|
||||
> More information: <https://docs.projectdiscovery.io/tools/dnsx/running>.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Print given arguments.
|
||||
> 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}}"`
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ghostty
|
||||
|
||||
> 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>.
|
||||
|
||||
- Open a new Ghostty window (not supported on macOS):
|
||||
|
||||
2
tldr/git
2
tldr/git
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Distributed version control system.
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
@@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# git for-each-repo
|
||||
|
||||
> 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>.
|
||||
|
||||
- Run maintenance on each of a list of repositories stored in the `maintenance.repo` user configuration variable:
|
||||
|
||||
@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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`
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
@@ -34,8 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show the first two levels of the accounts hierarchy:
|
||||
|
||||
`hledger {{[acc|accounts]}} {{[-t|--tree]}} --depth 2`
|
||||
|
||||
- Short form of the above:
|
||||
|
||||
`hledger acc -t -2`
|
||||
`hledger {{[acc|accounts]}} {{[-t|--tree]}} {{[-2|--depth 2]}}`
|
||||
|
||||
@@ -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:
|
||||
|
||||
`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:
|
||||
|
||||
`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*`:
|
||||
|
||||
`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:
|
||||
|
||||
`hledger bal --gain -Q {{assets:investments}} not:{{cryptocurrency}}`
|
||||
`hledger {{[bal|balance]}} --gain {{[-Q|--quarterly]}} {{assets:investments}} not:{{cryptocurrency}}`
|
||||
|
||||
@@ -33,6 +33,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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`
|
||||
|
||||
@@ -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]}}`
|
||||
|
||||
- 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`
|
||||
|
||||
@@ -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:
|
||||
|
||||
`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:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# httpx
|
||||
|
||||
> 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>.
|
||||
|
||||
- Run a probe against a [u]RL, host, IP Address or subnet (CIDR notation) showing probe status:
|
||||
|
||||
@@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Online password guessing tool.
|
||||
> 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:
|
||||
|
||||
|
||||
2
tldr/iex
2
tldr/iex
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# iex
|
||||
|
||||
> IEx is the interactive shell for Elixir.
|
||||
> More information: <https://hexdocs.pm/iex>.
|
||||
> More information: <https://manned.org/iex>.
|
||||
|
||||
- Start an interactive session:
|
||||
|
||||
|
||||
@@ -10,4 +10,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a database at `/usr/local/var/postgres`:
|
||||
|
||||
`initdb -D /usr/local/var/postgres`
|
||||
`initdb {{[-D|--pgdata]}} /usr/local/var/postgres`
|
||||
|
||||
@@ -16,4 +16,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Print a file from `stdin` to `stdout`:
|
||||
|
||||
`{{wget -O - https://examplewebsite.com/file}} | ippeveps`
|
||||
`{{wget {{[-O|--output-document]}} - https://examplewebsite.com/file}} | ippeveps`
|
||||
|
||||
10
tldr/jdupes
10
tldr/jdupes
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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>.
|
||||
|
||||
- Search a single directory:
|
||||
@@ -18,16 +18,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
`jdupes --delete --recurse {{path/to/directory}}`
|
||||
`jdupes {{[-d|--delete]}} {{[-r|--recurse]}} {{path/to/directory}}`
|
||||
|
||||
- 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:
|
||||
|
||||
`jdupes -O {{directory1 directory2 directory3 ...}}`
|
||||
`jdupes {{[-O|--param-order]}} {{directory1 directory2 directory3 ...}}`
|
||||
|
||||
2
tldr/lex
2
tldr/lex
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Lexical analyzer generator.
|
||||
> 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>.
|
||||
|
||||
- Generate an analyzer from a Lex file, storing it to the file `lex.yy.c`:
|
||||
|
||||
@@ -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):
|
||||
|
||||
`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):
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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}}`
|
||||
|
||||
|
||||
@@ -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.
|
||||
> 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}}`
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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`
|
||||
|
||||
|
||||
@@ -31,4 +31,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Generate a report for debugging manually:
|
||||
|
||||
`abrt-cli report --analyze {{problem_id}}`
|
||||
`abrt-cli report {{[-a|--analyze]}} {{problem_id}}`
|
||||
|
||||
@@ -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.
|
||||
> 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>.
|
||||
|
||||
- Connect `stdin` to a port (relative to `/dev`) and optionally specify a baud rate (defaults to 9600):
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# apx pkgmanagers
|
||||
|
||||
> 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>.
|
||||
|
||||
- Interactively create a new package manager configuration:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# apx stacks
|
||||
|
||||
> 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>.
|
||||
|
||||
- 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}}`
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# collectd
|
||||
|
||||
> System statistics collection daemon.
|
||||
> More information: <https://collectd.org/>.
|
||||
> More information: <https://www.collectd.org/documentation/>.
|
||||
|
||||
- Test the configuration file and then exit:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cryptsetup luksFormat
|
||||
|
||||
> 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>.
|
||||
|
||||
- Initialize a LUKS volume with a passphrase:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cryptsetup open
|
||||
|
||||
> 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.
|
||||
> More information: <https://manned.org/cryptsetup-open>.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# diffimg
|
||||
|
||||
> 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>.
|
||||
|
||||
- Calculate the intersection between images and output an image where each pixel is the difference between corresponding pixels in input images:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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 ...}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dnf5 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:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Recover deleted files from ext3 or ext4 partitions by parsing the journal.
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# rename
|
||||
|
||||
> 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>.
|
||||
|
||||
- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found):
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# fpsync
|
||||
|
||||
> 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:
|
||||
|
||||
@@ -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/}}`
|
||||
|
||||
- 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/}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lbu
|
||||
|
||||
> 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>.
|
||||
|
||||
- Commit changes to persistent storage (only files in `/etc` by default):
|
||||
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Connect to an FTP server:
|
||||
|
||||
`lftp --user {{username}} {{ftp.example.com}}`
|
||||
`lftp {{[-u|--user]}} {{username}} {{ftp.example.com}}`
|
||||
|
||||
- Download multiple files (glob expression):
|
||||
|
||||
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Find filenames quickly.
|
||||
> 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}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# look
|
||||
|
||||
> 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`.
|
||||
> More information: <https://manned.org/look>.
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mkfs.erofs
|
||||
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List the specified attribute only:
|
||||
|
||||
`modinfo -F {{author|description|license|parm|filename}} {{kernel_module}}`
|
||||
`modinfo {{[-F|--field]}} {{author|description|license|parm|filename}} {{kernel_module}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mount.cifs
|
||||
|
||||
> 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>.
|
||||
|
||||
- Connect using the specified username or `$USER` by default (you will be prompted for a password):
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mount.smb3
|
||||
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# rename
|
||||
|
||||
> 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>.
|
||||
|
||||
- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found):
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# rename
|
||||
|
||||
> 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>.
|
||||
|
||||
- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found):
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# quickget
|
||||
|
||||
> 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`.
|
||||
> More information: <https://github.com/quickemu-project/quickemu>.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# rename
|
||||
|
||||
> 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`.
|
||||
> Warning: This command has no safeguards and will overwrite files without prompting.
|
||||
> More information: <https://manned.org/rename>.
|
||||
|
||||
@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# sbctl
|
||||
|
||||
> 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>.
|
||||
|
||||
- Show the current secure boot status:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# st
|
||||
|
||||
> A simple terminal emulator for the X Window System.
|
||||
> More information: <https://st.suckless.org>.
|
||||
> More information: <https://manned.org/st>.
|
||||
|
||||
- Open a terminal:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# switch_root
|
||||
|
||||
> 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`.
|
||||
> More information: <https://manned.org/switch_root.8>.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# sxiv
|
||||
|
||||
> Simple X Image Viewer.
|
||||
> More information: <https://github.com/muennich/sxiv>.
|
||||
> More information: <https://manned.org/sxiv>.
|
||||
|
||||
- Open an image:
|
||||
|
||||
|
||||
@@ -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`):
|
||||
|
||||
`systemd-cgtop --delay={{interval}}`
|
||||
`systemd-cgtop {{[-d|--delay]}} {{interval}}`
|
||||
|
||||
- Only count userspace processes (without kernel threads):
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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|...}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# systemd-resolve
|
||||
|
||||
> 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>.
|
||||
|
||||
- View documentation for `resolvectl`:
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> View system device information by bus, and classes.
|
||||
> 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`:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# trizen
|
||||
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Specify the format of captured output:
|
||||
|
||||
`tshark -T {{json|text|ps|…}}`
|
||||
`tshark -T {{json|text|ps|...}}`
|
||||
|
||||
- Select specific fields to output:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# tzselect
|
||||
|
||||
> 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>.
|
||||
|
||||
- Open the interactive menu for timezone selection and print the selected timezone to `stdout`:
|
||||
|
||||
@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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`
|
||||
|
||||
|
||||
@@ -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.
|
||||
> 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:
|
||||
|
||||
`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`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# wpctl
|
||||
|
||||
> 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/>.
|
||||
|
||||
- List all objects managed by WirePlumber:
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Simulate keyboard input on Wayland, similar to `xdotool type` for X11.
|
||||
> See also: `ydotool`.
|
||||
> More information: <https://github.com/atx/wtype>.
|
||||
> More information: <https://manned.org/wtype>.
|
||||
|
||||
- Simulate typing text:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# xxhsum
|
||||
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -8,6 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Add a `.gz` extension to files compressed using `gzip`.
|
||||
> 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 ...}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# look
|
||||
|
||||
> 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`.
|
||||
> More information: <https://man.openbsd.org/look>.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# magick convert
|
||||
|
||||
> 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>.
|
||||
|
||||
- Convert an image from JPEG to PNG:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# medusa
|
||||
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# meson
|
||||
|
||||
> 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:
|
||||
|
||||
`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:
|
||||
|
||||
@@ -26,8 +26,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show the help:
|
||||
|
||||
`meson --help`
|
||||
`meson {{[-h|--help]}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`meson --version`
|
||||
`meson {{[-v|--version]}}`
|
||||
|
||||
2
tldr/mg
2
tldr/mg
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mg
|
||||
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mongo
|
||||
|
||||
> 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>.
|
||||
|
||||
- Connect to a local database on the default port (`mongodb://localhost:27017`):
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mongosh
|
||||
|
||||
> 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>.
|
||||
|
||||
- Connect to a local database on the default port (`mongodb://localhost:27017`):
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# moreutils
|
||||
|
||||
> 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/>.
|
||||
|
||||
- View documentation for pages related to standard streams:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mp3info
|
||||
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -29,6 +29,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`mqtt_check.py -debug {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||
|
||||
- Display help message:
|
||||
- Display help:
|
||||
|
||||
`mqtt_check.py --help`
|
||||
|
||||
@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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}}"`
|
||||
|
||||
|
||||
@@ -24,3 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Check status of VPN tunnel:
|
||||
|
||||
`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
Reference in New Issue
Block a user