Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-26 00:20:44 +00:00
parent 048e3ad81e
commit 197e4c944f
55 changed files with 110 additions and 80 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# anki
> Powerful, intelligent flashcard program.
> More information: <https://docs.ankiweb.net>.
> More information: <https://manned.org/anki>.
- Launch the GUI:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# antibody
> "The fastest" shell plugin manager.
> More information: <https://getantibody.github.io>.
> More information: <https://getantibody.github.io/#Usage>.
- Bundle all plugins for static loading:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# asciidoctor
> Convert AsciiDoc files to a publishable format.
> More information: <https://docs.asciidoctor.org>.
> More information: <https://docs.asciidoctor.org/asciidoctor/latest/cli/man1/asciidoctor/>.
- Convert a specific `.adoc` file to HTML (the default output format):

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# asciiquarium
> Display an animated aquarium in ASCII art inside the terminal.
> See also: `cmatrix`, `cbonsai`, `pipes.sh`.
> More information: <https://robobunny.com/projects/asciiquarium/html/?page=2>.
- Start `asciiquarium`:

View File

@@ -7,20 +7,20 @@ source: https://github.com/tldr-pages/tldr.git
> A cross-platform pluggable text editor.
> Plugins are managed by `apm`.
> Note: Atom has been sunsetted and is no longer actively maintained.
> Note: Atom has been sunsetted and is no longer actively maintained. Use `zed` instead.
> More information: <https://atom.io/>.
- Open a file or directory:
`atom {{path/to/file_or_directory}}`
- Open a file or directory in a [n]ew window:
- Open a file or directory in a new window:
`atom -n {{path/to/file_or_directory}}`
`atom {{[-n|--new-window]}} {{path/to/file_or_directory}}`
- Open a file or directory in an existing window:
`atom --add {{path/to/file_or_directory}}`
`atom {{[-a|--add]}} {{path/to/file_or_directory}}`
- Open Atom in safe mode (does not load any additional packages):
@@ -28,8 +28,8 @@ source: https://github.com/tldr-pages/tldr.git
- Prevent Atom from forking into the background, keeping Atom attached to the terminal:
`atom --foreground`
`atom {{[-f|--foreground]}}`
- Wait for Atom window to close before returning (useful for Git commit editor):
`atom --wait`
`atom {{[-w|--wait]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cbonsai
> A beautifully random bonsai tree generator.
> See also: `cmatrix`.
> See also: `cmatrix`, `asciiquarium`, `pipes.sh`.
> More information: <https://gitlab.com/jallbrit/cbonsai>.
- Generate a bonsai in live mode:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cmatrix
> Shows a scrolling Matrix like screen in the terminal.
> See also: `cbonsai`.
> See also: `cbonsai`, `asciiquarium`, `pipes.sh`.
> More information: <https://manned.org/cmatrix>.
- Enable [a]synchronous scrolling:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# doppler
> Manage environment variables across different environments using Doppler.
> Manage environment variables across different environments.
> Some subcommands such as `run` and `secrets` have their own usage documentation.
> More information: <https://docs.doppler.com/docs/cli>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# elixir
> Elixir programming language interpreter.
> More information: <https://elixir-lang.org>.
> More information: <https://manned.org/elixir>.
- Run an Elixir file:

12
tldr/fdfind Normal file
View File

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

View File

@@ -5,22 +5,38 @@ source: https://github.com/tldr-pages/tldr.git
---
# fossil
> Distributed version control system.
> Distributed version control system with a built-in wiki, bug tracker, and web interface.
> Some subcommands such as `commit` have their own usage documentation.
> More information: <https://fossil-scm.org/home/help>.
- Execute a Fossil subcommand:
- Initialize a new empty Fossil repository:
`fossil {{subcommand}}`
`fossil init {{repository_name.fossil}}`
- Display help:
- Create a local copy of a remote repository:
`fossil help`
`fossil clone {{remote_url}}`
- Display help for a specific subcommand (like `add`, `commit`, etc.):
- Show an overview of the current repository state:
`fossil help {{subcommand}}`
`fossil status`
- Display version:
- Stage a new file:
`fossil version`
`fossil add {{path/to/file}}`
- Stage a file for removal:
`fossil {{[rm|delete]}} {{path/to/file}}`
- Check in all staged changes:
`fossil {{[ci|commit]}} {{[-m|--comment]}} "{{comment}}"`
- Push changes from the local repository to a remote repository:
`fossil push {{remote_url}}`
- Pull changes from a remote repository into the local repository:
`fossil pull {{remote_url}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gnucash
> Personal and small-business financial-accounting software.
> More information: <https://gnucash.org/viewdoc.phtml>.
> More information: <https://manned.org/gnucash>.
- Launch GnuCash and load the previously opened file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Helix, A post-modern text editor, provides several modes for different kinds of text manipulation.
> Pressing `<i>` enters insert mode. `<Esc>` enters normal mode, which enables the use of Helix commands.
> More information: <https://helix-editor.com>.
> More information: <https://manpages.debian.org/testing/hx/editor.1.en.html>.
- Open a file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Interface for the IVPN client.
> See also: `fastd`, `mozillavpn`, `mullvad`, `warp-cli`.
> More information: <https://www.ivpn.net>.
> More information: <https://www.ivpn.net/knowledgebase/general/command-line-client-faq/>.
- Print the current state of IVPN, including the connection and firewall status:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# k6
> Open source load testing tool and SaaS for engineering teams.
> More information: <https://k6.io>.
> More information: <https://grafana.com/docs/k6/latest/using-k6/k6-options/reference/>.
- Run load test locally:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Kakoune is a mode-based code editor implementing the "multiple selections" paradigm.
> Data can be selected and simultaneously edited in different locations, using multiple selections; users can also connect to the same session for collaborative editing.
> More information: <https://kakoune.org>.
> More information: <https://manned.org/kak>.
- Open a file and enter normal mode, to execute commands:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# keepass2
> A light-weight password manager.
> More information: <https://keepass.info>.
> More information: <https://manned.org/keepass2>.
- Start KeePass 2, opening the most recently opened password database:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Package management utility for RHEL, Fedora, and CentOS (replaces yum).
> Some subcommands such as `group` and `config-manager` have their own usage documentation.
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
> More information: <https://dnf.readthedocs.io>.
> More information: <https://dnf.readthedocs.io/en/latest/command_ref.html>.
- Upgrade installed packages to the newest available versions:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Package management utility for RHEL, Fedora, and CentOS (it replaces dnf, which in turn replaced yum).
> DNF5 is a C++ rewrite of the DNF package manager featuring improved performance and a smaller size.
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
> More information: <https://dnf5.readthedocs.io>.
> More information: <https://dnf5.readthedocs.io/en/latest/commands/index.html>.
- Upgrade installed packages to the newest available versions:

View File

@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
- Play a MIDI file:
`fluidsynth {{path/to/soundfont.sf2}} {{path/to/file.midi}}`
`fluidsynth {{/usr/share/soundfonts/soundfont.sf2}} {{path/to/file.midi}}`
- Specify the audio driver:
`fluidsynth {{[-a|--audio-driver]}} {{pipewire|pulseaudio}} {{path/to/soundfont.sf2}} {{path/to/file.midi}}`
`fluidsynth {{[-a|--audio-driver]}} {{pipewire|pulseaudio}} {{/usr/share/soundfonts/soundfont.sf2}} {{path/to/file.midi}}`
- Display help:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# tuned-adm
> Manage and optimize system performance tuning profiles on Linux.
> More information: <https://tuned-project.org>.
> More information: <https://manned.org/tuned-adm>.
- List available profiles:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# usbip
> Use USB devices remotely.
> More information: <https://usbip.sourceforge.net>.
> More information: <https://manned.org/usbip>.
- List all local USB devices and their bus ID's:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# lynx
> Command-line web browser.
> More information: <https://lynx.browser.org>.
> More information: <https://manned.org/lynx>.
- Visit a website:

View File

@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pipes.sh
> A Bash script which draws randomly pathed pipes over the terminal.
> See also: `cmatrix`, `cbonsai`, `asciiquarium`.
> More information: <https://github.com/pipeseroni/pipes.sh#options>.
- Change the pa[t]tern of the pipes:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Audio player of SoX - Sound eXchange.
> Plays any audio, with audio formats identified by the extension.
> More information: <https://sox.sourceforge.net>.
> More information: <https://manned.org/play>.
- Play the given audio file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Find filenames quickly.
> Make sure to run `sudo updatedb` to include new files.
> More information: <https://plocate.sesse.net>.
> More information: <https://plocate.sesse.net/plocate.1.html>.
- Look for patterns in the database (recomputed periodically):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Process manager for Node.js.
> Used for log management, monitoring and configuring processes.
> More information: <https://pm2.keymetrics.io>.
> More information: <https://pm2.keymetrics.io/docs/usage/quick-start/>.
- Start a process with a name that can be used for later operations:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# psalm
> A static analysis tool for finding errors in PHP applications.
> More information: <https://psalm.dev>.
> More information: <https://psalm.dev/docs/running_psalm/command_line_usage/#command-line-options>.
- Generate a Psalm configuration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# psysh
> A runtime developer console, interactive debugger and REPL for PHP.
> More information: <https://psysh.org>.
> More information: <https://github.com/bobthecow/psysh/wiki/CLI-options>.
- Open a shell in the current directory:
@@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git
- Use a specific configuration file:
`psysh --config {{path/to/file}}`
`psysh {{[-c|--config]}} {{path/to/file}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pycodestyle
> Check Python code against PEP 8 style conventions.
> More information: <https://pycodestyle.readthedocs.io>.
> More information: <https://pycodestyle.pycqa.org/en/latest/intro.html#example-usage-and-output>.
- Check the style of a single file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pypy
> Fast and compliant alternative implementation of the Python language.
> More information: <https://doc.pypy.org>.
> More information: <https://manned.org/pypy>.
- Start a REPL (interactive shell):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# quarto
> An open-source scientific and technical publishing system built on Pandoc.
> More information: <https://quarto.org/>.
> More information: <https://quarto.org/docs/reference/projects/options.html>.
- Create a new project:

4
tldr/r
View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# R
> R language interpreter.
> More information: <https://www.r-project.org>.
> More information: <https://manned.org/R>.
- Start a REPL (interactive shell):
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start R in vanilla mode (i.e. a blank session that doesn't save the workspace at the end):
`R {{[-v|--vanilla]}}`
`R --vanilla`
- Execute a file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rclone
> Copy, synchronize or move files and directories to and from many cloud services.
> More information: <https://rclone.org>.
> More information: <https://rclone.org/commands/rclone/>.
- Launch an interactive menu to setup rclone:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# react-native
> A framework for building native apps with React.
> More information: <https://reactnative.dev>.
> More information: <https://github.com/react-native-community/cli/blob/main/docs/commands.md>.
- Initialize a new React Native project in a directory of the same name:

View File

@@ -6,27 +6,27 @@ source: https://github.com/tldr-pages/tldr.git
# restic
> A fast, secure and secure backup program.
> More information: <https://restic.net>.
> More information: <https://restic.readthedocs.io/en/stable/manual_rest.html#usage-help>.
- Initialize a backup repository in the specified local directory:
`restic init --repo {{path/to/repository}}`
`restic init {{[-r|--repo]}} {{path/to/repository}}`
- Backup a directory to the repository:
`restic --repo {{path/to/repository}} backup {{path/to/directory}}`
`restic {{[-r|--repo]}} {{path/to/repository}} backup {{path/to/directory}}`
- Show backup snapshots currently stored in the repository:
`restic --repo {{path/to/repository}} snapshots`
`restic {{[-r|--repo]}} {{path/to/repository}} snapshots`
- Restore a specific backup snapshot to a target directory:
`restic --repo {{path/to/repository}} restore {{latest|snapshot_id}} --target {{path/to/target}}`
`restic {{[-r|--repo]}} {{path/to/repository}} restore {{latest|snapshot_id}} --target {{path/to/target}}`
- Restore a specific path from a specific backup to a target directory:
`restic --repo {{path/to/repository}} restore {{snapshot_id}} --target {{path/to/target}} --include {{path/to/restore}}`
`restic {{[-r|--repo]}} {{path/to/repository}} restore {{snapshot_id}} --target {{path/to/target}} --include {{path/to/restore}}`
- Clean up the repository and keep only the most recent snapshot of each unique backup:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rspec
> Behavior-driven development testing framework written in Ruby to test Ruby code.
> More information: <https://rspec.info>.
> More information: <https://rspec.info/features/3-13/rspec-core/command-line/>.
- Initialize an .rspec configuration and a spec helper file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rvm
> Easily installing, managing, and working with multiple ruby environments.
> More information: <https://rvm.io>.
> More information: <https://rvm.io/rvm/cli>.
- Install one or more versions of Ruby:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# skaffold
> Facilitate continuous development for Kubernetes applications.
> More information: <https://skaffold.dev>.
> More information: <https://skaffold.dev/docs/references/cli/>.
- Build the artifacts:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A static website generator based on HTML element tree rewriting.
> It can also be used as an HTML post-processor or metadata extractor.
> More information: <https://soupault.app>.
> More information: <https://soupault.net/reference-manual/>.
- Initialize a minimal website project in the current working directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# speedcrunch
> A high-precision scientific calculator.
> More information: <https://www.speedcrunch.org>.
> More information: <https://heldercorreia.bitbucket.io/speedcrunch/userguide/index.html>.
- Start SpeedCrunch:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# spicetify
> Customize the Spotify client UI and functionality.
> More information: <https://spicetify.app>.
> More information: <https://spicetify.app/docs/advanced-usage/command-line-interface>.
- Generate a configuration file on very first run and display help:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# sqlmap
> Detect and exploit SQL injection flaws.
> More information: <https://sqlmap.org>.
> More information: <https://github.com/sqlmapproject/sqlmap/wiki/Usage>.
- Run sqlmap against a single target URL:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# streamlink
> Extracts streams from various services and pipes them into a video player of choice.
> More information: <https://streamlink.github.io>.
> More information: <https://streamlink.github.io/cli.html#command-line-usage>.
- Attempt to extract streams from the URL specified, and if it's successful, print out a list of available streams to choose from:
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Use a specific player to feed stream data to (VLC is used by default if found):
`streamlink --player={{mpv}} {{example.com/stream}} {{best}}`
`streamlink {{[-p|--player]}} {{mpv}} {{example.com/stream}} {{best}}`
- Skip a specific amount of time from the beginning of the stream. For live streams, this is a negative offset from the end of the stream (rewind):
@@ -34,8 +34,8 @@ source: https://github.com/tldr-pages/tldr.git
- Write stream data to a file instead of playing it:
`streamlink --output {{path/to/file.ts}} {{example.com/stream}} {{best}}`
`streamlink {{[-o|--output]}} {{path/to/file.ts}} {{example.com/stream}} {{best}}`
- Open the stream in the player, while at the same time writing it to a file:
`streamlink --record {{path/to/file.ts}} {{example.com/stream}} {{best}}`
`streamlink {{[-r|--record]}} {{path/to/file.ts}} {{example.com/stream}} {{best}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# swc
> JavaScript and TypeScript compiler written in Rust.
> More information: <https://swc.rs>.
> More information: <https://swc.rs/docs/usage/cli>.
- Transpile a specified input file and output to `stdout`:
@@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git
- Transpile the input file every time it is changed:
`swc {{path/to/file}} --watch`
`swc {{path/to/file}} {{[-w|--watch]}}`
- Transpile a specified input file and output to a specific file:
`swc {{path/to/input_file}} --out-file {{path/to/output_file}}`
`swc {{path/to/input_file}} {{[-o|--out-file]}} {{path/to/output_file}}`
- Transpile a specified input directory and output to a specific directory:
`swc {{path/to/input_directory}} --out-dir {{path/to/output_directory}}`
`swc {{path/to/input_directory}} {{[-d|--out-dir]}} {{path/to/output_directory}}`
- Transpile a specified input directory using a specific configuration file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Generate bindings between C/C++ code and various high level languages such as JavaScript, Python, C#, and more.
> It uses special `.i` or `.swg` files to generate the bindings (C/C++ with SWIG directives), then outputs a C/C++ file that contains all the wrapper code needed to build an extension module.
> More information: <https://www.swig.org>.
> More information: <https://www.swig.org/Doc4.4/SWIGDocumentation.html#SWIG_nn2>.
- Generate a binding between C++ and Python:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# tcpdump
> Dump traffic on a network.
> More information: <https://www.tcpdump.org>.
> More information: <https://www.tcpdump.org/manpages/tcpdump.1.html>.
- List available network interfaces:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# terragrunt
> Keep your Terraform CLI arguments DRY.
> More information: <https://terragrunt.gruntwork.io>.
> More information: <https://terragrunt.gruntwork.io/docs/reference/cli/>.
- Generate and show an execution plan:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# traefik
> An HTTP reverse proxy and load balancer.
> More information: <https://traefik.io>.
> More information: <https://doc.traefik.io/traefik/v2.11/operations/cli/>.
- Start the server with the default configuration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# travis
> Interface with Travis CI.
> More information: <https://github.com/travis-ci/travis.rb>.
> More information: <https://github.com/travis-ci/travis.rb#command-line-client>.
- Display the client version:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# upx
> Compress or decompress executables.
> More information: <https://upx.github.io>.
> More information: <https://github.com/upx/upx/blob/devel/doc/upx.pod>.
- Compress executable:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# vale
> Extensible style checker that supports multiple markup formats, such as Markdown and AsciiDoc.
> More information: <https://vale.sh>.
> More information: <https://vale.sh/docs/cli>.
- Check the style of a file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# volta
> A JavaScript Tool Manager that installs Node.js runtimes, npm and Yarn package managers, or any binaries from npm.
> More information: <https://volta.sh>.
> More information: <https://docs.volta.sh/reference/>.
- List all installed tools:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> The Scoop package manager.
> Some subcommands such as `bucket` have their own usage documentation.
> More information: <https://scoop.sh>.
> More information: <https://github.com/ScoopInstaller/Scoop/wiki/Commands>.
- Install a package:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# wormhole
> Get things from one computer to another, safely.
> More information: <https://magic-wormhole.readthedocs.io>.
> More information: <https://magic-wormhole.readthedocs.io/en/latest/welcome.html#cli-tool>.
- Send a file:
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`wormhole receive {{wormhole_code}}`
- Send raw text:
- Send raw text interactively:
`wormhole send`