Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-30 00:22:10 +00:00
parent 0b27d7dda4
commit 3495c8ec38
111 changed files with 496 additions and 123 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# asdf
> Command-line interface for managing versions of different packages.
> Manage versions of different packages.
> More information: <https://asdf-vm.com/manage/commands.html>.
- List all available plugins:

View File

@@ -19,8 +19,8 @@ source: https://github.com/tldr-pages/tldr.git
- List storage accounts:
`az storage account list {{[-g|--resource-group]}} {{azure_resource_group}}`
`az storage account list {{[-g|--resource-group]}} {{azure_resource_group}}`
- Delete a specific storage account:
`az storage account delete {{[-n|--name]}} {{storage_account_name}} {{[-g|--resource-group]}} {{azure_resource_group}}`
`az storage account delete {{[-n|--name]}} {{storage_account_name}} {{[-g|--resource-group]}} {{azure_resource_group}}`

33
tldr/boxxy Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# boxxy
> Redirect file locations for programs that don't respect the XDG standards.
> More information: <https://github.com/queer/boxxy>.
- Run a program with file redirections defined in `~/.config/boxxy/boxxy.yaml`:
`boxxy {{program}}`
- Scan your home directory for rule suggestions:
`boxxy scan`
- Trace what files a program touches and save a report in `boxxy-report.txt` in the current directory:
`boxxy {{[-t|--trace]}} {{program}}`
- Pass a redirection rule directly on the terminal:
`boxxy {{[-r|--rule]}} {{path/to/file_or_directory}}:{{path/to/redirection}}:{{file|directory}} {{program}}`
- View the config file:
`boxxy config`
- Display help:
`boxxy -h`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# buku
> Command-line browser-independent bookmark manager.
> Browser-independent bookmark manager.
> More information: <https://github.com/jarun/Buku#usage>.
- Display all bookmarks matching "keyword" and with "privacy" tag:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# clamscan
> A command-line virus scanner.
> A virus scanner.
> More information: <https://docs.clamav.net/manual/Usage/Scanning.html#clamscan>.
- Scan a file for vulnerabilities:

