mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 21:47:29 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/2to3
12
tldr/2to3
@@ -16,24 +16,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Convert a Python 2 file to Python 3:
|
||||
|
||||
`2to3 --write {{path/to/file.py}}`
|
||||
`2to3 {{[-w|--write]}} {{path/to/file.py}}`
|
||||
|
||||
- Convert specific Python 2 language features to Python 3:
|
||||
|
||||
`2to3 --write {{path/to/file.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
`2to3 {{[-w|--write]}} {{path/to/file.py}} {{[-f|--fix]}} {{raw_input}} {{[-f|--fix]}} {{print}}`
|
||||
|
||||
- Convert all Python 2 language features except the specified ones to Python 3:
|
||||
|
||||
`2to3 --write {{path/to/file.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
`2to3 {{[-w|--write]}} {{path/to/file.py}} {{[-x|--nofix]}} {{has_key}} {{[-x|--nofix]}} {{isinstance}}`
|
||||
|
||||
- List all available language features that can be converted from Python 2 to Python 3:
|
||||
|
||||
`2to3 --list-fixes`
|
||||
`2to3 {{[-l|--list-fixes]}}`
|
||||
|
||||
- Convert all Python 2 files in a directory to Python 3:
|
||||
|
||||
`2to3 --output-dir {{path/to/python3_directory}} --write-unchanged-files --nobackups {{path/to/python2_directory}}`
|
||||
`2to3 {{[-o|--output-dir]}} {{path/to/python3_directory}} {{[-W|--write-unchanged-files]}} {{[-n|--nobackups]}} {{path/to/python2_directory}}`
|
||||
|
||||
- Run 2to3 with multiple threads:
|
||||
|
||||
`2to3 --processes {{4}} --output-dir {{path/to/python3_directory}} --write --nobackups --no-diff {{path/to/python2_directory}}`
|
||||
`2to3 {{[-j|--processes]}} {{4}} {{[-o|--output-dir]}} {{path/to/python3_directory}} {{[-w|--write]}} {{[-n|--nobackups]}} --no-diffs {{path/to/python2_directory}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Shell script implementing ACME client protocol, an alternative to `certbot`.
|
||||
> See also: `acme.sh dns`.
|
||||
> More information: <https://github.com/acmesh-official/acme.sh>.
|
||||
> More information: <https://github.com/acmesh-official/acme.sh#2-just-issue-a-cert>.
|
||||
|
||||
- Issue a certificate using webroot mode:
|
||||
|
||||
|
||||
10
tldr/aria2c
10
tldr/aria2c
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Fast download utility.
|
||||
> Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink.
|
||||
> More information: <https://aria2.github.io>.
|
||||
> More information: <https://aria2.github.io/manual/en/html/aria2c.html>.
|
||||
|
||||
- Download a specific URI to a file:
|
||||
|
||||
@@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Download a file from a URI with a specific output name:
|
||||
|
||||
`aria2c --out {{path/to/file}} "{{url}}"`
|
||||
`aria2c {{[-o|--out]}} {{path/to/file}} "{{url}}"`
|
||||
|
||||
- Download multiple different files in parallel:
|
||||
|
||||
`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"`
|
||||
`aria2c {{[-Z|--force-sequential]}} {{false}} "{{url1 url2 ...}}"`
|
||||
|
||||
- Download the same file from different mirrors and verify the checksum of the downloaded file:
|
||||
|
||||
@@ -27,11 +27,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Download the URIs listed in a file with a specific number of parallel downloads:
|
||||
|
||||
`aria2c --input-file {{path/to/file}} --max-concurrent-downloads {{number_of_downloads}}`
|
||||
`aria2c {{[-i|--input-file]}} {{path/to/file}} {{[-j|--max-concurrent-downloads]}} {{number_of_downloads}}`
|
||||
|
||||
- Download with multiple connections:
|
||||
|
||||
`aria2c --split {{number_of_connections}} "{{url}}"`
|
||||
`aria2c {{[-s|--split]}} {{number_of_connections}} "{{url}}"`
|
||||
|
||||
- FTP download with username and password:
|
||||
|
||||
|
||||
10
tldr/astyle
10
tldr/astyle
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages.
|
||||
> Upon running, a copy of the original file is created with an ".orig" appended to the original file name.
|
||||
> More information: <https://astyle.sourceforge.net>.
|
||||
> More information: <https://manned.org/astyle>.
|
||||
|
||||
- Apply the default style of 4 spaces per indent and no formatting changes:
|
||||
|
||||
@@ -15,16 +15,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Apply the Java style with attached braces:
|
||||
|
||||
`astyle --style=java {{path/to/file}}`
|
||||
`astyle {{[-A2|--style=java]}} {{path/to/file}}`
|
||||
|
||||
- Apply the allman style with broken braces:
|
||||
|
||||
`astyle --style=allman {{path/to/file}}`
|
||||
`astyle {{[-A1|--style=allman]}} {{path/to/file}}`
|
||||
|
||||
- Apply a custom indent using spaces. Choose between 2 and 20 spaces:
|
||||
|
||||
`astyle --indent=spaces={{number_of_spaces}} {{path/to/file}}`
|
||||
`astyle {{[-s|--indent=spaces=]}}{{number_of_spaces}} {{path/to/file}}`
|
||||
|
||||
- Apply a custom indent using tabs. Choose between 2 and 20 tabs:
|
||||
|
||||
`astyle --indent=tab={{number_of_tabs}} {{path/to/file}}`
|
||||
`astyle {{[-t|--indent=tab=]}}{{number_of_tabs}} {{path/to/file}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> An open-source audio player. Indirectly based on XMMS.
|
||||
> See also: `audtool`, `clementine`, `mpc`, `ncmpcpp`.
|
||||
> More information: <https://audacious-media-player.org>.
|
||||
> More information: <https://manned.org/audacious>.
|
||||
|
||||
- Launch the GUI:
|
||||
|
||||
@@ -15,15 +15,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start a new instance and play an audio:
|
||||
|
||||
`audacious --new-instance {{path/to/audio}}`
|
||||
`audacious {{[-N|--new-instance]}} {{path/to/audio}}`
|
||||
|
||||
- Enqueue a specific directory of audio files:
|
||||
|
||||
`audacious --enqueue {{path/to/directory}}`
|
||||
`audacious {{[-e|--enqueue]}} {{path/to/directory}}`
|
||||
|
||||
- Start or stop playback:
|
||||
|
||||
`audacious --play-pause`
|
||||
`audacious {{[-t|--play-pause]}}`
|
||||
|
||||
- Skip forwards ([fwd]) or backwards ([rew]) in the playlist:
|
||||
|
||||
@@ -31,12 +31,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Stop playback:
|
||||
|
||||
`audacious --stop`
|
||||
`audacious {{[-s|--stop]}}`
|
||||
|
||||
- Start in CLI mode (headless):
|
||||
|
||||
`audacious --headless`
|
||||
`audacious {{[-H|--headless]}}`
|
||||
|
||||
- Exit as soon as playback stops or there is nothing to playback:
|
||||
|
||||
`audacious --quit-after-play`
|
||||
`audacious {{[-q|--quit-after-play]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# bloodhound-python
|
||||
|
||||
> A Python ingestor for BloodHound, used to enumerate Active Directory relationships.
|
||||
> More information: <https://github.com/dirkjanm/BloodHound.py>.
|
||||
> More information: <https://github.com/dirkjanm/BloodHound.py#usage>.
|
||||
|
||||
- Collect all data using default collection methods (includes groups, sessions, and trusts):
|
||||
|
||||
|
||||
2
tldr/bq
2
tldr/bq
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Batch load data from a specific file in formats such as CSV, JSON, Parquet, and Avro to a table:
|
||||
|
||||
`bq load --location {{location}} --source_format {{CSV|JSON|PARQUET|AVRO}} {{dataset}}.{{table}} {{path_to_source}}`
|
||||
`bq load --location {{location}} --source_format {{CSV|JSON|PARQUET|AVRO}} {{dataset}}.{{table}} {{path/to/source}}`
|
||||
|
||||
- Copy one table to another:
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a new project from a local template:
|
||||
|
||||
`bun create {{./path/to/template}} {{path/to/destination}}`
|
||||
`bun create {{path/to/template}} {{path/to/destination}}`
|
||||
|
||||
- Create a new project, overwriting the destination directory if it exists:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cake
|
||||
|
||||
> The processor for the CakePHP framework.
|
||||
> More information: <https://cakephp.org>.
|
||||
> More information: <https://book.cakephp.org/5/en/console-commands.html#cakephp-provided-commands>.
|
||||
|
||||
- Display basic information about the current app and available commands:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# checksec
|
||||
|
||||
> Check security properties of executables.
|
||||
> More information: <https://github.com/slimm609/checksec.sh>.
|
||||
> More information: <https://manned.org/checksec>.
|
||||
|
||||
- List security properties of an executable binary file:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A multi-machine dotfile manager, written in Go.
|
||||
> See also: `stow`, `tuckr`, `vcsh`, `homeshick`.
|
||||
> More information: <https://chezmoi.io>.
|
||||
> More information: <https://www.chezmoi.io/reference/>.
|
||||
|
||||
- Setup up `chezmoi`, creating a Git repository in `~/.local/share/chezmoi`:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Compile C++ source files.
|
||||
> Part of LLVM.
|
||||
> More information: <https://clang.llvm.org>.
|
||||
> More information: <https://clang.llvm.org/docs/UsersManual.html#command-line-options>.
|
||||
|
||||
- Compile a set of source code files into an executable binary:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A static analysis tool for C/C++ code.
|
||||
> Instead of syntax errors, it focuses on the types of bugs that compilers normally do not detect.
|
||||
> More information: <https://cppcheck.sourceforge.net>.
|
||||
> More information: <https://manned.org/cppcheck>.
|
||||
|
||||
- Recursively check the current directory, showing progress on the screen and logging error messages to a file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# diffoscope
|
||||
|
||||
> Compare files, archives, and directories.
|
||||
> More information: <https://diffoscope.org>.
|
||||
> More information: <https://manned.org/diffoscope>.
|
||||
|
||||
- Compare two files:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# distccd
|
||||
|
||||
> Server daemon for the distcc distributed compiler.
|
||||
> More information: <https://distcc.github.io>.
|
||||
> More information: <https://manned.org/distccd>.
|
||||
|
||||
- Start a daemon with the default settings:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# docsify
|
||||
|
||||
> Initialize and serve markdown documentation.
|
||||
> More information: <https://cli.docsifyjs.org>.
|
||||
> More information: <https://cli.docsifyjs.org/#/?id=usage>.
|
||||
|
||||
- Initialize a new documentation in the current directory:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Serve local documentation on `localhost` at the specified port:
|
||||
|
||||
`docsify serve --port {{80}} {{path/to/directory}}`
|
||||
`docsify serve {{[-p|--port]}} {{80}} {{path/to/directory}}`
|
||||
|
||||
- Generate a sidebar markdown file in the specified directory:
|
||||
|
||||
|
||||
2
tldr/duc
2
tldr/duc
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A collection of tools for indexing, inspecting, and visualizing disk usage.
|
||||
> Duc maintains a database of accumulated sizes of directories of the file system, allowing queries in this database, or creating fancy graphs to show where data is.
|
||||
> More information: <https://duc.zevv.nl/>.
|
||||
> More information: <https://htmlpreview.github.io/?https://github.com/zevv/duc/blob/master/doc/duc.1.html>.
|
||||
|
||||
- Index the `/usr` directory, writing to the default database location `~/.duc.db`:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# duckdb
|
||||
|
||||
> Client for DuckDB, an in-process analytical SQL engine.
|
||||
> More information: <https://duckdb.org>.
|
||||
> More information: <https://duckdb.org/docs/stable/clients/cli/arguments>.
|
||||
|
||||
- Start an interactive shell with a transient in-memory database:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dune
|
||||
|
||||
> A build system for OCaml programs.
|
||||
> More information: <https://dune.build>.
|
||||
> More information: <https://dune.readthedocs.io/en/stable/reference/cli.html>.
|
||||
|
||||
- Build all targets:
|
||||
|
||||
|
||||
@@ -32,4 +32,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Restore a subdirectory from a GnuPG-encrypted local backup to a given location:
|
||||
|
||||
`PASSPHRASE={{gpg_key_password}} duplicity restore --encrypt-key {{gpg_key_id}} --path-to-restore {{relative/path/restoredirectory}} file://{{absolute/path/to/backup_directory}} {{path/to/directory_to_restore_to}}`
|
||||
`PASSPHRASE={{gpg_key_password}} duplicity restore --encrypt-key {{gpg_key_id}} --path-to-restore {{path/to/restore_directory}} file://{{absolute/path/to/backup_directory}} {{path/to/directory_to_restore_to}}`
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a cluster using a configuration file and skip creating nodegroups until later:
|
||||
|
||||
`eksctl create cluster --config-file=<path> --without-nodegroup`
|
||||
`eksctl create cluster --config-file={{path/to/file}} --without-nodegroup`
|
||||
|
||||
- Delete a cluster:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# electrum
|
||||
|
||||
> Ergonomic Bitcoin wallet and private key management.
|
||||
> More information: <https://electrum.org>.
|
||||
> More information: <https://manned.org/electrum>.
|
||||
|
||||
- Create a new wallet:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# eslint
|
||||
|
||||
> A pluggable linting utility for JavaScript and JSX.
|
||||
> More information: <https://eslint.org>.
|
||||
> More information: <https://eslint.org/docs/latest/use/command-line-interface>.
|
||||
|
||||
- Create the ESLint configuration file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# espeak
|
||||
|
||||
> Use text-to-speech to speak through the default sound device.
|
||||
> More information: <https://espeak.sourceforge.net>.
|
||||
> More information: <https://manned.org/espeak>.
|
||||
|
||||
- Speak a phrase aloud:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# exiftool
|
||||
|
||||
> Read and write meta information in files.
|
||||
> More information: <https://exiftool.org>.
|
||||
> More information: <https://exiftool.org/exiftool_pod.html>.
|
||||
|
||||
- Print the EXIF metadata for a given file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# filebrowser
|
||||
|
||||
> Simple HTTP web server to manage files and directories.
|
||||
> More information: <https://filebrowser.org>.
|
||||
> More information: <https://filebrowser.org/cli/filebrowser.html>.
|
||||
|
||||
- Start a new server instance serving the current directory:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# fping
|
||||
|
||||
> A more powerful ping which can ping multiple hosts.
|
||||
> More information: <https://fping.org>.
|
||||
> More information: <https://fping.org/fping.8.html>.
|
||||
|
||||
- List the status of all hosts within a range:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# freshclam
|
||||
|
||||
> Update virus definitions for ClamAV antivirus program.
|
||||
> More information: <https://www.clamav.net>.
|
||||
> More information: <https://docs.clamav.net/manual/Usage/SignatureManagement.html#freshclam>.
|
||||
|
||||
- Update virus definitions:
|
||||
|
||||
|
||||
@@ -13,9 +13,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`frpc`
|
||||
|
||||
- Start the service, using the newer TOML configuration file (`frps.toml` instead of `frps.ini`) in the current directory:
|
||||
- Start the service, using the newer TOML configuration file:
|
||||
|
||||
`frpc {{[-c|--config]}} ./frps.toml`
|
||||
`frpc {{[-c|--config]}} {{path/to/frps.toml}}`
|
||||
|
||||
- Start the service, using a specific configuration file:
|
||||
|
||||
|
||||
@@ -13,9 +13,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`frps`
|
||||
|
||||
- Start the service, using the newer TOML configuration file (`frps.toml` instead of `frps.ini`) in the current directory:
|
||||
- Start the service, using the newer TOML configuration file:
|
||||
|
||||
`frps {{[-c|--config]}} ./frps.toml`
|
||||
`frps {{[-c|--config]}} {{path/to/frps.toml}}`
|
||||
|
||||
- Start the service, using a specified configuration file:
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Delete untracked files except those matching the given patterns:
|
||||
|
||||
`git clean {{[-f|--force]}} {{[-e|--exclude]}} {{'*.ext'}} {{[-e|--exclude]}} {{path/to/directory/}}`
|
||||
`git clean {{[-f|--force]}} {{[-e|--exclude]}} {{'*.ext'}} {{[-e|--exclude]}} {{path/to/directory}}/`
|
||||
|
||||
- Delete untracked files and e[x]cluded files (those listed in `.gitignore` and `.git/info/exclude`):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# git cola
|
||||
|
||||
> A powerful Git GUI with a slick and intuitive user interface.
|
||||
> More information: <https://git-cola.readthedocs.io>.
|
||||
> More information: <https://git-cola.readthedocs.io/en/latest/git-cola.html>.
|
||||
|
||||
- Start the GUI:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A gNMI client.
|
||||
> Manage gNMI network device configuration and view operational data.
|
||||
> More information: <https://gnmic.kmrd.dev>.
|
||||
> More information: <https://gnmic.openconfig.net/user_guide/configuration_flags/>.
|
||||
|
||||
- Request device capabilities:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# gopass
|
||||
|
||||
> Standard Unix Password Manager for Teams. Written in Go.
|
||||
> More information: <https://www.gopass.pw>.
|
||||
> More information: <https://github.com/gopasspw/gopass/tree/master/docs/commands>.
|
||||
|
||||
- Initialize the configuration settings:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Renders an animated tree diagram of Git, SVN, Mercurial and Bazaar repositories.
|
||||
> It shows files and directories being created, modified or removed over time.
|
||||
> More information: <https://gource.io>.
|
||||
> More information: <https://manned.org/gource>.
|
||||
|
||||
- Run gource in a directory (if it isn't the repository's root directory, the root is sought up from there):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# gradle
|
||||
|
||||
> An open source build automation system.
|
||||
> More information: <https://gradle.org>.
|
||||
> More information: <https://manned.org/gradle>.
|
||||
|
||||
- Compile a package:
|
||||
|
||||
|
||||
@@ -37,6 +37,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`httpx {{[-u|-target]}} {{host1,host2,...}} {{[-mc|-match-code]}} {{200,301,304}}`
|
||||
|
||||
- Run a probe against a URL saving screenshots of certain paths, with screenshot timeouts (assets are saved in `./output`):
|
||||
- Run a probe against a URL saving screenshots of certain paths, with screenshot timeouts (assets are saved in `output`):
|
||||
|
||||
`httpx {{[-u|-target]}} {{https://www.github.com}} -path {{/tldr-pages/tldr,/projectdiscovery/httpx}} {{[-ss|-screenshot]}} {{[-st|-screenshot-timeout]}} {{10}}`
|
||||
|
||||
@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`hugo new {{section_name}}/{{page_name}}`
|
||||
|
||||
- Build a site to the `./public/` directory:
|
||||
- Build a site to the `public` directory:
|
||||
|
||||
`hugo`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# imapsync
|
||||
|
||||
> Email IMAP tool for syncing, copying and migrating email mailboxes between two IMAP servers, one way, and without duplicates.
|
||||
> More information: <https://imapsync.lamiral.info>.
|
||||
> More information: <https://imapsync.lamiral.info/#doc>.
|
||||
|
||||
- Synchronize IMAP account between host1 and host2:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# infection
|
||||
|
||||
> A mutation testing framework for PHP.
|
||||
> More information: <https://infection.github.io>.
|
||||
> More information: <https://infection.github.io/guide/command-line-options.html>.
|
||||
|
||||
- Analyze code using the configuration file (or create one if it does not exist):
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Use a specific number of threads:
|
||||
|
||||
`infection --threads {{number_of_threads}}`
|
||||
`infection {{[-j|--threads]}} {{number_of_threads}}`
|
||||
|
||||
- Specify a minimum Mutation Score Indicator (MSI):
|
||||
|
||||
@@ -34,7 +34,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display the mutation code that has been applied:
|
||||
|
||||
`infection --show-mutations`
|
||||
`infection {{[-s|--show-mutations]}}`
|
||||
|
||||
- Specify the log verbosity:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> An SVG (Scalable Vector Graphics) editing program.
|
||||
> For Inkscape versions up to 0.92.x, use -e instead of -o.
|
||||
> More information: <https://inkscape.org>.
|
||||
> More information: <https://inkscape.org/doc/inkscape-man.html>.
|
||||
|
||||
- Open an SVG file in the Inkscape GUI:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# iperf
|
||||
|
||||
> Measure network bandwidth between computers.
|
||||
> More information: <https://iperf.fr>.
|
||||
> More information: <https://iperf.fr/iperf-doc.php>.
|
||||
|
||||
- Run on server:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# iperf3
|
||||
|
||||
> Traffic generator for testing network bandwidth.
|
||||
> More information: <https://iperf.fr>.
|
||||
> More information: <https://iperf.fr/iperf-doc.php>.
|
||||
|
||||
- Run iperf3 as a server:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Inter Planetary File System.
|
||||
> A peer-to-peer hypermedia protocol. Aims to make the web more open.
|
||||
> More information: <https://ipfs.io>.
|
||||
> More information: <https://docs.ipfs.tech/reference/kubo/cli/>.
|
||||
|
||||
- Add a file from local to the filesystem, pin it and print the relative hash:
|
||||
|
||||
@@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Add a directory and its files recursively from local to the filesystem and print the relative hash:
|
||||
|
||||
`ipfs add -r {{path/to/directory}}`
|
||||
`ipfs add {{[-r|--recursive]}} {{path/to/directory}}`
|
||||
|
||||
- Save a remote file and give it a name but not pin it:
|
||||
|
||||
`ipfs get {{hash}} -o {{path/to/file}}`
|
||||
`ipfs get {{hash}} {{[-o|--output]}} {{path/to/file}}`
|
||||
|
||||
- Pin a remote file locally:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ipython
|
||||
|
||||
> A Python shell with automatic history, dynamic object introspection, easier configuration, command completion, access to the system shell and more.
|
||||
> More information: <https://ipython.readthedocs.io>.
|
||||
> More information: <https://ipython.readthedocs.io/en/stable/config/options/index.html>.
|
||||
|
||||
- Start a REPL (interactive shell):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# irssi
|
||||
|
||||
> Text based IRC client.
|
||||
> More information: <https://irssi.org>.
|
||||
> More information: <https://manned.org/irssi>.
|
||||
|
||||
- Open Irssi and connect to a server with a nickname:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> A simple, blog-aware, static site generator.
|
||||
> More information: <https://jekyllrb.com/docs/usage/>.
|
||||
|
||||
- Generate a development server that will run at http://localhost:4000/:
|
||||
- Generate a development server that will run at <http://localhost:4000/>:
|
||||
|
||||
`jekyll serve`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# jest
|
||||
|
||||
> A zero-configuration JavaScript testing platform.
|
||||
> More information: <https://jestjs.io>.
|
||||
> More information: <https://jestjs.io/docs/cli>.
|
||||
|
||||
- Run all available tests:
|
||||
|
||||
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Run the test suites from files within the current and subdirectories, whose paths match the given `regex`:
|
||||
|
||||
`jest {{regex1}} {{regex2}}`
|
||||
`jest {{regex1 regex2 ...}}`
|
||||
|
||||
- Run the tests whose names match the given `regex`:
|
||||
|
||||
|
||||
37
tldr/jj-interdiff
Normal file
37
tldr/jj-interdiff
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# jj interdiff
|
||||
|
||||
> Compare changes of two revisions.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-interdiff>.
|
||||
|
||||
- Compare changes from a revision to the working copy:
|
||||
|
||||
`jj interdiff {{[-f|--from]}} {{revset}}`
|
||||
|
||||
- Compare changes from a revision to another revision:
|
||||
|
||||
`jj interdiff {{[-f|--from]}} {{from_revset}} {{[-t|--to]}} {{to_revset}}`
|
||||
|
||||
- Compare changes in specific paths only:
|
||||
|
||||
`jj interdiff {{[-f|--from]}} {{from_revset}} {{[-t|--to]}} {{to_revset}} {{filesets}}`
|
||||
|
||||
- Show a summary of changes:
|
||||
|
||||
`jj interdiff {{[-f|--from]}} {{revset}} {{[-s|--summary]}}`
|
||||
|
||||
- Show diff statistics:
|
||||
|
||||
`jj interdiff {{[-f|--from]}} {{revset}} --stat`
|
||||
|
||||
- Show a Git-format diff:
|
||||
|
||||
`jj interdiff {{[-f|--from]}} {{revset}} --git`
|
||||
|
||||
- Show a word-level diff with changes indicated only by color:
|
||||
|
||||
`jj interdiff {{[-f|--from]}} {{revset}} --color-words`
|
||||
2
tldr/joe
2
tldr/joe
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# joe
|
||||
|
||||
> Joe's own text editor.
|
||||
> More information: <https://joe-editor.sourceforge.io>.
|
||||
> More information: <https://joe-editor.sourceforge.io/4.6/man.html>.
|
||||
|
||||
- Open a new file in JOE:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# jrnl
|
||||
|
||||
> A simple journal application.
|
||||
> More information: <https://jrnl.sh>.
|
||||
> More information: <https://jrnl.sh/en/stable/reference-command-line/>.
|
||||
|
||||
- Insert a new entry with your editor:
|
||||
|
||||
|
||||
10
tldr/json5
10
tldr/json5
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# json5
|
||||
|
||||
> Convert JSON5 files to JSON.
|
||||
> More information: <https://json5.org>.
|
||||
> More information: <https://json5.org/#cli>.
|
||||
|
||||
- Convert JSON5 `stdin` to JSON `stdout`:
|
||||
|
||||
@@ -18,16 +18,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Convert a JSON5 file to the specified JSON file:
|
||||
|
||||
`json5 {{path/to/input_file.json5}} --out-file {{path/to/output_file.json}}`
|
||||
`json5 {{path/to/input_file.json5}} {{[-o|--out-file]}} {{path/to/output_file.json}}`
|
||||
|
||||
- Validate a JSON5 file:
|
||||
|
||||
`json5 {{path/to/input_file.json5}} --validate`
|
||||
`json5 {{path/to/input_file.json5}} {{[-v|--validate]}}`
|
||||
|
||||
- Specify the number of spaces to indent by (or "t" for tabs):
|
||||
|
||||
`json5 --space {{indent_amount}}`
|
||||
`json5 {{[-s|--space]}} {{indent_amount}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`json5 --help`
|
||||
`json5 {{[-h|--help]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# jupytext
|
||||
|
||||
> Convert Jupyter notebooks to plain text documents, and back again.
|
||||
> More information: <https://jupytext.readthedocs.io>.
|
||||
> More information: <https://manned.org/jupytext>.
|
||||
|
||||
- Turn a notebook into a paired `.ipynb`/`.py` notebook:
|
||||
|
||||
@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Update all paired representations of a notebook:
|
||||
|
||||
`jupytext --sync {{notebook.ipynb}}`
|
||||
`jupytext {{[-s|--sync]}} {{notebook.ipynb}}`
|
||||
|
||||
@@ -6,11 +6,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# kdeconnect-cli
|
||||
|
||||
> Use KDE Connect for sharing files or text to a device, ringing it, unlocking it, and much more.
|
||||
> More information: <https://kdeconnect.kde.org>.
|
||||
> More information: <https://manned.org/kdeconnect-cli>.
|
||||
|
||||
- List all devices:
|
||||
|
||||
`kdeconnect-cli --list-devices`
|
||||
`kdeconnect-cli {{[-l|--list-devices]}}`
|
||||
|
||||
- List available (paired and reachable) devices:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ledger
|
||||
|
||||
> A powerful, double-entry accounting system.
|
||||
> More information: <https://www.ledger-cli.org>.
|
||||
> More information: <https://ledger-cli.org/doc/ledger.1.html>.
|
||||
|
||||
- Print a balance report showing totals:
|
||||
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all postings in Expenses ordered by amount:
|
||||
|
||||
`ledger register {{expenses}} --sorted {{amount}}`
|
||||
`ledger register {{expenses}} {{[-S|--sort]}} {{amount}}`
|
||||
|
||||
- Print total Expenses other than Drinks and Food:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lerna
|
||||
|
||||
> Manage JavaScript projects with multiple packages.
|
||||
> More information: <https://lerna.js.org>.
|
||||
> More information: <https://lerna.js.org/docs/api-reference/commands>.
|
||||
|
||||
- Initialize project files (`lerna.json`, `package.json`, `.git`, etc.):
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Typeset music and/or produce MIDI from file.
|
||||
> See also: `musescore`.
|
||||
> More information: <https://lilypond.org>.
|
||||
> More information: <https://lilypond.org/doc/v2.24/Documentation/usage/command_002dline-usage>.
|
||||
|
||||
- Compile a lilypond file into a PDF:
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo aide {{[-u|--update]}}`
|
||||
|
||||
- Define a config file to override the default `./aide.conf`:
|
||||
- Define a config file to override the default `aide.conf`:
|
||||
|
||||
`sudo aide {{[-c|--config]}} {{path/to/config_file}}`
|
||||
|
||||
|
||||
@@ -6,12 +6,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# archinstall
|
||||
|
||||
> Guided Arch Linux installer with a twist.
|
||||
> More information: <https://archinstall.readthedocs.io>.
|
||||
> More information: <https://archinstall.archlinux.page/installing/guided.html>.
|
||||
|
||||
- Start the interactive installer:
|
||||
|
||||
`archinstall`
|
||||
|
||||
- Start a preset installer:
|
||||
|
||||
`archinstall {{minimal|unattended}}`
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> A multi-threaded network reconnaissance tool which performs automated enumeration of services.
|
||||
> More information: <https://github.com/Tib3rius/AutoRecon>.
|
||||
|
||||
- Perform reconnaissance on target host(s) (detailed scan results will be dumped in `./results`):
|
||||
- Perform reconnaissance on target host(s) (detailed scan results will be dumped in `results`):
|
||||
|
||||
`sudo autorecon {{host_or_ip1,host_or_ip2,...}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ctr
|
||||
|
||||
> Manage `containerd` containers and images.
|
||||
> More information: <https://containerd.io>.
|
||||
> More information: <https://manned.org/ctr>.
|
||||
|
||||
- List all containers (running and stopped):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# darling
|
||||
|
||||
> Run macOS software on Linux.
|
||||
> More information: <https://darlinghq.org>.
|
||||
> More information: <https://docs.darlinghq.org/darling-shell.html>.
|
||||
|
||||
- Run a builtin command:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# goaccess
|
||||
|
||||
> An open source real-time web log analyzer.
|
||||
> More information: <https://goaccess.io>.
|
||||
> More information: <https://goaccess.io/man>.
|
||||
|
||||
- Analyze one or more log files in interactive mode:
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show the contents of the initramfs image for the specified kernel:
|
||||
|
||||
`lsinitrd --kver {{kernel_version}}`
|
||||
`lsinitrd {{[-k|--kver]}} {{kernel_version}}`
|
||||
|
||||
- Show the contents of the specified initramfs image:
|
||||
|
||||
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List modules included in the initramfs image:
|
||||
|
||||
`lsinitrd --mod`
|
||||
`lsinitrd {{[-m|--mod]}}`
|
||||
|
||||
- Unpack the initramfs to the current directory:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Print (trace) library calls of a program binary:
|
||||
|
||||
`ltrace ./{{program}}`
|
||||
`ltrace {{path/to/program}}`
|
||||
|
||||
- Count library calls. Print a handy summary at the bottom:
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all subkeys of a given key on another NixOS configuration:
|
||||
|
||||
`NIXOS_CONFIG={{path_to_configuration.nix}} nixos-option {{option_key}}`
|
||||
`NIXOS_CONFIG={{path/to/configuration.nix}} nixos-option {{option_key}}`
|
||||
|
||||
- Show recursively all values of a user:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# perf
|
||||
|
||||
> Framework for Linux performance counter measurements.
|
||||
> More information: <https://perf.wiki.kernel.org>.
|
||||
> More information: <https://perfwiki.github.io/main/>.
|
||||
|
||||
- Display basic performance counter stats for a command:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pstoedit
|
||||
|
||||
> Convert PDF files into various image formats.
|
||||
> More information: <http://www.pstoedit.net>.
|
||||
> More information: <http://www.calvina.de/pstoedit/pstoedit.htm>.
|
||||
|
||||
- Convert a PDF page to PNG or JPEG format:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> An `apt` like system for Slackware package management.
|
||||
> Package sources need to be configured in the slapt-getrc file.
|
||||
> More information: <https://software.jaos.org>.
|
||||
> More information: <https://software.jaos.org/git/slapt-get/plain/README>.
|
||||
|
||||
- Update the list of available packages and versions:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage local storage pools and volumes using the Stratis storage manager.
|
||||
> Stratis volumes use the XFS filesystem and require the `stratisd` service.
|
||||
> More information: <https://stratis-storage.github.io>.
|
||||
> More information: <https://stratis-storage.github.io/howto/>.
|
||||
|
||||
- Start the Stratis service (must be active before managing pools or volumes):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# tshark
|
||||
|
||||
> Packet analysis tool, CLI version of Wireshark.
|
||||
> More information: <https://tshark.dev/>.
|
||||
> More information: <https://tshark.dev/#sitemap-in-tshark---help>.
|
||||
|
||||
- Monitor everything on localhost:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Free, open source, cross-platform digital audio workstation.
|
||||
> Render a `.mmp` or `.mmpz` project file, dump a `.mmpz` as XML, or start the GUI.
|
||||
> See also: `mixxx`.
|
||||
> More information: <https://lmms.io>.
|
||||
> More information: <https://manned.org/lmms>.
|
||||
|
||||
- Start the GUI:
|
||||
|
||||
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start the GUI and load external config:
|
||||
|
||||
`lmms --config {{path/to/config.xml}}`
|
||||
`lmms {{[-c|--config]}} {{path/to/config.xml}}`
|
||||
|
||||
- Start the GUI and import MIDI or Hydrogen file:
|
||||
|
||||
@@ -40,4 +40,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Render with custom samplerate, format, and as a loop:
|
||||
|
||||
`lmms render --samplerate {{88200}} --format {{ogg}} --loop --output {{path/to/output_file.ogg}}`
|
||||
`lmms render {{[-s|--samplerate]}} {{88200}} {{[-f|--format]}} {{ogg}} {{[-l|--loop]}} {{[-o|--output]}} {{path/to/output_file.ogg}}`
|
||||
|
||||
18
tldr/locust
18
tldr/locust
@@ -6,28 +6,28 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# locust
|
||||
|
||||
> Load-testing tool to determine number of concurrent users a system can handle.
|
||||
> More information: <https://locust.io>.
|
||||
> More information: <https://docs.locust.io/en/stable/configuration.html#configuration>.
|
||||
|
||||
- Load-test "example.com" with web interface using locustfile.py:
|
||||
|
||||
`locust --host={{http://example.com}}`
|
||||
`locust {{[-H|--host]}} {{http://example.com}}`
|
||||
|
||||
- Use a different test file:
|
||||
|
||||
`locust --locustfile={{test_file.py}} --host={{http://example.com}}`
|
||||
`locust {{[-H|--host]}} {{http://example.com}} {{[-f|--locustfile]}} {{test_file.py}}`
|
||||
|
||||
- Run test without web interface, spawning 1 user a second until there are 100 users:
|
||||
|
||||
`locust --no-web --clients={{100}} --hatch-rate={{1}} --host={{http://example.com}}`
|
||||
`locust {{[-H|--host]}} {{http://example.com}} --headless {{[-u|--users]}} 100 {{[-r|--spawn-rate]}} 1`
|
||||
|
||||
- Start Locust in master mode:
|
||||
|
||||
`locust --master --host={{http://example.com}}`
|
||||
`locust {{[-H|--host]}} {{http://example.com}} --master`
|
||||
|
||||
- Connect Locust slave to master:
|
||||
- Connect Locust worker to master:
|
||||
|
||||
`locust --slave --host={{http://example.com}}`
|
||||
`locust {{[-H|--host]}} {{http://example.com}} --worker`
|
||||
|
||||
- Connect Locust slave to master on a different machine:
|
||||
- Connect Locust worker to master on a different machine:
|
||||
|
||||
`locust --slave --master-host={{master_hostname}} --host={{http://example.com}}`
|
||||
`locust {{[-H|--host]}} {{http://example.com}} --worker --master-host {{master_hostname}}`
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Create, edit, compose, or convert between image formats.
|
||||
> This tool replaces `convert` in ImageMagick 7+. See `magick convert` to use the old tool in versions 7+.
|
||||
> Some subcommands, such as `mogrify` have their own usage documentation.
|
||||
> More information: <https://imagemagick.org>.
|
||||
> More information: <https://imagemagick.org/script/magick.php>.
|
||||
|
||||
- Convert between image formats:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Midnight Commander, a TUI file manager.
|
||||
> Navigate the directory structure using the `<ArrowKeys>`, the mouse or by typing the commands into the terminal.
|
||||
> See also: `ranger`, `clifm`, `vifm`, `nautilus`.
|
||||
> More information: <https://midnight-commander.org>.
|
||||
> More information: <https://source.midnight-commander.org/man/mc.html>.
|
||||
|
||||
- Start Midnight Commander:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# meteor
|
||||
|
||||
> Full-stack JavaScript platform for building web applications.
|
||||
> More information: <https://meteor.com>.
|
||||
> More information: <https://docs.meteor.com/cli/>.
|
||||
|
||||
- Run a meteor project from its root directory in development mode:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Attempt to find bugs in MATLAB or Octave code.
|
||||
> Please note that this tool is neither sound nor complete.
|
||||
> More information: <https://misshit.org>.
|
||||
> More information: <https://florianschanda.github.io/miss_hit/cli.html>.
|
||||
|
||||
- Check the current directory:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mh_metric
|
||||
|
||||
> Calculate and enforce code metrics for MATLAB or Octave code.
|
||||
> More information: <https://misshit.org>.
|
||||
> More information: <https://florianschanda.github.io/miss_hit/cli.html>.
|
||||
|
||||
- Print the code metrics for the specified files:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A modern and intuitive terminal-based text editor.
|
||||
> You can use your keyboard, but also your mouse to navigate and/or select text.
|
||||
> More information: <https://micro-editor.github.io>.
|
||||
> More information: <https://github.com/zyedidia/micro#usage>.
|
||||
|
||||
- Open a file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mise
|
||||
|
||||
> Manage language runtimes like Node.js, Python, Ruby, Go, Java, etc and various tools.
|
||||
> More information: <https://mise.jdx.dev>.
|
||||
> More information: <https://mise.jdx.dev/cli/>.
|
||||
|
||||
- List all available plugins:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set global version for a package:
|
||||
|
||||
`mise use --global {{name}}@{{version}}`
|
||||
`mise use {{[-g|--global]}} {{name}}@{{version}}`
|
||||
|
||||
- Set local version for a package:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mkdocs
|
||||
|
||||
> Project documentation with Markdown.
|
||||
> More information: <https://www.mkdocs.org>.
|
||||
> More information: <https://www.mkdocs.org/user-guide/cli/>.
|
||||
|
||||
- Create a new mkdocs project:
|
||||
|
||||
|
||||
2
tldr/mlr
2
tldr/mlr
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mlr
|
||||
|
||||
> Miller is like `awk`, `sed`, `cut`, `join`, and `sort` for name-indexed data such as CSV, TSV, and tabular JSON.
|
||||
> More information: <https://miller.readthedocs.io>.
|
||||
> More information: <https://miller.readthedocs.io/en/latest/manpage/>.
|
||||
|
||||
- Pretty-print a CSV file in a tabular format:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mocha
|
||||
|
||||
> A feature-rich JavaScript test framework.
|
||||
> More information: <https://mochajs.org>.
|
||||
> More information: <https://mochajs.org/#command-line-usage>.
|
||||
|
||||
- Run tests with default configuration or as configured in `mocha.opts`:
|
||||
|
||||
@@ -18,12 +18,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Run tests that match a specific `grep` pattern:
|
||||
|
||||
`mocha --grep {{regex}}`
|
||||
`mocha {{[-g|--grep]}} {{regex}}`
|
||||
|
||||
- Run tests on changes to JavaScript files in the current directory and once initially:
|
||||
|
||||
`mocha --watch`
|
||||
`mocha {{[-w|--watch]}}`
|
||||
|
||||
- Run tests with a specific reporter:
|
||||
|
||||
`mocha --reporter {{reporter}}`
|
||||
`mocha {{[-R|--reporter]}} {{reporter}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# molecule
|
||||
|
||||
> Molecule helps testing Ansible roles.
|
||||
> More information: <https://molecule.readthedocs.io>.
|
||||
> More information: <https://docs.ansible.com/projects/molecule/usage/>.
|
||||
|
||||
- Create a new Ansible role:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# moro
|
||||
|
||||
> Track work time.
|
||||
> More information: <https://moro.js.org>.
|
||||
> More information: <https://github.com/getmoro/moro/blob/master/DOCUMENTATION.md>.
|
||||
|
||||
- Invoke `moro` without parameters, to set the current time as the start of the working day:
|
||||
|
||||
|
||||
2
tldr/mpv
2
tldr/mpv
@@ -29,7 +29,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`mpv --sub-file={{path/to/file}}`
|
||||
|
||||
- Take a screenshot of the current frame (saved to `./mpv-shotNNNN.jpg` by default):
|
||||
- Take a screenshot of the current frame (saved to `mpv-shotNNNN.jpg` by default):
|
||||
|
||||
`<s>`
|
||||
|
||||
|
||||
2
tldr/mr
2
tldr/mr
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mr
|
||||
|
||||
> Manage all of your version control repositories at once.
|
||||
> More information: <https://myrepos.branchable.com>.
|
||||
> More information: <https://manned.org/mr>.
|
||||
|
||||
- Register a repository:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mumble
|
||||
|
||||
> Low-latency, high quality voice chat software.
|
||||
> More information: <https://www.mumble.info>.
|
||||
> More information: <https://manned.org/mumble>.
|
||||
|
||||
- Open Mumble:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# nextflow
|
||||
|
||||
> Run computational pipelines. Mostly used for bioinformatics workflows.
|
||||
> More information: <https://www.nextflow.io>.
|
||||
> More information: <https://www.nextflow.io/docs/latest/cli.html>.
|
||||
|
||||
- Run a pipeline, use cached results from previous runs:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# node
|
||||
|
||||
> Server-side JavaScript platform (Node.js).
|
||||
> More information: <https://nodejs.org>.
|
||||
> More information: <https://nodejs.org/docs/latest/api/cli.html#options>.
|
||||
|
||||
- Run a JavaScript file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# offlineimap
|
||||
|
||||
> Synchronize a remote IMAP server with local Maildir folders.
|
||||
> More information: <https://www.offlineimap.org>.
|
||||
> More information: <https://www.offlineimap.org/doc/offlineimap.html>.
|
||||
|
||||
- Synchronize once, without enabling autorefresh:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# optipng
|
||||
|
||||
> PNG file optimization utility.
|
||||
> More information: <https://optipng.sourceforge.net>.
|
||||
> More information: <https://optipng.sourceforge.net/optipng-7.9.1.man1.html>.
|
||||
|
||||
- Compress a PNG with default settings:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mate
|
||||
|
||||
> General-purpose text editor for macOS.
|
||||
> More information: <https://macromates.com/>.
|
||||
> More information: <https://macromates.com/textmate/manual/opening-files#mate>.
|
||||
|
||||
- Start TextMate:
|
||||
|
||||
@@ -18,12 +18,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Specify the filetype of a file:
|
||||
|
||||
`mate --type {{filetype}} {{path/to/file}}`
|
||||
`mate {{[-t|--type]}} {{filetype}} {{path/to/file}}`
|
||||
|
||||
- Open and wait until finished editing a specific file:
|
||||
|
||||
`mate --wait {{path/to/file}}`
|
||||
`mate {{[-w|--wait]}} {{path/to/file}}`
|
||||
|
||||
- Open a file with the cursor at a specific line and column:
|
||||
|
||||
`mate --line {{line_number}}:{{column_number}} {{path/to/file}}`
|
||||
`mate {{[-l|--line]}} {{line_number}}:{{column_number}} {{path/to/file}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Interface for OrbStack, a fast and lightweight container and virtual machine runtime for macOS.
|
||||
> Provides Docker-compatible commands and Linux VM management.
|
||||
> More information: <https://docs.orbstack.dev/>.
|
||||
> More information: <https://docs.orbstack.dev/headless>.
|
||||
|
||||
- List all containers and VMs:
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# valet
|
||||
|
||||
> A Laravel development environment that allows hosting sites via local tunnels on `http://example.test`.
|
||||
> A Laravel development environment that allows hosting sites via local tunnels on <http://example.test>.
|
||||
> More information: <https://laravel.com/docs/valet>.
|
||||
|
||||
- Start the valet daemon:
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# wacaw
|
||||
|
||||
> Capture both still pictures and video from an attached camera.
|
||||
> More information: <https://webcam-tools.sourceforge.net>.
|
||||
> More information: <https://webcam-tools.sourceforge.net/#parameters>.
|
||||
|
||||
- Take a picture from webcam:
|
||||
|
||||
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Record a video:
|
||||
|
||||
`wacaw --video {{filename}} --duration {{10}}`
|
||||
`wacaw --video {{filename}} {{[-D|--duration]}} {{10}}`
|
||||
|
||||
- Take a picture with custom resolution:
|
||||
|
||||
`wacaw --width {{width}} --height {{100}} {{filename}}`
|
||||
`wacaw {{[-x|--width]}} {{width}} {{[-y|--height]}} {{100}} {{filename}}`
|
||||
|
||||
- Copy image just taken to clipboard:
|
||||
|
||||
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List the devices available:
|
||||
|
||||
`wacaw --list-devices`
|
||||
`wacaw {{[-L|--list-devices]}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Wrapper of 7-Zip file archiver with high compression ratio.
|
||||
> Internally executes either 7za or 7zr command.
|
||||
> More information: <https://p7zip.sourceforge.net>.
|
||||
> More information: <https://manned.org/p7zip>.
|
||||
|
||||
- Archive a file, replacing it with a 7zipped compressed version:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Store and read passwords or other sensitive data.
|
||||
> All data is GPG-encrypted, and managed with a Git repository.
|
||||
> More information: <https://www.passwordstore.org>.
|
||||
> More information: <https://git.zx2c4.com/password-store/about/>.
|
||||
|
||||
- Initialize (or re-encrypt) the storage using one or more GPG IDs:
|
||||
|
||||
|
||||
@@ -6,12 +6,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pdfposter
|
||||
|
||||
> Convert a large-sheeted PDF into multiple A4 pages for printing.
|
||||
> More information: <https://pdfposter.readthedocs.io>.
|
||||
> More information: <https://pdfposter.readthedocs.io/en/stable/Usage.html>.
|
||||
|
||||
- Convert an A2 poster into 4 A4 pages:
|
||||
|
||||
`pdfposter --poster-size a2 {{input_file.pdf}} {{output_file.pdf}}`
|
||||
`pdfposter {{[-p|--poster-size]}} a2 {{input_file.pdf}} {{output_file.pdf}}`
|
||||
|
||||
- Scale an A4 poster to A3 and then generate 2 A4 pages:
|
||||
|
||||
`pdfposter --scale 2 {{input_file.pdf}} {{output_file.pdf}}`
|
||||
`pdfposter {{[-s|--scale]}} 2 {{input_file.pdf}} {{output_file.pdf}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# phpdox
|
||||
|
||||
> A PHP documentation generator.
|
||||
> More information: <https://phpdox.net>.
|
||||
> More information: <https://manned.org/phpdox>.
|
||||
|
||||
- Display an annotated skeleton configuration XML file:
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user