Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-30 00:23:24 +00:00
parent d1988a6d2c
commit ce66b5e9bf
119 changed files with 333 additions and 158 deletions

View File

@@ -7,24 +7,24 @@ source: https://github.com/tldr-pages/tldr.git
> A simple, modern and secure file encryption tool.
> See also: `age-keygen` for generating key pairs.
> More information: <https://github.com/FiloSottile/age>.
> More information: <https://github.com/FiloSottile/age#usage>.
- Generate an encrypted file that can be decrypted with a passphrase:
`age --passphrase --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
`age {{[-p|--passphrase]}} {{[-o|--output]}} {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
- Encrypt a file with one or more public keys entered as literals (repeat the `--recipient` flag to specify multiple public keys):
`age --recipient {{public_key}} --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
`age {{[-r|--recipient]}} {{public_key}} {{[-o|--output]}} {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
- Encrypt a file to one or more recipients with their public keys specified in a file (one per line):
`age --recipients-file {{path/to/recipients_file}} --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
`age {{[-R|--recipients-file]}} {{path/to/recipients_file}} {{[-o|--output]}} {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
- Decrypt a file with a passphrase:
`age --decrypt --output {{path/to/decrypted_file}} {{path/to/encrypted_file}}`
`age {{[-d|--decrypt]}} {{[-o|--output]}} {{path/to/decrypted_file}} {{path/to/encrypted_file}}`
- Decrypt a file with a private key file:
`age --decrypt --identity {{path/to/private_key_file}} --output {{path/to/decrypted_file}} {{path/to/encrypted_file}}`
`age {{[-d|--decrypt]}} {{[-i|--identity]}} {{path/to/private_key_file}} {{[-o|--output]}} {{path/to/decrypted_file}} {{path/to/encrypted_file}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ajson
> Execute JSONPath on JSON objects.
> More information: <https://github.com/spyzhov/ajson>.
> More information: <https://github.com/spyzhov/ajson#console-application>.
- Read JSON from a file and execute a specified JSONPath expression:

View File

@@ -6,20 +6,20 @@ source: https://github.com/tldr-pages/tldr.git
# asar
> A file archiver for the Electron platform.
> More information: <https://github.com/electron/asar>.
> More information: <https://github.com/electron/asar#usage>.
- Archive a file or directory:
`asar pack {{path/to/input_file_or_directory}} {{path/to/output_archive.asar}}`
`asar {{[p|pack]}} {{path/to/input_file_or_directory}} {{path/to/output_archive.asar}}`
- Extract an archive:
`asar extract {{path/to/archive.asar}}`
`asar {{[e|extract]}} {{path/to/archive.asar}}`
- Extract a specific file from an archive:
`asar extract-file {{path/to/archive.asar}} {{file}}`
`asar {{[ef|extract-file]}} {{path/to/archive.asar}} {{file}}`
- List the contents of an archive file:
`asar list {{path/to/archive.asar}}`
`asar {{[l|list]}} {{path/to/archive.asar}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# astronomer
> Detect illegitimate stars from bot accounts on GitHub projects.
> More information: <https://github.com/Ullaakut/astronomer>.
> More information: <https://github.com/Ullaakut/astronomer#arguments-and-options>.
- Scan a repository:
@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
- Scan the maximum amount of stars in the repository:
`astronomer {{tldr-pages/tldr-node-client}} --stars {{50}}`
`astronomer {{tldr-pages/tldr-node-client}} {{[-s|--stars]}} {{50}}`
- Scan a repository including comparative reports:
`astronomer {{tldr-pages/tldr-node-client}} --verbose`
`astronomer {{tldr-pages/tldr-node-client}} {{[-v|--verbose]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# autoflake
> Remove unused imports and variables from Python code.
> More information: <https://github.com/myint/autoflake>.
> More information: <https://github.com/PyCQA/autoflake#advanced-usage>.
- Remove unused variables from a single file and display the diff:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Quickly jump among the directories you visit the most.
> Aliases like `j` or `jc` are provided for even less typing.
> See also: `bashmarks`.
> More information: <https://github.com/wting/autojump>.
> More information: <https://github.com/wting/autojump#name>.
- Add the `autojump` aliases to your shell:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# awslogs
> Queries groups, streams and events from Amazon CloudWatch logs.
> More information: <https://github.com/jorgebastida/awslogs>.
> More information: <https://github.com/jorgebastida/awslogs#options>.
- List log groups:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Save and jump to commonly used directories using 1 character commands.
> See also: `autojump`.
> More information: <https://github.com/huyng/bashmarks>.
> More information: <https://github.com/huyng/bashmarks#shell-commands>.
- Add the bashmark aliases to your shell:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Print and concatenate files.
> A `cat` clone with syntax highlighting and Git integration.
> More information: <https://github.com/sharkdp/bat>.
> More information: <https://manned.org/bat>.
- Pretty print the contents of one or more files to `stdout`:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# binwalk
> Firmware Analysis Tool.
> More information: <https://github.com/ReFirmLabs/binwalk>.
> More information: <https://manned.org/binwalk>.
- Scan a binary file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# bob
> Manage and switch between Neovim versions.
> More information: <https://github.com/MordechaiHadad/bob>.
> More information: <https://github.com/MordechaiHadad/bob#-usage>.
- Install and switch to the specified version of Neovim:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A resource monitor that shows information about the CPU, memory, disks, network and processes.
> A Python version of `bashtop`.
> More information: <https://github.com/aristocratos/bpytop>.
> More information: <https://github.com/aristocratos/bpytop#command-line-options>.
- Start `bpytop`:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# buzzphrase
> Output a random buzzphrase. Written in Node.js.
> More information: <https://github.com/atomantic/buzzphrase>.
> More information: <https://github.com/atomantic/buzzphrase#usage>.
- Generate a string of three random phrases containing an adjective, a past tense verb and a plural noun:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cb
> Cut, copy, and paste anything in the terminal.
> More information: <https://github.com/Slackadays/Clipboard>.
> More information: <https://github.com/Slackadays/Clipboard#-7>.
- Show all clipboards:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# charm
> Set of tools that makes adding a backend to your terminal-based applications, without worrying about user accounts, data storage and encryption.
> More information: <https://github.com/charmbracelet/charm>.
> More information: <https://manned.org/charm>.
- Backup your Charm account keys:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cheat
> Create and view interactive cheat sheets.
> More information: <https://github.com/cheat/cheat>.
> More information: <https://github.com/cheat/cheat/blob/master/doc/cheat.1.md>.
- Show example usage of a command:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create TCP/UDP tunnels, transported over HTTP, secured via SSH.
> Includes both client and server in the same `chisel` executable.
> More information: <https://github.com/jpillora/chisel>.
> More information: <https://github.com/jpillora/chisel#usage>.
- Run a Chisel server:

View File

@@ -7,19 +7,19 @@ source: https://github.com/tldr-pages/tldr.git
> A general-purpose syntax highlighter.
> The `--lexer` option is usually unnecessary, as it will be automatically determined based on the file extension.
> More information: <https://github.com/alecthomas/chroma>.
> More information: <https://manned.org/chroma>.
- Highlight source code from a file with the Python lexer and output to `stdout`:
`chroma --lexer {{python}} {{path/to/source_file.py}}`
`chroma {{[-l|--lexer]}} {{python}} {{path/to/source_file.py}}`
- Highlight source code from a file with the Go lexer and output to an HTML file:
`chroma --lexer {{go}} --formatter {{html}} {{path/to/source_file.go}} > {{path/to/target_file.html}}`
`chroma {{[-l|--lexer]}} {{go}} {{[-f|--formatter]}} {{html}} {{path/to/source_file.go}} > {{path/to/target_file.html}}`
- Highlight source code from `stdin` with the C++ lexer and output to an SVG file, using the Monokai style:
`{{command}} | chroma --lexer {{c++}} --formatter {{svg}} --style {{monokai}} > {{path/to/target_file.svg}}`
`{{command}} | chroma {{[-l|--lexer]}} {{c++}} {{[-f|--formatter]}} {{svg}} {{[-s|--style]}} {{monokai}} > {{path/to/target_file.svg}}`
- List available lexers, styles and formatters:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# circup
> The CircuitPython library updater.
> More information: <https://github.com/adafruit/circup>.
> More information: <https://github.com/adafruit/circup#usage>.
- Interactively update modules on a device:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cmark
> Convert CommonMark Markdown formatted text to other formats.
> More information: <https://github.com/commonmark/cmark>.
> More information: <https://manned.org/cmark>.
- Render a CommonMark Markdown file to HTML:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A wrapper around `diff` that produces the same output but with pretty syntax highlighting.
> Color schemes can be customized.
> More information: <https://github.com/kimmel/colordiff>.
> More information: <https://manned.org/colordiff>.
- Compare files:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# colorls
> Beautify `ls` command output, with color and font-awesome icons. Available as a Ruby gem.
> More information: <https://github.com/athityakumar/colorls>.
> More information: <https://github.com/athityakumar/colorls#flags>.
- List files one per line:
@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- List all files, including hidden files:
`colorls --all`
`colorls {{[-a|--all]}}`
- Long format list (permissions, ownership, size, and modification date) of all files:
`colorls --long --all`
`colorls {{[-l|--long]}} {{[-a|--all]}}`
- Only list directories:
`colorls --dirs`
`colorls {{[-d|--dirs]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dfc
> Get an overview of the filesystem disk space usage with colors and graphs.
> More information: <https://github.com/Rolinh/dfc>.
> More information: <https://manned.org/dfc>.
- Display filesystems and their disk usage in human-readable form with colors and graphs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# duf
> Disk Usage/Free Utility.
> More information: <https://github.com/muesli/duf>.
> More information: <https://github.com/muesli/duf#usage>.
- List accessible devices:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gau
> Get All URLs: fetch known URLs from AlienVault's Open Threat Exchange, the Wayback Machine, and Common Crawl for any domains.
> More information: <https://github.com/lc/gau>.
> More information: <https://github.com/lc/gau#usage>.
- Fetch all URLs of a domain from AlienVault's Open Threat Exchange, the Wayback Machine, Common Crawl, and URLScan:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gdown
> Download files from Google Drive and other URLs.
> More information: <https://github.com/wkentaro/gdown>.
> More information: <https://github.com/wkentaro/gdown#usage>.
- Download a file from a URL:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gdu
> Disk usage analyzer with console interface.
> More information: <https://github.com/dundee/gdu>.
> More information: <https://github.com/dundee/gdu#usage>.
- Interactively show the disk usage of the current directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# glow
> Render Markdown in the terminal.
> More information: <https://github.com/charmbracelet/glow>.
> More information: <https://manned.org/glow>.
- Run glow and select a file to view:

22
tldr/glxgears Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# glxgears
> Test OpenGL rendering.
> See also: `vkcube`.
> More information: <https://manned.org/glxgears>.
- Run an OpenGL test window:
`glxgears`
- Display OpenGL renderer information:
`glxgears -info`
- Display help:
`glxgears -h`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# googler
> Search Google from the command-line.
> More information: <https://github.com/jarun/googler>.
> More information: <https://github.com/jarun/googler#usage>.
- Search Google for a keyword:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# goreload
> Live reload utility for Go programs.
> More information: <https://github.com/acoshift/goreload>.
> More information: <https://github.com/acoshift/goreload#basic-usage>.
- Watch a binary file (defaults to `.goreload`):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gotty
> Share your terminal as a web application.
> More information: <https://github.com/yudai/gotty>.
> More information: <https://github.com/yudai/gotty#usage>.
- Share result of command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# grex
> Generate `regex`s.
> More information: <https://github.com/pemistahl/grex>.
> More information: <https://github.com/pemistahl/grex#5-how-to-use>.
- Generate a simple `regex`:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hadolint
> Dockerfile linter.
> More information: <https://github.com/hadolint/hadolint>.
> More information: <https://github.com/hadolint/hadolint#cli>.
- Lint a Dockerfile:
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
- Lint a Dockerfile, displaying the output in JSON format:
`hadolint --format {{json}} {{path/to/Dockerfile}}`
`hadolint {{[-f|--format]}} {{json}} {{path/to/Dockerfile}}`
- Lint a Dockerfile, displaying the output in a specific format:
`hadolint --format {{tty|json|checkstyle|codeclimate|codacy}} {{path/to/Dockerfile}}`
`hadolint {{[-f|--format]}} {{tty|json|checkstyle|codeclimate|codacy}} {{path/to/Dockerfile}}`
- Lint a Dockerfile ignoring specific rules:

View File

@@ -12,10 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
`hangups`
- Display troubleshooting information and help:
`hangups -h`
- Set a refresh token for hangups:
`hangups --token-path {{path/to/token}}`
- Display troubleshooting information and help:
`hangups -h`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A simple hex viewer for the terminal. Uses colored output to distinguish different categories of bytes.
> See also: `od`, `xxd`, `hexdump`.
> More information: <https://github.com/sharkdp/hexyl>.
> More information: <https://github.com/sharkdp/hexyl/blob/master/doc/hexyl.1.md>.
- Print the hexadecimal representation of a file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Display images on the command-line.
> Requires a compatible terminal such as iTerm2.
> More information: <https://github.com/danielgatis/imgcat>.
> More information: <https://github.com/danielgatis/imgcat#usage>.
- Display an image on the command-line:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jc
> Convert the output of multiple commands to JSON.
> More information: <https://github.com/kellyjonbrazil/jc>.
> More information: <https://github.com/kellyjonbrazil/jc#usage>.
- Convert command output to JSON via pipe:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jello
> A JSON processor using Python syntax.
> More information: <https://github.com/kellyjonbrazil/jello>.
> More information: <https://github.com/kellyjonbrazil/jello#usage>.
- Pretty-print JSON or JSON-Lines data from `stdin` to `stdout`:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# jenv
> Manage the "JAVA_HOME" environment variable.
> Manage the `$JAVA_HOME` environment variable.
> More information: <https://github.com/jenv/jenv>.
- Add a Java version to jEnv:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jtbl
> Utility to print JSON and JSON Lines data as a table in the terminal.
> More information: <https://github.com/kellyjonbrazil/jtbl>.
> More information: <https://github.com/kellyjonbrazil/jtbl#usage>.
- Print a table from JSON or JSON Lines input:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# just
> Save and run project-specific commands.
> More information: <https://github.com/casey/just>.
> More information: <https://manned.org/just>.
- Run a recipe specified in the justfile:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# kiterunner
> A contextual web scanner for discovering API paths and web endpoints using wordlists and kitebuilder schemas.
> More information: <https://github.com/assetnote/kiterunner>.
> More information: <https://github.com/assetnote/kiterunner#usage>.
- View documentation for bruteforcing API paths and web endpoints:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A contextual web scanner for bruteforcing API paths and web endpoints using wordlists.
> The `brute` subcommand targets one or multiple hosts.
> More information: <https://github.com/assetnote/kiterunner>.
> More information: <https://github.com/assetnote/kiterunner#usage>.
- Bruteforce a target with an Assetnote wordlist (e.g., first 20,000 API routes):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A contextual web scanner for manipulating kitebuilder schemas used in API and web endpoint discovery.
> The `kb` subcommand handles schema compilation, conversion, parsing, and request replay.
> More information: <https://github.com/assetnote/kiterunner>.
> More information: <https://github.com/assetnote/kiterunner#usage>.
- Compile a kitebuilder schema from JSON to a kite file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A contextual web scanner for concurrently scanning API paths and web endpoints using kitebuilder wordlists.
> The `scan` subcommand targets one or multiple hosts with structured API requests.
> More information: <https://github.com/assetnote/kiterunner>.
> More information: <https://github.com/assetnote/kiterunner#usage>.
- Scan a target with an Assetnote wordlist (e.g., first 5000 API routes):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A contextual web scanner for managing wordlists used in API and web endpoint discovery.
> The `wordlist` subcommand handles listing and saving wordlists in `~/.cache/kiterunner`.
> More information: <https://github.com/assetnote/kiterunner>.
> More information: <https://github.com/assetnote/kiterunner#usage>.
- List all cached and available Assetnote wordlists:

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`kubectl run {{nginx-dev}} --image nginx --port 80`
- Run an nginx pod, setting the TEST_VAR environment variable:
- Run an nginx pod, setting the `$TEST_VAR` environment variable:
`kubectl run {{nginx-dev}} --image nginx --env "{{TEST_VAR}}={{testing}}"`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# kubie
> Utility to switch between `kubectl` contexts and namespaces.
> More information: <https://github.com/sbstp/kubie>.
> More information: <https://github.com/sbstp/kubie#usage>.
- Display a selectable menu of contexts:
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Switch current shell to the given context and namespace:
`kubie ctx {{context}} -n {{namespace}}`
`kubie ctx {{context}} {{[-n|--namespace]}} {{namespace}}`
- Execute a command in the given context and namespace, without spawning a shell:

14
tldr/lb
View File

@@ -7,28 +7,28 @@ source: https://github.com/tldr-pages/tldr.git
> Manage a blog contained in the current directory.
> Drafts and posts to operate on are selected interactively when running the commands.
> More information: <https://github.com/LukeSmithxyz/lb>.
> More information: <https://github.com/LukeSmithxyz/lb#usage>.
- Make a new draft:
`lb new`
`lb {{[n|new]}}`
- Edit a draft:
`lb edit`
`lb {{[e|edit]}}`
- Delete a draft:
`lb trash`
`lb {{[t|trash]}}`
- Publish a draft:
`lb publish`
`lb {{[p|publish]}}`
- Delete a published post:
`lb delete`
`lb {{[d|delete]}}`
- Unpublish a published post to edit it as a draft again:
`lb revise`
`lb {{[r|revise]}}`

14
tldr/linux/barotrauma Normal file
View File

@@ -0,0 +1,14 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# Barotrauma
> Start a headless Barotrauma server.
> Note: The server is configured by editing the `serversettings.xml` file in the game directory.
> More information: <https://barotraumagame.com/wiki/Hosting_a_Dedicated_Server>.
- Start the server:
`{{path/to/DedicatedServer}}`

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Lock the database:
`paclock`
`sudo paclock`
- Write the lock file path to `stdout` (without locking the database):
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Unlock the database:
`paclock --unlock`
`sudo paclock --unlock`
- Display help:

29
tldr/linux/pacsync Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pacsync
> Update sync databases.
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacsync.pod>.
- Update all sync databases:
`sudo pacsync`
- Update specific sync databases:
`sudo pacsync {{repository1 repository2 ...}}`
- Update sync databases even if they are already up-to-date:
`sudo pacsync --force`
- Update sync databases using a specific configuration file:
`sudo pacsync --config {{path/to/pacman.conf}}`
- Update sync databases and return true only if a database was actually updated:
`sudo pacsync --updated`

34
tldr/linux/pactrans Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pactrans
> Install, remove, and upgrade ALPM packages.
> See also: `pacinstall`, `pacremove`.
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pactrans.pod>.
- Install a package from a repository:
`sudo pactrans --install {{package_name}}`
- Remove a package:
`sudo pactrans --remove {{package_name}}`
- Upgrade all installed packages:
`sudo pactrans --sysupgrade`
- Install a package file:
`sudo pactrans --file {{path/to/package.pkg.tar.zst}}`
- Replace a locally installed package with a package from a repository:
`sudo pactrans local/{{package_to_remove}} {{repository_name}}/{{package_to_install}}`
- Print what the transaction would do without performing it:
`pactrans --print-only --install {{package_name}}`

View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pct move-volume
> Move a volume to a different storage or to a different container.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_move-volume>.
- Move the root filesystem of a container to a different storage:
`pct {{[mov|move-volume]}} {{100}} rootfs {{storage_id}}`
- Delete the filesystem association to the old volume once the move is complete:
`pct {{[mov|move-volume]}} {{100}} rootfs {{storage_id}} --delete`

View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pct move_volume
> This command is an alias of `pct move-volume`.
- View documentation for the original command:
`tldr pct move-volume`

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo tune2fs -c 2 {{/dev/sdXN}}`
- Set the filesystem label to MY_LABEL:
- Set the filesystem label to `MY_LABEL`:
`sudo tune2fs -L 'MY_LABEL' {{/dev/sdXN}}`

12
tldr/linux/update-grub Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# update-grub
> This command is an alias of `grub-mkconfig --output /boot/grub/grub.cfg`.
- View documentation for the original command:
`tldr grub-mkconfig`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# loadtest
> Run a load test on the selected HTTP or WebSockets URL.
> More information: <https://github.com/alexfernandez/loadtest>.
> More information: <https://github.com/alexfernandez/loadtest#usage>.
- Run with concurrent users and a specified amount of requests per second:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# lolcat
> Put a rainbow in everything you `cat` to the console.
> More information: <https://github.com/busyloop/lolcat>.
> More information: <https://manned.org/lolcat>.
- Print a file to the console in rainbow colors:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> List directory contents.
> The next generation `ls` command, written in Rust.
> More information: <https://github.com/Peltoche/lsd>.
> More information: <https://github.com/lsd-rs/lsd/blob/main/doc/lsd.md>.
- List files and directories, one per line:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mailsy
> Quickly generate a disposable email using `mail.tm` API.
> More information: <https://github.com/BalliAsghar/Mailsy>.
> More information: <https://github.com/BalliAsghar/Mailsy#usage>.
- Create an email address:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# miniserve
> Simple HTTP file server.
> More information: <https://github.com/svenstaro/miniserve>.
> More information: <https://github.com/svenstaro/miniserve#usage>.
- Serve a directory:
@@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git
- Serve a directory using HTTP basic authentication:
`miniserve --auth {{username}}:{{password}} {{path/to/directory}}`
`miniserve {{[-a|--auth]}} {{username}}:{{password}} {{path/to/directory}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mktorrent
> Create BitTorrent metainfo files.
> More information: <https://github.com/Rudde/mktorrent>.
> More information: <https://manned.org/mktorrent>.
- Create a torrent with 2^21 KB as the piece size:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mods
> AI for the command-line, built for pipelines.
> More information: <https://github.com/charmbracelet/mods>.
> More information: <https://github.com/charmbracelet/mods#usage>.
- Ask a generic question:
@@ -18,19 +18,19 @@ source: https://github.com/tldr-pages/tldr.git
- Ask for comments on your code, in markdown format:
`mods < {{path/to/file}} --format "{{what are your thoughts on improving this code?}}"`
`mods < {{path/to/file}} {{[-f|--format]}} "{{what are your thoughts on improving this code?}}"`
- Ask for help with your documentation, in markdown format:
`mods < {{README.md}} --format "{{write a new section to this readme for a feature that sends you a free rabbit if you hit r}}"`
`mods < {{README.md}} {{[-f|--format]}} "{{write a new section to this readme for a feature that sends you a free rabbit if you hit r}}"`
- Organize your videos, in markdown format:
`ls {{path/to/videos}} | mods --format "{{organize these by decade and summarize}}"`
`ls {{path/to/videos}} | mods {{[-f|--format]}} "{{organize these by decade and summarize}}"`
- Read through raw HTML and summarize the contents, in markdown format:
`curl "{{https://api.open-meteo.com/v1/forecast?latitude=29.00&longitude=-90.00&current_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m}}" | mods --format "{{summarize this weather data for a human}}"`
`curl "{{https://api.open-meteo.com/v1/forecast?latitude=29.00&longitude=-90.00&current_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m}}" | mods {{[-f|--format]}} "{{summarize this weather data for a human}}"`
- Display help:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Minimal terminal multiplexer.
> See also: `tmux`, `screen`.
> More information: <https://github.com/deadpixi/mtm>.
> More information: <https://manned.org/mtm>.
- Start the program with default command chord (`<Ctrl g>`):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Compile a Node.js application into a single file.
> Supports TypeScript, binary addons and dynamic requires.
> More information: <https://github.com/vercel/ncc>.
> More information: <https://github.com/vercel/ncc#usage>.
- Bundle a Node.js application:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Display information about the operating system, software and hardware.
> Note: `neofetch` is no longer maintained.
> See also: `fastfetch`.
> More information: <https://github.com/dylanaraps/neofetch>.
> More information: <https://manned.org/neofetch>.
- Return the default config, and create it if it's the first time the program runs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# nhentai
> Download doujinshis from nhentai.
> More information: <https://github.com/RicterZ/nhentai>.
> More information: <https://github.com/RicterZ/nhentai#usage>.
- Set cookies:
@@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git
- Download the first page of your favorites:
`nhentai --favorites --download --delay 1`
`nhentai {{[-F|--favorites]}} {{[-D|--download]}} {{[-d|--delay]}} 1`
- Download specific pages of your favorites:
`nhentai --favorites --pages {{start_page}}-{{end_page}} --download --delay 1`
`nhentai {{[-F|--favorites]}} --pages {{start_page}}-{{end_page}} {{[-D|--download]}} {{[-d|--delay]}} 1`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# nload
> Visualize network usage in the terminal.
> More information: <https://github.com/rolandriegel/nload>.
> More information: <https://manned.org/nload>.
- View all network traffic (use the `<ArrowKeys>` to switch interfaces):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# noti
> Monitor a process and trigger a banner notification.
> More information: <https://github.com/variadico/noti>.
> More information: <https://github.com/variadico/noti/blob/main/docs/noti.md>.
- Display a notification when tar finishes compressing files:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Scrape URLs on different `.onion` search engines.
> Note: `onionsearch` requires a Tor proxy running on `localhost:9050`; a Tor enabled browser is needed to visit the `.onion` websites.
> More information: <https://github.com/megadose/OnionSearch>.
> More information: <https://github.com/megadose/OnionSearch#--usage>.
- Request results from all the search engines:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# java_home
> Return a value for $JAVA_HOME or execute command using this variable.
> Return a value for `$JAVA_HOME` or execute command using this variable.
> More information: <https://www.unix.com/man-page/osx/1/java_home>.
- List JVMs based on a specific version:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pastel
> Generate, analyze, convert and manipulate colors.
> More information: <https://github.com/sharkdp/pastel>.
> More information: <https://manned.org/pastel>.
- Convert colors from one format to another. Here from RGB to HSL:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# phpmd
> PHP mess detector: check for common potential problems.
> More information: <https://github.com/phpmd/phpmd>.
> More information: <https://github.com/phpmd/phpmd#command-line-options>.
- Display a list of available rulesets and formats:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# picotool
> Manage Raspberry Pi Pico boards.
> More information: <https://github.com/raspberrypi/picotool>.
> More information: <https://github.com/raspberrypi/picotool#overview>.
- Display information about the currently loaded program on a Pico:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pigz
> Multithreaded zlib compression utility.
> More information: <https://github.com/madler/pigz>.
> More information: <https://manned.org/pigz>.
- Compress a file with default options:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pprof
> Visualize and analyze profiling data.
> More information: <https://github.com/google/pprof>.
> More information: <https://github.com/google/pprof/tree/main/doc#pprof>.
- Generate a text report from a specific profiling file, on fibbo binary:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# procs
> Display information about the active processes.
> More information: <https://github.com/dalance/procs>.
> More information: <https://github.com/dalance/procs/blob/master/man/procs.1.adoc>.
- List all processes showing the PID, user, CPU usage, memory usage, and the command which started them:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A versatile and portable proxy for capturing, manipulating, and replaying HTTP/HTTPS traffic on the go.
> See also: `mitmproxy`.
> More information: <https://github.com/projectdiscovery/proxify>.
> More information: <https://github.com/projectdiscovery/proxify#usage>.
- Start a HTTP proxy (on the loopback network interface `127.0.0.1` and port `8888`):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue add
> Enqueue a task for execution.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Add any command to the default queue:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue clean
> Remove all finished tasks from the list and clear logs.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Remove finished tasks and clear logs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue completions
> Generate shell completion files for Bash, Elvish, fish, PowerShell, and Zsh.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Generate completions for Bash:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Enqueue stashed tasks.
> See also: `pueue stash`.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Enqueue multiple stashed tasks at once:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue group
> Display, add or remove groups.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Show all groups with their statuses and number of parallel jobs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue kill
> Kill running tasks or whole groups.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Kill all tasks in the default group:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Display the log output of 1 or more tasks.
> See also: `pueue status`.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Show the last few lines of output from all tasks:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue parallel
> Set the amount of allowed parallel tasks.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Set the maximum number of tasks allowed to run in parallel, in the default group:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Pause running tasks or groups.
> See also: `pueue start`.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Pause all tasks in the default group:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue remove
> Remove tasks from the list. Running or paused tasks need to be killed first.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Remove a killed or finished task:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue reset
> Kill everything and reset.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Kill all tasks and remove everything (logs, status, groups, task IDs):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue restart
> Restart tasks.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Restart a specific task:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Resume operation of tasks or groups of tasks.
> See also: `pueue pause`.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Resume all tasks in the default group:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Stash tasks to prevent them starting automatically.
> See also: `pueue start`, `pueue enqueue`.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Stash an enqueued task:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pueue status
> Display the current status of all tasks.
> More information: <https://github.com/Nukesor/pueue>.
> More information: <https://github.com/Nukesor/pueue#how-to-use-it>.
- Show the status of all tasks:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Console file manager with VI key bindings.
> See also: `clifm`, `vifm`, `mc`, `dolphin`.
> More information: <https://github.com/ranger/ranger>.
> More information: <https://github.com/ranger/ranger/blob/master/doc/ranger.pod>.
- Launch ranger:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# reflac
> Recompress FLAC files in-place while preserving metadata.
> More information: <https://github.com/chungy/reflac>.
> More information: <https://github.com/chungy/reflac#running>.
- Recompress a directory of FLAC files:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rip
> Remove files or directories by sending them to the graveyard, allowing for them to be recovered.
> More information: <https://github.com/nivekuil/rip>.
> More information: <https://github.com/nivekuil/rip#-usage>.
- Remove files or directories from specified locations and place them in the graveyard:
@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- Interactively remove files or directories, with a prompt before every removal:
`rip --inspect {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
`rip {{[-i|--inspect]}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- List all files and directories in the graveyard that were originally within the current directory:
`rip --seance`
`rip {{[-s|--seance]}}`
- Permanently delete every file and directory in the graveyard:
`rip --decompose`
`rip {{[-d|--decompose]}}`
- Put back the files and directories which were affected by the most recent removal:
`rip --unbury`
`rip {{[-u|--unbury]}}`
- Put back every file and directory that is listed by `rip --seance`:
`rip --seance --unbury`
`rip {{[-s|--seance]}} {{[-u|--unbury]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ROPgadget
> Find ROP gadgets in binary files.
> More information: <https://github.com/JonathanSalwan/ROPgadget>.
> More information: <https://github.com/JonathanSalwan/ROPgadget#usage>.
- List gadgets in the binary file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# RsaCtfTool.py
> RSA attack tool for CTF challenges - recover private keys from weak public keys and/or decrypt data.
> More information: <https://github.com/RsaCtfTool/RsaCtfTool>.
> More information: <https://github.com/RsaCtfTool/RsaCtfTool#usage>.
- Recover a private key from a public key file:

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