29
tldr/cmd-wrapped Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cmd-wrapped
> View shell history statistics.
> More information: <https://crates.io/crates/cmd-wrapped>.
- Fetch current statistics:
`cmd-wrapped`
- Fetch statistics from a specific year:
`cmd-wrapped {{year}}`
- Specify a shell:
`cmd-wrapped {{[-s|--shell]}} {{shell}}`
- Display help:
`cmd-wrapped {{[-h|--help]}}`
- Display version:
`cmd-wrapped {{[-V|--version]}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# crictl
> Command-line for CRI-compatible container runtimes.
> Manage CRI-compatible container runtimes.
> More information: <https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/crictl.md>.
- List all kubernetes pods (Ready and NotReady):

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# deluge
> A command-line BitTorrent client.
> A BitTorrent client.
> More information: <https://manned.org/deluge>.
- Download a torrent:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# drush
> A command-line shell and scripting interface for Drupal.
> Shell and scripting interface for Drupal.
> More information: <https://www.drush.org/latest/usage/>.
- Enable module "foo":

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# duckdb
> Command-line client for DuckDB, an in-process analytical SQL engine.
> Client for DuckDB, an in-process analytical SQL engine.
> More information: <https://duckdb.org>.
- Start an interactive shell with a transient in-memory database:

View File

@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Display media duration:
`ffprobe {{[-v|-loglevel]}} error -show_entries format=duration {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
`ffprobe {{[-v|-loglevel]}} error -show_entries format=duration {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
- Display the frame rate of a video:
`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream=avg_frame_rate {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream=avg_frame_rate {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
- Display the width or height of a video:
`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream={{width|height}} {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream={{width|height}} {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
- Display the average bit rate of a video:
`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream=bit_rate {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}`
`ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream=bit_rate {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# fin
> Docksal command-line utility.
> Docksal utility.
> More information: <https://docs.docksal.io/fin/fin/>.
- Start the project in the current directory:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# fly
> Command-line tool for concourse-ci.
> Tool for concourse-ci.
> More information: <https://concourse-ci.org/fly.html>.
- Authenticate with and save concourse target:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# fzf
> Command-line fuzzy finder.
> Fuzzy finder.
> Similar to `sk`.
> More information: <https://github.com/junegunn/fzf>.

29
tldr/gh-repo-create Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gh repo create
> Create a new GitHub repository.
> More information: <https://cli.github.com/manual/gh_repo_create>.
- Create a new repository interactively:
`gh repo create`
- Create a new repository with a specified name and description:
`gh repo create {{repo_name}} {{[-d|--description]}} "{{repo_description}}"`
- Create a private repository from the current directory:
`gh repo create {{[-s|--source]}} . --private`
- Clone the new repository locally after creation:
`gh repo create {{repo_name}} {{[-c|--clone]}}`
- Push the current directory to a new GitHub repository:
`gh repo create {{[-s|--source]}} . --public`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# gnmic
> A gNMI command-line client.
> A gNMI client.
> Manage gNMI network device configuration and view operational data.
> More information: <https://gnmic.kmrd.dev>.

View File

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

13
tldr/gst-discoverer-1.0 Normal file
View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gst-discoverer-1.0
> Display file metadata and stream information.
> More information: <https://manned.org/man/gst-discoverer-1.0.1>.
- Print file metadata:
`gst-discoverer-1.0 {{path/to/file}}`

View File

@@ -15,3 +15,27 @@ source: https://github.com/tldr-pages/tldr.git
- List hardware transcoding capabilities of your device:
`gst-inspect-1.0 {{vaapi|nvcodec}}`
- List available container plugins:
`gst-inspect-10 {{matroska|avi|ogg|isomp4}}`
- List available audio codecs:
`gst-inspect-1.0 {{opus|vorbis|flac}}`
- List GStreamer core elements:
`gst-inspect-1.0 coreelements`
- List plugins that utilize graphics APIs:
`gst-inspect-1.0 {{vulkan|opengl}}`
- List available image codecs:
`gst-inspect-1.0 {{png|jpeg}}`
- List all available plugins:
`gst-inspect-1.0`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# hyperfine
> A command-line benchmarking tool.
> A benchmarking tool.
> More information: <https://github.com/sharkdp/hyperfine/>.
- Run a basic benchmark, performing at least 10 runs:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# influx
> InfluxDB v1 command-line client.
> InfluxDB v1 client.
> More information: <https://docs.influxdata.com/influxdb/v1/tools/influx-cli/use-influx-cli/>.
- Connect to an InfluxDB running on localhost with no credentials:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# kubectl
> Command-line interface for running commands against Kubernetes clusters.
> Run commands against Kubernetes clusters.
> Some subcommands such as `run` have their own usage documentation.
> More information: <https://kubernetes.io/docs/reference/kubectl/>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# laravel
> A command-line installer for the Laravel framework.
> Installer for the Laravel framework.
> More information: <https://laravel.com/docs/installation>.
- Create a new Laravel application:

37
tldr/linux/aide Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# aide
> Advanced Intrusion Detection Environment to validate file integrity.
> More information: <https://manned.org/aide>.
- Initialize the database:
`sudo aide {{[-i|--init]}}`
- Check the database for inconsistencies:
`sudo aide {{[-C|--check]}}`
- Compare two databases according to definitions in the config file:
`sudo aide {{[-E|--compare]}}`
- Check and update the database non-interactively:
`sudo aide {{[-u|--update]}}`
- Define a config file to override the default {{./aide.conf}}:
`sudo aide {{[-c|--config]}} {{path/to/config_file}}`
- Use REGEX to limit AIDE to a specific string:
`sudo aide {{[-l|--limit]}} {{REGEX}}`
- Send reporter results to a URL:
`sudo aide {{[-r|--report]}} {{reporterurl}}`

41
tldr/linux/away Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# away
> Locks terminal with an away message.
> More information: <https://manned.org/away>.
- Lock terminal and set away message:
`away {{message}}`
- Lock terminal and enable mail check:
`away {{[-c|--mail]}} {{message}}`
- Lock terminal and disable mail check:
`away {{[-C|--nomail]}} {{message}}`
- Lock terminal and sleep background tasks for number of seconds:
`away {{[-t|--time]}} {{seconds}} {{message}}`
- Lock terminal and check mail if at least one inbox hasn't received new mail:
`away {{[-p|--persist]}} {{message}}`
- Lock terminal and check mail until at least one inbox has received new mail:
`away {{[-P|--nopersist]}} {{message}}`
- Display help:
`away {{[-h|--help]}}`
- Display version:
`away {{[-v|--version]}}`

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- Flash an ISO to a drive without entering the hash interactively:
`caligula burn {{path/to/image.iso}} {{[-s|--hash]}} {{hash}}`
`caligula burn {{path/to/image.iso}} {{[-s|--hash]}} {{hash}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# cloud-init
> Command line tool for managing cloud instance initialization.
> Manage cloud instance initialization.
> More information: <https://cloudinit.readthedocs.io/en/latest/reference/cli.html>.
- Display the status of the most recent cloud-init run:

View File

@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# daemon
> Run processes into daemons.
> More information: <https://manned.org/daemon>.
> Turns other processes into daemons.
> More information: <https://manned.org/daemon.1>.
- Run a command as a daemon:
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
- Run a command as a daemon which will restart if the command crashes:
`daemon --name="{{name}}" --respawn {{command}}`
`daemon --name="{{name}}" {{[-r|--respawn]}} {{command}}`
- Run a command as a daemon which will restart if it crashes, with two attempts every 10 seconds:
`daemon --name="{{name}}" --respawn --attempts=2 --delay=10 {{command}}`
`daemon --name="{{name}}" {{[-r|--respawn]}} --attempts=2 --delay=10 {{command}}`
- Run a command as a daemon, writing logs to a specific file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dbus-daemon
> The D-Bus message daemon, allowing multiple programs to exchange messages.
> More information: <https://www.freedesktop.org/wiki/Software/dbus/>.
> More information: <https://dbus.freedesktop.org/doc/dbus-daemon.1.html>.
- Run the daemon with a configuration file:

View File

@@ -5,16 +5,16 @@ source: https://github.com/tldr-pages/tldr.git
---
# debchange
> Mantain the debian/changelog file of a Debian source package.
> Maintain the debian/changelog file of a Debian source package.
> More information: <https://manned.org/debchange.1>.
- Add a new version for a non-maintainer upload to the changelog:
`debchange --nmu`
`debchange {{[-n|--nmu]}}`
- Add a changelog entry to the current version:
`debchange --append`
`debchange {{[-a|--append]}}`
- Add a changelog entry to close the bug with specified ID:

View File

@@ -8,14 +8,14 @@ source: https://github.com/tldr-pages/tldr.git
> Read man pages from uninstalled packages.
> More information: <https://manned.org/debman.1>.
- Read a man page for a command that is provided by a specified package:
- Read a man page for a command that is provided by a specified [p]ackage:
`debman -p {{package}} {{command}}`
- Specify a package version to download:
- Specify a [p]ackage version to download:
`debman -p {{package}}={{version}} {{command}}`
- Read a man page in a `.deb` file:
- Read a man page in a `.deb` [f]ile:
`debman -f {{path/to/filename.deb}} {{command}}`

View File

@@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git
- Find packages which are only recommended or suggested (but not required) by another package:
`deborphan --nice-mode`
`deborphan {{[-n|--nice-mode]}}`

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Update debtap database (before the first run):
`sudo debtap --update`
`sudo debtap {{[-u|--update]}}`
- Convert the specified package:
@@ -19,8 +19,8 @@ source: https://github.com/tldr-pages/tldr.git
- Convert the specified package bypassing all questions, except for editing metadata files:
`debtap --quiet {{path/to/package.deb}}`
`debtap {{[-q|--quiet]}} {{path/to/package.deb}}`
- Generate a PKGBUILD file:
`debtap --pkgbuild {{path/to/package.deb}}`
`debtap {{[-p|--pkgbuild]}} {{path/to/package.deb}}`

View File

@@ -18,11 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
- Enable a specific repository:
`dnf config-manager --set-enabled {{repository_id}}`
`dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}`
- Disable specified repositories:
`dnf config-manager --set-disabled {{repository_id1 repository_id2 ...}}`
`dnf config-manager {{[--disable|--set-disabled]}} {{repository_id1 repository_id2 ...}}`
- Set a configuration option for a repository:

View File

@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
- Upgrade to the latest development release:
`sudo do-release-upgrade --devel-release`
`sudo do-release-upgrade {{[-d|--devel-release]}}`
- Upgrade to the latest proposed release:
`sudo do-release-upgrade --proposed`
`sudo do-release-upgrade {{[-p|--proposed]}}`

View File

@@ -35,4 +35,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help:
`dolphin --help`
`dolphin {{[-h|--help]}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Generate initramfs images to boot the Linux kernel.
> Dracut uses options from configuration files in `/etc/dracut.conf`, `/etc/dracut.conf.d/*.conf` and `/usr/lib/dracut/dracut.conf.d/*.conf` by default.
> More information: <https://github.com/dracutdevs/dracut/wiki>.
> More information: <https://github.com/dracut-ng/dracut-ng/blob/main/man/dracut.8.adoc>.
- Generate an initramfs image for the current kernel without overriding any options:
@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
- Generate an initramfs image for the current kernel and overwrite the existing one:
`dracut --force`
`dracut {{[-f|--force]}}`
- Generate an initramfs image for a specific kernel:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Handle local and virtual files (GVfs).
> Part of GLib used in GNOME-based systems.
> More information: <https://manpages.ubuntu.com/manpages/focal/man1/gio.1.html>.
> More information: <https://manned.org/gio>.
- Open a file with the default application (e.g. PDF, image):

41
tldr/linux/haveged Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# haveged
> Hardware-based random number generator.
> More information: <https://manned.org/haveged>.
- Generate a random number:
`sudo haveged`
- Run `haveged` in foreground:
`sudo haveged {{[-F|--Foreground]}}`
- Set file path for output of `haveged`:
`sudo haveged {{[-f|--file]}} {{path/to/file}}`
- Set run level for daemon:
`sudo haveged {{[-r|--run]}} {{runlevel}}`
- Set collection buffer size in kibibyte words:
`sudo haveged {{[-b|--buffer]}} {{buffersizeinKW}}`
- Insert a command to an already running `haveged` process or daemon:
`sudo haveged {{[-c|--command]}} {{command}}`
- Set cache size in kibibyte words:
`sudo haveged {{[-d|--data]}} {{cachesizeinKW}}`
- Set number of bytes to write to the output file:
`sudo haveged {{[-n|--number]}} {{byteamount}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# http-prompt
> An interactive command-line HTTP client featuring autocomplete and syntax highlighting.
> An interactive HTTP client featuring autocomplete and syntax highlighting.
> More information: <https://github.com/httpie/http-prompt>.
- Launch a session targeting the default URL of <http://localhost:8000> or the previous session:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# imgp
> Command-line image resizer and rotator for JPEG and PNG images.
> Resize and rotate JPEG and PNG images.
> More information: <https://github.com/jarun/imgp>.
- Convert single images and/or whole directories containing valid image formats:

View File

@@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git
- List installed plasmoids (`--global` for all users):
`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-l|--list]}} {{[-g|--global]}}`
`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-l|--list]}} {{[-g|--global]}}`
- Remove a plasmoid by name:
`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-r|--remove]}} "{{name}}"`
`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-r|--remove]}} "{{name}}"`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# kscreen-console
> Command-line tool to query KScreen's status.
> Query KScreen's status.
> More information: <https://manned.org/kscreen-console>.
- Show all outputs and configuration files to attach to a bug report:

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- List all available folders:
`kwallet-query {{kdewallet}} {{[-l|--list-entries]}} {{[-f|--folder]}} ""`
`kwallet-query {{kdewallet}} {{[-l|--list-entries]}} {{[-f|--folder]}} ""`
- Display help:

View File

@@ -10,28 +10,28 @@ source: https://github.com/tldr-pages/tldr.git
- Compile a source file into a `libtool` object:
`libtool --mode=compile gcc {{[-c|--compile]}} {{path/to/source.c}} {{[-o|--output]}} {{path/to/source.lo}}`
`libtool {{[c|compile]}} gcc {{[-c|--compile]}} {{path/to/source.c}} {{[-o|--output]}} {{path/to/source.lo}}`
- Create a library or an executable:
`libtool --mode=link gcc {{[-o|--output]}} {{path/to/library.lo}} {{path/to/source.lo}}`
`libtool {{[l|link]}} gcc {{[-o|--output]}} {{path/to/library.lo}} {{path/to/source.lo}}`
- Automatically set the library path so that another program can use uninstalled `libtool` generated programs or libraries:
`libtool --mode=execute gdb {{path/to/program}}`
`libtool {{[e|execute]}} gdb {{path/to/program}}`
- Install a shared library:
`libtool --mode=install cp {{path/to/library.la}} {{path/to/installation_directory}}`
`libtool {{[i|install]}} cp {{path/to/library.la}} {{path/to/installation_directory}}`
- Complete the installation of `libtool` libraries on the system:
`libtool --mode=finish {{path/to/installation_dir}}`
`libtool {{[f|finish]}} {{path/to/installation_dir}}`
- Delete installed libraries or executables:
`libtool --mode=uninstall {{path/to/installed_library.la}}`
`libtool {{[u|uninstall]}} {{path/to/installed_library.la}}`
- Delete uninstalled libraries or executables:
`libtool --mode=clean rm {{path/to/source.lo}} {{path/to/library.la}}`
`libtool {{[cl|clean]}} rm {{path/to/source.lo}} {{path/to/library.la}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# macchanger
> Command-line utility for manipulating network interface MAC addresses.
> Manipulate network interface MAC addresses.
> More information: <https://manned.org/macchanger>.
- View the current and permanent MAC addresses of a interface:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# pkcon
> Command line client for PackageKit console program used by Discover and Gnome software and alternative to 'apt'.
> PackageKit client used by Discover and Gnome software and alternative to `apt`.
> More information: <https://manned.org/pkcon>.
- Install a package:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# rspamc
> Command-line client for rspamd servers.
> Client for `rspamd` servers.
> More information: <https://manned.org/rspamc>.
- Train the bayesian filter to recognise an email as spam:

18
tldr/linux/runlevel Normal file
View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# runlevel
> SysV runlevel utility.
> See also: `init`.
> More information: <https://manned.org/runlevel>.
- Return previous and current SysV runlevel:
`runlevel`
- Display help:
`runlevel --help`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# uvcdynctrl
> A libwebcam command-line tool to manage dynamic controls in uvcvideo.
> Manage dynamic controls in uvcvideo.
> More information: <https://manned.org/uvcdynctrl>.
- List all available cameras:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# xdg-desktop-menu
> Command-line tool for installing or uninstalling desktop menu items.
> Install or uninstall desktop menu items.
> More information: <https://manned.org/xdg-desktop-menu>.
- Install an application to the desktop menu system:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# xdotool
> Command-line automation for X11.
> Automate X11 actions.
> More information: <https://manned.org/xdotool>.
- Retrieve the X-Windows window ID of the running Firefox window(s):

View File

@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`xhost -{{hostname}}`
- Allow all hosts to connect (disable access control insecure):
- Allow all hosts to connect (disable access control - insecure):
`xhost +`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# xsetwacom
> Command-line tool to change settings for Wacom pen tablets at runtime.
> Change settings for Wacom pen tablets at runtime.
> More information: <https://manned.org/xsetwacom>.
- List all the available Wacom devices. The device name is in the first column:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# lpass
> Command-line interface for the LastPass password manager.
> Interface for the LastPass password manager.
> More information: <https://lastpass.github.io/lastpass-cli/lpass.1.html>.
- Log in to your LastPass account, by entering your master password when prompted:

View File

@@ -25,9 +25,9 @@ source: https://github.com/tldr-pages/tldr.git
`magick convert {{path/to/input_image.png}} -define jpeg:extent=512kb {{path/to/output_image.jpg}}`
- Vertically/horizontally append images:
- Vertically/horizontally append images and have the empty space be transparent:
`magick convert {{path/to/image1.png path/to/image2.png ...}} {{-append|+append}} {{path/to/output_image.png}}`
`magick convert -background none {{path/to/image1.png path/to/image2.png ...}} {{-append|+append}} {{path/to/output_image.png}}`
- Create a GIF from a series of images with 100ms delay between them:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# mdp
> A command-line based tool to make presentations from Markdown files.
> Make presentations from Markdown files.
> More information: <https://manned.org/mdp>.
- Launch a presentation in the terminal from a Markdown file:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# mysql
> The MySQL command-line tool.
> The MySQL tool.
> More information: <https://www.mysql.com/>.
- Connect to a database:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# mysqlsh
> Advanced command-line client for MySQL, supporting SQL, JavaScript, and Python.
> Advanced client for MySQL, supporting SQL, JavaScript, and Python.
> It offers features for managing InnoDB clusters and document store collections.
> More information: <https://dev.mysql.com/doc/mysql-shell/en/mysql-shell-commands.html>.

42
tldr/ndc Normal file
View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ndc
> Name daemon control service for name servers.
> If a command isn't provided, NDC will prompt for one until EOF.
> More information: <https://manned.org/ndc>.
- Set the [c]ontrol channel rendezvous point:
`ndc -c {{channel}} {{command}}`
- Bind the client side to a specific [l]ocalsock address:
`ndc -l {{localsock}} {{command}}`
- Set path to [p]idfile for UNIX signal control:
`ndc -p {{path/to/pidfile}} {{command}}`
- Enable [d]ebugging:
`ndc -d {{command}}`
- Enable [q]uiet mode:
`ndc -q {{command}}`
- Enable nonfatal error [s]uppression:
`ndc -s {{command}}`
- Enable [t]racing for protocol and system debugging:
`ndc -t {{command}}`
- List built-in commands:
`ndc /help`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# neomutt
> NeoMutt command-line email client.
> NeoMutt email client.
> More information: <https://neomutt.org/guide/reference.html>.
- Open the specified mailbox:

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Say [-E] first match group, using a regexp, ignoring space in regex [/x]:
`perl -n -E 'say $1 if m/{{before}} ( {{group_regex}} ) {{after}}/x'`
`perl -n -E 'say $1 if m/{{before}} ( {{group_regex}} ) {{after}}/x'`
- [-i]n-place, with backup, [s/] substitute all occurrence [/g] of regex with replacement:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# phpunit
> PHPUnit command-line test runner.
> PHPUnit test runner.
> More information: <https://phpunit.de>.
- Run tests in the current directory. Note: Expects you to have a 'phpunit.xml':

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# piactl
> The command-line tool for Private Internet Access, a commercial VPN provider.
> The tool for Private Internet Access, a commercial VPN provider.
> More information: <https://helpdesk.privateinternetaccess.com/kb/articles/pia-desktop-command-line-interface-part-1>.
- Log in to Private Internet Access:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# pio account
> Manage your PlatformIO account in the command-line.
> Manage your PlatformIO account.
> More information: <https://docs.platformio.org/en/latest/core/userguide/account/>.
- Register a new PlatformIO account:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# pprof
> Command-line tool for visualization and analysis of profile data.
> Visualize and analyze profiling data.
> More information: <https://github.com/google/pprof>.
- Generate a text report from a specific profiling file, on fibbo binary:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# psql
> PostgreSQL command-line client.
> PostgreSQL client.
> More information: <https://www.postgresql.org/docs/current/app-psql.html>.
- Connect to the database. By default, it connects to the local socket using port 5432 with the currently logged in user:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# pup
> Command-line HTML parsing tool.
> HTML parsing tool.
> More information: <https://github.com/ericchiang/pup>.
- Transform a raw HTML file into a cleaned, indented, and colored format:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# pwsh
> Command-line shell and scripting language designed especially for system administration.
> Shell and scripting language designed especially for system administration.
> This command refers to PowerShell version 6 and above (also known as PowerShell Core and cross-platform PowerShell).
> To use the original Windows version (5.1 and below, also known as the legacy Windows PowerShell), use `powershell` instead of `pwsh`.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# qalc
> Powerful and easy to use command-line calculator.
> Powerful and easy to use calculator.
> See also: `bc`.
> More information: <https://qalculate.github.io/manual/qalc.html>.

33
tldr/qemu-system-i386 Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# qemu-system-i386
> Emulate the `i386` architecture.
> More information: <https://www.qemu.org/docs/master/system/target-i386.html>.
- Boot from an image emulating the `i386` architecture:
`qemu-system-i386 -hda {{image_name.img}} -m {{4096}}`
- Boot a QEMU instance from a live ISO image:
`qemu-system-i386 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d -m {{4096}}`
- Boot from a physical device (e.g. from USB to test a bootable medium):
`qemu-system-i386 -hda {{/dev/storage_device}} -m {{4096}}`
- Do not launch a VNC server:
`qemu-system-i386 -hda {{image_name.img}} -m {{4096}} -nographic`
- Exit non-graphical QEMU:
`<Ctrl a><x>`
- List the supported machine types:
`qemu-system-x86_64 {{[-M|-machine]}} help`

33
tldr/qemu-system-x86_64 Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# qemu-system-x86_64
> Emulate the `x86_64` architecture.
> More information: <https://www.qemu.org/docs/master/system/target-i386.html>.
- Boot from an image emulating the `x86_64` architecture:
`qemu-system-x86_64 -hda {{image_name.img}} -m {{4096}}`
- Boot a QEMU instance from a live ISO image:
`qemu-system-x86_64 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d -m {{4096}}`
- Boot from a physical device (e.g. from USB to test a bootable medium):
`qemu-system-x86_64 -hda {{/dev/storage_device}} -m {{4096}}`
- Do not launch a VNC server:
`qemu-system-i386 -hda {{image_name.img}} -m {{4096}} -nographic`
- Exit non-graphical QEMU:
`<Ctrl a><x>`
- List the supported machine types:
`qemu-system-x86_64 {{[-M|-machine]}} help`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# raco
> Racket command-line tools.
> Racket tools.
> More information: <https://docs.racket-lang.org/raco/>.
- Install a package, automatically installing dependencies:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# rbt
> RBTools is a set of command-line tools for working with Review Board and RBCommons.
> RBTools, a set of tools for working with Review Board and RBCommons.
> More information: <https://www.reviewboard.org/docs/rbtools/dev/>.
- Post changes to Review Board:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# react-native start
> Command-line tools to start the React Native server.
> Start the React Native server.
> More information: <https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin#start>.
- Start the server that communicates with connected devices:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# satis
> The command-line utility for the Satis static Composer repository.
> The utility for the Satis static Composer repository.
> More information: <https://github.com/composer/satis>.
- Initialize a Satis configuration:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# scan-build
> Command-line utility to run a static analyzer over a codebase as part of performing a regular build.
> Run a static analyzer over a codebase as part of performing a regular build.
> More information: <https://clang-analyzer.llvm.org/scan-build.html>.
- Build and analyze the project in the current directory:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# sdcv
> StarDict, a command-line dictionary client.
> StarDict, a dictionary client.
> Dictionaries are provided separately from the client.
> More information: <https://manned.org/sdcv>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# sgpt
> Command-line productivity tool powered by OpenAI's GPT models.
> Productivity tool powered by OpenAI's GPT models.
> More information: <https://github.com/TheR1D/shell_gpt#readme>.
- Use it as a search engine, asking for the mass of the sun:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# snowsql
> SnowSQL command-line client for Snowflake's Data Cloud.
> SnowSQL client for Snowflake's Data Cloud.
> More information: <https://docs.snowflake.com/en/user-guide/snowsql.html>.
- Connect to a specific instance at <https://account.snowflakecomputing.com> (password can be provided in prompt or configuration file):

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# spark
> The Laravel Spark command-line tool.
> The Laravel Spark tool.
> More information: <https://spark.laravel.com>.
- Register your API token:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# sqlite-utils
> Command-line tool used to manipulate SQLite databases in a number of different ways.
> Manipulate SQLite databases in a number of different ways.
> More information: <https://sqlite-utils.datasette.io/en/stable/cli.html>.
- Create a database:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# sqlite3
> The command-line interface to SQLite 3, which is a self-contained file-based embedded SQL engine.
> Interface to SQLite 3, which is a self-contained file-based embedded SQL engine.
> More information: <https://sqlite.org/cli.html>.
- Start an interactive shell with a new database:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# sqlx
> Command-line utility for SQLx, the Rust SQL toolkit.
> Utility for SQLx, the Rust SQL toolkit.
> More information: <https://github.com/launchbadge/sqlx/blob/main/sqlx-cli/README.md>.
- Create the database specified in the DATABASE_URL environment variable:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# sqsc
> A command-line AWS Simple Queue Service client.
> An AWS Simple Queue Service client.
> More information: <https://github.com/yongfei25/sqsc>.
- List all queues:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# supervisorctl
> Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.
> Supervisor, a client/server system that allows its users to control a number of processes on UNIX-like operating systems.
> Supervisorctl is the command-line client piece of the supervisor which provides a shell-like interface.
> More information: <http://supervisord.org>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# svn
> Subversion command-line client tool.
> Subversion client tool.
> More information: <https://subversion.apache.org>.
- Check out a working copy from a repository:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# task
> Command-line to-do list manager.
> To-do list manager.
> More information: <https://taskwarrior.org/docs/>.
- Add a new task which is due tomorrow:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# termdown
> Countdown timer and stopwatch for the command-line.
> Countdown timer and stopwatch.
> More information: <https://github.com/trehn/termdown>.
- Start a stopwatch:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# timetrap
> Simple command-line time tracker written in Ruby.
> Simple time tracker written in Ruby.
> More information: <https://github.com/samg/timetrap>.
- Create a new timesheet:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# tmsu
> Simple command-line tool for tagging files.
> Simple tool for tagging files.
> More information: <https://tmsu.org>.
- Tag a specific file with multiple tags:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# trans
> Translate Shell is a command-line translator.
> Translate Shell, a command-line translator.
> More information: <https://github.com/soimort/translate-shell>.
- Translate a word (language is detected automatically):

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# transfersh
> An unofficial command-line client for transfer.sh.
> An unofficial client for transfer.sh.
> More information: <https://github.com/AlpixTM/transfersh>.
- Upload a file to transfer.sh:

View File

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

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# vegeta
> A command-line utility and a library for HTTP load testing.
> A utility and a library for HTTP load testing.
> See also `ab`.
> More information: <https://github.com/tsenart/vegeta>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# vela
> Command-line tools for the Vela pipeline.
> Tools for the Vela pipeline.
> More information: <https://go-vela.github.io/docs/reference/cli/>.
- Trigger a pipeline to run from a Git branch, commit or tag:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# vt
> Command-line interface for VirusTotal.
> Interface for VirusTotal.
> API key from a VirusTotal account is required for this command.
> More information: <https://github.com/VirusTotal/vt-cli>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# web-ext
> A command-line tool for managing web extension development.
> Manage web extension development.
> More information: <https://github.com/mozilla/web-ext>.
- Run the web extension in the current directory in Firefox:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# webtorrent
> The command-line interface for WebTorrent.
> The interface for WebTorrent.
> Supports magnets, URLs, info hashes and `.torrent` files.
> More information: <https://github.com/webtorrent/webtorrent-cli>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# weechat
> Command-line internet relay chat client with various features.
> Internet relay chat client with various features.
> More information: <https://weechat.org/doc>.
- Start WeeChat:

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