# CommandSection

title: TLDR
content:
<b>Log in to the Netlify account</b>`netlify login`<br><b>Deploy the contents of a directory to Netlify</b>`netlify deploy`<br><b>Configure continuous deployment for a new or an existing site</b>`netlify init`<br><b>Start a local dev server</b>`netlify dev`


title: TLDR
content:
<b>Create a new encrypted vault file with a prompt for a password</b>`ansible-vault create [vault_file]`<br><b>Create a new encrypted vault file using a vault key file to encrypt it</b>`ansible-vault create --vault-password-file [password_file] [vault_file]`<br><b>Encrypt an existing file using an optional password file</b>`ansible-vault encrypt --vault-password-file [password_file] [vault_file]`<br><b>Encrypt a string using Ansible's encrypted string format, displaying interactive prompts</b>`ansible-vault encrypt_string`<br><b>View an encrypted file, using a password file to decrypt</b>`ansible-vault view --vault-password-file [password_file] [vault_file]`<br><b>Re-key already encrypted vault file with a new password file</b>`ansible-vault rekey --vault-password-file [old_password_file] --new-vault-password-file [new_password_file] [vault_file]`


title: TLDR
content:
<b>Search Google for a keyword</b>`googler [keyword]`<br><b>Search Google and open the first result in web browser</b>`googler [[-j|--first]] [keyword]`<br><b>Show n search results (default: 10)</b>`googler [[-n|--count]] [n] [keyword]`<br><b>Disable automatic spelling correction</b>`googler [[-x|--exact]] [keyword]`<br><b>Search one site for a keyword</b>`googler [[-w|--site]] [site] [keyword]`<br><b>Show Google search result in JSON format</b>`googler --json [keyword]`<br><b>Perform in-place self-upgrade</b>`googler [[-u|--upgrade]]`<br><b>Display help in interactive mode</b>`<?>`


title: TLDR
content:
<b>Convert between image formats</b>`magick [path/to/input_image.png] [path/to/output_image.jpg]`<br><b>Resize an image, making a new copy</b>`magick [path/to/input_image.jpg] -resize [100x100] [path/to/output_image.jpg]`<br><b>Resize an image by a percentage</b>`magick [path/to/input_image.png] -resize [50]% [path/to/output_image.png]`<br><b>Scale an image to have a specified file size</b>`magick [path/to/input_image.png] -define jpeg:extent=[512kb] [path/to/output_image.jpg]`<br><b>Create a GIF out of all JPEG images in the current directory</b>`magick [*.jpg] [path/to/images.gif]`<br><b>Create a checkerboard pattern</b>`magick -size [640x480] pattern:checkerboard [path/to/checkerboard.png]`<br><b>Create a PDF file out of all JPEG images in the current directory</b>`magick [*.jpg] -adjoin [path/to/file.pdf]`


title: TLDR
content:
<b>Detect embedded data in a PNG</b>`zsteg [path/to/image.png]`<br><b>Detect embedded data in a BMP image, using all known methods</b>`zsteg --all [path/to/image.bmp]`<br><b>Detect embedded data in a PNG, iterating pixels vertically and using MSB first</b>`zsteg --msb --order yx [path/to/image.png]`<br><b>Detect embedded data in a BMP image, specifying the bits to consider</b>`zsteg --bits [1,2,3|1-3] [path/to/image.bmp]`<br><b>Detect embedded data in a PNG, extracting only prime pixels and inverting bits</b>`zsteg --prime --invert [path/to/image.png]`<br><b>Detect embedded data in a BMP image, specifying the minimum length of the strings to be found and the find mode</b>`zsteg --min-str-len [10] --strings [first|all|longest|none] [path/to/image.bmp]`


title: TLDR
content:
<b>Interactively create a new wapm.toml file</b>`wapm init`<br><b>Download all the packages listed as dependencies in wapm.toml</b>`wapm install`<br><b>Download a specific version of a package and add it to the list of dependencies in wapm.toml</b>`wapm install [package]@[version]`<br><b>Download a package and install it globally</b>`wapm install --global [package]`<br><b>Uninstall a package and remove it from the list of dependencies in wapm.toml</b>`wapm uninstall [package]`<br><b>Print a tree of locally installed dependencies</b>`wapm list`<br><b>List top-level globally installed packages</b>`wapm list --global`<br><b>Execute a package command using the Wasmer runtime</b>`wapm run [command_name] [arguments]`


title: TLDR
content:
<b>Start top-like I/O monitor</b>`sudo iotop`<br><b>Show only processes or threads actually doing I/O</b>`sudo iotop [[-o|--only]]`<br><b>Show I/O usage in non-interactive mode</b>`sudo iotop [[-b|--batch]]`<br><b>Show only I/O usage of processes (default is to show all threads)</b>`sudo iotop [[-P|--processes]]`<br><b>Show I/O usage of given PID(s)</b>`sudo iotop [[-p|--pid]] [PID]`<br><b>Show I/O usage of a given user</b>`sudo iotop [[-u|--user]] [user]`<br><b>Show accumulated I/O instead of bandwidth</b>`sudo iotop [[-a|--accumulated]]`


title: TLDR
content:
<b>Measure power with the default of 10 samples with an interval of 10 seconds</b>`powerstat`<br><b>Measure power with custom number of samples and interval duration</b>`powerstat [interval] [number_of_samples]`<br><b>Measure power using Intel's RAPL interface</b>`powerstat -R [interval] [number_of_samples]`<br><b>Show a histogram of the power measurements</b>`powerstat -H [interval] [number_of_samples]`<br><b>Enable all statistics gathering options</b>`powerstat -a [interval] [number_of_samples]`


title: TLDR
content:
<b>Bind to a specific port on localhost</b>`guacd -b [127.0.0.1] -l [4823]`<br><b>Start in debug mode, keeping the process in the foreground</b>`guacd -f -L [debug]`<br><b>Start with TLS support</b>`guacd -C [my-cert.crt] -K [my-key.pem]`<br><b>Write the PID to a file</b>`guacd -p [path/to/file.pid]`


title: TLDR
content:
<b>Initialize an unconfigured repository</b>`transcrypt`<br><b>List the currently encrypted files</b>`git ls-crypt`<br><b>Display the credentials of a configured repository</b>`transcrypt [[-d|--display]]`<br><b>Initialize and decrypt a fresh clone of a configured repository</b>`transcrypt [[-c|--cipher]] [cipher]`<br><b>Rekey to change the encryption cipher or password</b>`transcrypt [[-r|--rekey]]`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b>`ipython`<br><b>Enter an interactive IPython session after running a Python script</b>`ipython -i [script.py]`<br><b>Create default IPython profile</b>`ipython profile create`<br><b>Print the path to the directory for the default IPython profile</b>`ipython locate profile`<br><b>Clear the IPython history database, deleting all entries</b>`ipython history clear`


title: TLDR
content:
<b>Look up a character by its value</b>`chars '[ß]'`<br><b>Look up a character by its Unicode code point</b>`chars [U+1F63C]`<br><b>Look up possible characters given an ambiguous code point</b>`chars [10]`<br><b>Look up a control character</b>`chars "[^C]"`


title: TLDR
content:
<b>Format a single file</b>`uncrustify -f [path/to/file.cpp] -o [path/to/output.cpp]`<br><b>Read filenames from stdin, and take backups before writing output back to the original filepaths</b>`find . -name "*.cpp" | uncrustify -F - --replace`<br><b>Don't make backups (useful if files are under version control)</b>`find . -name "*.cpp" | uncrustify -F - --no-backup`<br><b>Use a custom configuration file and write the result to stdout</b>`uncrustify -c [path/to/uncrustify.cfg] -f [path/to/file.cpp]`<br><b>Explicitly set a configuration variable's value</b>`uncrustify --set [option]=[value]`<br><b>Generate a new configuration file</b>`uncrustify --update-config -o [path/to/new.cfg]`


title: TLDR
content:
<b>Use a specific base URL</b>`cotton -u [base_url] [path/to/file.md]`<br><b>Disable certificate verification (insecure mode)</b>`cotton -u [base_url] -i [path/to/file.md]`<br><b>Stop running when a test fails</b>`cotton -u [base_url] -s [path/to/file.md]`


title: TLDR
content:
<b>Generate a CREATE TABLE SQL statement for a CSV file</b>`csvsql [path/to/data.csv]`<br><b>Import a CSV file into an SQL database</b>`csvsql --insert --db "[mysql://user:password@host/database]" [data.csv]`<br><b>Run an SQL query on a CSV file</b>`csvsql --query "[select * from 'data']" [data.csv]`


title: TLDR
content:
<b>Generate a QR code</b>`qr "[data]"`<br><b>Specify the error correction level (defaults to M)</b>`qr --error-correction [L|M|Q|H] "[data]"`<br><b>Generate a QR code from the output of another command</b>`[command] | qr`<br><b>Save the QR code as a PNG image</b>`qr "[data]" > [path/to/file.png]`


title: TLDR
content:
<b>Take multiple screenshots of multiple URLs at different resolutions</b>`pageres [https://example.com/] [https://example2.com/] [1366x768] [1600x900]`<br><b>Provide specific options for a URL, overriding global options</b>`pageres [[https://example.com/] [1366x768] --no-crop] [[https://example2.com/] [1024x768]] [[-c|--crop]]`<br><b>Provide a custom filename template</b>`pageres [https://example.com/] [1024x768] --filename='[<%= date %> - <%= url %>]'`<br><b>Capture a specific element on a page</b>`pageres [https://example.com/] [1366x768] --selector='[.page-header]'`<br><b>Hide a specific element</b>`pageres [https://example.com/] [1366x768] --hide='[.page-header]'`<br><b>Capture a screenshot of a local file</b>`pageres [path/to/local_file.html] [1366x768]`


title: TLDR
content:
<b>Display the completed import source file</b>`goimports [path/to/file.go]`<br><b>Write the result back to the source file instead of stdout</b>`goimports -w [path/to/file.go]`<br><b>Display diffs and write the result back to the source file</b>`goimports -w -d [path/to/file.go]`<br><b>Set the import prefix string after 3rd-party packages (comma-separated list)</b>`goimports -local [path/to/package1,path/to/package2,...] [path/to/file.go]`


title: TLDR
content:
<b>Call ls -la when any file in the current directory changes</b>`watchexec [ls -la]`<br><b>Run make when any JavaScript, CSS and HTML file in the current directory changes</b>`watchexec [[-e|--exts]] [js,css,html] make`<br><b>Run make when any file in the lib or src directory changes</b>`watchexec [[-w|--watch]] [lib] [[-w|--watch]] [src] [make]`<br><b>Call/restart my_server when any file in the current directory changes, sending SIGKILL to stop the child process</b>`watchexec [[-r|--restart]] --stop-signal [SIGKILL] [my_server]`<br><b>Restart the execution of a command when any Java source file in the current directory changes, sending SIGKILL and only checking for updates every nms</b>`watchexec [[-r|--restart]] --stop-signal [SIGKILL] --poll [10000] [[-e|--exts]] [java] [command]`


title: TLDR
content:
<b>Share result of command</b>`gotty [command]`<br><b>Share with write permission</b>`gotty [[-w|--permit-write]] [shell]`<br><b>Share with credential (Basic Auth)</b>`gotty [[-w|--permit-write]] [[-c|--credential]] [username]:[password] [shell]`


title: TLDR
content:
<b>Register the Git hooks</b>`grumphp git:init`<br><b>Trigger the pre-commit hook manually</b>`grumphp git:pre-commit`<br><b>Check every versioned file</b>`grumphp run`


title: TLDR
content:
<b>Build a recursive fls list over a device, output paths will start with C</b>`fls -r -m [C:] [/dev/loop1p1]`<br><b>Analyze a single partition, providing the sector offset at which the filesystem starts in the image</b>`fls -r -m [C:] -o [sector] [path/to/image_file]`<br><b>Analyze a single partition, providing the timezone of the original system</b>`fls -r -m [C:] -z [timezone] [/dev/loop1p1]`


title: TLDR
content:
<b>Open a file in write mode without parsing the file format headers</b>`radare2 -nw [path/to/binary]`<br><b>Debug a program</b>`radare2 -d [path/to/binary]`<br><b>Run a script before entering the interactive CLI</b>`radare2 -i [path/to/script.r2] [path/to/binary]`<br><b>Display help text for any command in the interactive CLI</b>`[radare2_command]?`<br><b>Run a shell command from the interactive CLI</b>`![shell_command]`<br><b>Dump raw bytes of current block to a file</b>`> pr > [path/to/file.bin]`


title: TLDR
content:
<b>Generate a binding between C++ and Python</b>`swig -c++ -python -o [path/to/output_wrapper.cpp] [path/to/swig_file.i]`<br><b>Generate a binding between C++ and Go</b>`swig -go -cgo -intgosize 64 -c++ [path/to/swig_file.i]`<br><b>Generate a binding between C and Java</b>`swig -java [path/to/swig_file.i]`<br><b>Generate a binding between C and Ruby and prefix the Ruby module with foo::bar::</b>`swig -ruby -prefix "[foo::bar::]" [path/to/swig_file.i]`


title: TLDR
content:
<b>Recompress a directory of FLAC files</b>`reflac [path/to/directory]`<br><b>Enable maximum compression (very slow)</b>`reflac [[-8|--best]] [path/to/directory]`<br><b>Display filenames as they are processed</b>`reflac [[-v|--verbose]] [path/to/directory]`<br><b>Recurse into subdirectories</b>`reflac [[-r|--recursive]] [path/to/directory]`<br><b>Preserve file modification times</b>`reflac --preserve [path/to/directory]`


title: TLDR
content:
<b>Show all environment variables</b>`go env`<br><b>Show a specific environment variable</b>`go env [GOPATH]`<br><b>Set an environment variable to a value</b>`go env -w [GOBIN]=[path/to/directory]`<br><b>Reset an environment variable's value</b>`go env -u [GOBIN]`


title: TLDR
content:
<b>Display information on all available GPUs and processes using them</b>`nvidia-smi`<br><b>Display more detailed GPU information</b>`nvidia-smi [[-q|--query]]`<br><b>Monitor overall GPU usage with 1-second update interval</b>`nvidia-smi dmon`


title: TLDR
content:
<b>List available packages</b>`sdkmanager --list`<br><b>Install a package</b>`sdkmanager [package]`<br><b>Update every installed package</b>`sdkmanager --update`<br><b>Uninstall a package</b>`sdkmanager --uninstall [package]`


title: TLDR
content:
<b>Convert a Shapefile into a GeoPackage</b>`ogr2ogr -f GPKG [path/to/output.gpkg] [path/to/input.shp]`<br><b>Reduce a GeoJSON to features matching a condition</b>`ogr2ogr -where '[myProperty > 42]' -f [GeoJSON] [path/to/output.geojson] [path/to/input.geojson]`<br><b>Change coordinate reference system of a GeoPackage from EPSG:4326 to EPSG:3857</b>`ogr2ogr -s_srs [EPSG:4326] -t_srs [EPSG:3857] -f GPKG [path/to/output.gpkg] [path/to/input.gpkg]`<br><b>Convert a CSV file into a GeoPackage, specifying the names of the coordinate columns and assigning a coordinate reference system</b>`ogr2ogr -f GPKG [path/to/output.gpkg] [path/to/input.csv] -oo X_POSSIBLE_NAMES=[longitude] -oo Y_POSSIBLE_NAMES=[latitude] -a_srs [EPSG:4326]`<br><b>Load a GeoPackage into a PostGIS database</b>`ogr2ogr -f PostgreSQL PG:dbname="[database_name]" [path/to/input.gpkg]`<br><b>Clip layers of a GeoPackage file to the given bounding box</b>`ogr2ogr -spat [min_x] [min_y] [max_x] [max_y] -f GPKG [path/to/output.gpkg] [path/to/input.gpkg]`


title: TLDR
content:
<b>Convert to UTF-8 encoding</b>`nkf -w [path/to/file.txt]`<br><b>Convert to SHIFT_JIS encoding</b>`nkf -s [path/to/file.txt]`<br><b>Convert to UTF-8 encoding and overwrite the file</b>`nkf -w --overwrite [path/to/file.txt]`<br><b>Use LF as the new line code and overwrite (UNIX type)</b>`nkf -d --overwrite [path/to/file.txt]`<br><b>Use CRLF as the new line code and overwrite (windows type)</b>`nkf -c --overwrite [path/to/file.txt]`<br><b>Decrypt mime file and overwrite</b>`nkf -m --overwrite [path/to/file.txt]`


title: TLDR
content:
<b>Create a new Python virtualenv in $WORKON_HOME</b>`mkvirtualenv [virtualenv_name]`<br><b>Create a virtualenv for a specific Python version</b>`mkvirtualenv --python [/usr/local/bin/python3.8] [virtualenv_name]`<br><b>Activate or use a different virtualenv</b>`workon [virtualenv_name]`<br><b>Stop the virtualenv</b>`deactivate`<br><b>List all virtual environments</b>`lsvirtualenv`<br><b>Remove a virtualenv</b>`rmvirtualenv [virtualenv_name]`<br><b>Get summary of all virtualenvwrapper commands</b>`virtualenvwrapper`


title: TLDR
content:
<b>Show the content of all global and local .gitignore files</b>`git ignore`<br><b>Ignore file(s) privately, updating .git/info/exclude file</b>`git ignore [file_pattern] [[-p|--private]]`<br><b>Ignore file(s) locally, updating local .gitignore file</b>`git ignore [file_pattern]`<br><b>Ignore file(s) globally, updating global .gitignore file</b>`git ignore [file_pattern] [[-g|--global]]`


title: TLDR
content:
<b>Log in to the OpenShift Container Platform server</b>`oc login`<br><b>Create a new project</b>`oc new-project [project_name]`<br><b>Switch to an existing project</b>`oc project [project_name]`<br><b>Add a new application to a project</b>`oc new-app [repo_url] --name [application]`<br><b>Open a remote shell session to a container</b>`oc rsh [pod_name]`<br><b>List pods in a project</b>`oc get pods`<br><b>Log out from the current session</b>`oc logout`


title: TLDR
content:
<b>Send a file or directory</b>`croc send [path/to/file_or_directory]`<br><b>Send a file or directory with a specific passphrase</b>`croc send [[-c|--code]] [passphrase] [path/to/file_or_directory]`<br><b>Receive a file or directory on receiving machine</b>`croc [passphrase]`<br><b>Send and connect over a custom relay</b>`croc --relay [ip_to_relay] send [path/to/file_or_directory]`<br><b>Receive and connect over a custom relay</b>`croc --relay [ip_to_relay] [passphrase]`<br><b>Host a croc relay on the default ports</b>`croc relay`<br><b>Display parameters and options for a croc command</b>`croc [send|relay] --help`


title: TLDR
content:
<b>Start the project in the current directory</b>`fin project start`<br><b>Stop the project in the current directory</b>`fin project stop`<br><b>Open a shell into a specific container</b>`fin bash [container_name]`<br><b>Display logs of a specific container</b>`fin logs [container_name]`<br><b>Display logs of a specific container and follow the log</b>`fin logs [[-f|--follow]] [container_name]`


title: TLDR
content:
<b>Mount an encrypted filesystem. The initialization wizard will be started on the first execution</b>`cryfs [path/to/cipher_directory] [path/to/mount_point]`<br><b>Unmount an encrypted filesystem</b>`cryfs-unmount [path/to/mount_point]`<br><b>Automatically unmount after ten minutes of inactivity</b>`cryfs --unmount-idle [10] [path/to/cipher_directory] [path/to/mount_point]`<br><b>List supported ciphers</b>`cryfs --show-ciphers`


title: TLDR
content:
<b>Convert a string to a QR code and save to an output file</b>`qrencode [[-o|--output]] [path/to/output_file.png] [string]`<br><b>Convert an input file to a QR code and save to an output file</b>`qrencode [[-o|--output]] [path/to/output_file.png] [[-r|--read-from]] [path/to/input_file]`<br><b>Convert a string to a QR code and print it in terminal</b>`qrencode [[-t|--type]] ansiutf8 [string]`<br><b>Convert input from pipe to a QR code and print it in terminal</b>`echo [string] | qrencode [[-t|--type]] ansiutf8`


title: TLDR
content:
<b>Initialize it inside an existing Git repository</b>`git flow init`<br><b>Start developing on a feature branch based on develop</b>`git flow feature start [feature]`<br><b>Finish development on a feature branch, merging it into the develop branch and deleting it</b>`git flow feature finish [feature]`<br><b>Publish a feature to the remote server</b>`git flow feature publish [feature]`<br><b>Get a feature published by another user</b>`git flow feature pull origin [feature]`


title: TLDR
content:
<b>Decode a JWT</b>`jwt decode [jwt_string]`<br><b>Decode a JWT as a JSON string</b>`jwt decode [[-j|--json]] [jwt_string]`<br><b>Encode a JSON string to a JWT</b>`jwt encode [[-A|--alg]] [HS256] [[-S|--secret]] [1234567890] '[json_string]'`<br><b>Encode key pair payload to JWT</b>`jwt encode [[-A|--alg]] [HS256] [[-S|--secret]] [1234567890] [[-P|--payload]] [key=value]`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b>`sbt`<br><b>Create a new Scala project from an existing Giter8 template hosted on GitHub</b>`sbt new [scala/hello-world.g8]`<br><b>Compile and run all tests</b>`sbt test`<br><b>Delete all generated files in the target directory</b>`sbt clean`<br><b>Compile the main sources in src/main/scala and src/main/java directories</b>`sbt compile`<br><b>Use the specified version of sbt</b>`sbt -sbt-version [version]`<br><b>Use a specific jar file as the sbt launcher</b>`sbt -sbt-jar [path]`<br><b>List all sbt options</b>`sbt -h`


title: TLDR
content:
<b>Generate tags for a single file, and output them to a file named "tags" in the current directory, overwriting the file if it exists</b>`ctags [path/to/file]`<br><b>Generate tags for all files in the current directory, and output them to a specific file, overwriting the file if it exists</b>`ctags -f [path/to/file] *`<br><b>Generate tags for all files in the current directory and all subdirectories</b>`ctags --recurse`<br><b>Generate tags for a single file, and output them with start line number and end line number in JSON format</b>`ctags --fields=+ne --output-format=json [path/to/file]`


title: TLDR
content:
<b>Show example usage of a command</b>`cheat [command]`<br><b>Edit the cheat sheet for a command</b>`cheat [[-e|--edit]] [command]`<br><b>List the available cheat sheets</b>`cheat [[-l|--list]]`<br><b>Search available the cheat sheets for a specified command name</b>`cheat [[-s|--search]] [command]`<br><b>Display version</b>`cheat [[-v|--version]]`


title: TLDR
content:
<b>Select pages 1, 2, 3 and 6 from a source document and write those to a destination document</b>`cpdf [path/to/source_document.pdf] [1-3,6] -o [path/to/destination_document.pdf]`<br><b>Merge two documents into a new one</b>`cpdf -merge [path/to/source_document_one.pdf] [path/to/source_document_two.pdf] -o [path/to/destination_document.pdf]`<br><b>Show the bookmarks of a document</b>`cpdf -list-bookmarks [path/to/document.pdf]`<br><b>Split a document into ten-page chunks, writing them to chunk001.pdf, chunk002.pdf, etc</b>`cpdf -split [path/to/document.pdf] -o [path/to/chunk%%%.pdf] -chunk [10]`<br><b>Encrypt a document using 128bit encryption, providing fred as owner password and joe as user password</b>`cpdf -encrypt [128bit] [fred] [joe] [path/to/source_document.pdf] -o [path/to/encrypted_document.pdf]`<br><b>Decrypt a document using the owner password fred</b>`cpdf -decrypt [path/to/encrypted_document.pdf] owner=[fred] -o [path/to/decrypted_document.pdf]`<br><b>Show the annotations of a document</b>`cpdf -list-annotations [path/to/document.pdf]`<br><b>Create a new document from an existing one with additional metadata</b>`cpdf -set-metadata [path/to/metadata.xml] [path/to/source_document.pdf] -o [path/to/destination_document.pdf]`


title: TLDR
content:
<b>Detect unused secrets</b>`k8s-unused-secret-detector`<br><b>Detect unused secrets in a specific namespace</b>`k8s-unused-secret-detector [[-n|--namespace]] [namespace]`<br><b>Delete unused secrets in a specific namespace</b>`k8s-unused-secret-detector [[-n|--namespace]] [namespace] | kubectl delete secrets [[-n|--namespace]] [namespace]`


title: TLDR
content:
<b>Connect to a host</b>`evil-winrm [[-i|--ip]] [ip] [[-u|--user]] [user] [[-p|--password]] [password]`<br><b>Connect to a host using pass-the-hash authentication instead of a password</b>`evil-winrm [[-i|--ip]] [ip] [[-u|--user]] [user] [[-H|--hash]] [nt_hash]`<br><b>Connect to a host, specifying directories for PowerShell scripts and executables</b>`evil-winrm [[-i|--ip]] [ip] [[-u|--user]] [user] [[-p|--password]] [password] [[-s|--scripts]] [path/to/scripts] [[-e|--executables]] [path/to/executables]`<br><b>Connect to a host, using SSL</b>`evil-winrm [[-i|--ip]] [ip] [[-u|--user]] [user] [[-p|--password]] [password] [[-S|--ssl]] [[-c|--pub-key]] [path/to/pubkey] [[-k|--priv-key]] [path/to/privkey]`<br><b>Upload a file to the host</b>`PS > upload [path/to/local_file] [path/to/remote_file]`<br><b>List all loaded PowerShell functions</b>`PS > menu`<br><b>Load a PowerShell script from the --scripts directory</b>`PS > [script.ps1]`<br><b>Invoke a binary on the host from the --executables directory</b>`PS > Invoke-Binary [binary.exe]`


title: TLDR
content:
<b>Print the hexadecimal representation of a file</b>`hexyl [path/to/file]`<br><b>Print the hexadecimal representation of the first n bytes of a file</b>`hexyl [[-n|--length]] [n] [path/to/file]`


title: TLDR
content:
<b>View documentation for the JSON serializer</b>`tldr jc.json`<br><b>View documentation for the autojump alias</b>`tldr autojump`


title: TLDR
content:
<b>Validate a specific file</b>`html5validator [path/to/file]`<br><b>Validate all HTML files in a specific directory</b>`html5validator --root [path/to/directory]`<br><b>Show warnings as well as errors</b>`html5validator --show-warnings [path/to/file]`<br><b>Match multiple files using a glob pattern</b>`html5validator --root [path/to/directory] --match "[*.html *.php]"`<br><b>Ignore specific directory names</b>`html5validator --root [path/to/directory] --blacklist "[node_modules vendor]"`<br><b>Output the results in a specific format</b>`html5validator --format [gnu|xml|json|text] [path/to/file]`<br><b>Output the log at a specific verbosity level</b>`html5validator --root [path/to/directory] --log [debug|info|warning]`


title: TLDR
content:
<b>Create a model with 3 fields and a migration file</b>`sequelize model:generate --name [table_name] --attributes [field1:integer,field2:string,field3:boolean]`<br><b>Run the migration file</b>`sequelize db:migrate`<br><b>Revert all migrations</b>`sequelize db:migrate:undo:all`<br><b>Create a seed file with the specified name to populate the database</b>`sequelize seed:generate --name [seed_filename]`<br><b>Populate database using all seed files</b>`sequelize db:seed:all`


title: TLDR
content:
<b>Tail all files matching a pattern in a single stream</b>`multitail -Q 1 '[pattern]'`<br><b>Tail all files in a directory in a single stream</b>`multitail -Q 1 '[path/to/directory]/*'`<br><b>Automatically add new files to a window</b>`multitail -Q [pattern]`<br><b>Show 5 logfiles while merging 2 and put them in 2 columns with only one in the left column</b>`multitail -s 2 -sn 1,3 [path/to/mergefile] -I [path/to/file1] [path/to/file2] [path/to/file3] [path/to/file4]`


title: TLDR
content:
<b>Start a REPL (interactive shell, also known as Read-Eval-Print Loop)</b>`deno`<br><b>Start a new project named sample and test it</b>`deno init sample && cd sample && deno test`<br><b>Run a file securely. It will ask (if needed) to allow net, read, etc</b>`deno run [path/to/file.ts]`<br><b>Run a file with explicit permissions or allow all (only if you trust the source)</b>`deno run [[--allow-env|--allow-net|--allow-write|--allow-all]] [jsr:@deno/deployctl]`<br><b>List and run tasks from deno.json or scripts from package.json</b>`deno task`<br><b>Install dependencies listed in deno.json or package.json (also lock files)</b>`deno install`<br><b>Check types, format, and lint (fix if possible)</b>`deno check && deno fmt && deno lint --fix`<br><b>Compile the script, imported dependencies, and runtime into a self contained executable</b>`deno compile [path/to/file.ts]`


title: TLDR
content:
<b>Download a file</b>`rtmpdump [[-r|--rtmp]] [rtmp://example.com/path/to/video] [[-o|--flv]] [file.ext]`<br><b>Download a file from a Flash player</b>`rtmpdump [[-r|--rtmp]] [rtmp://example.com/path/to/video] [[-W|--swfVfy]] [http://example.com/player] [[-f|--flashVer]] "[LNX 10,0,32,18]" [[-o|--flv]] [file.ext]`<br><b>Specify connection parameters if they are not detected correctly</b>`rtmpdump [[-r|--rtmp]] [rtmp://example.com/path/to/video] [[-a|--app]] [app_name] [[-y|--playpath]] [path/to/video] [[-o|--flv]] [file.ext]`<br><b>Download a file from a server that requires a referrer</b>`rtmpdump [[-r|--rtmp]] [rtmp://example.com/path/to/video] [[-p|--pageUrl]] [http://example.com/webpage] [[-o|--flv]] [file.ext]`


title: TLDR
content:
<b>List available commands</b>`robo list`<br><b>Run a specific command</b>`robo [command]`<br><b>Simulate running a specific command</b>`robo --simulate [command]`


title: TLDR
content:
<b>List supported formats</b>`ogrinfo --formats`<br><b>List layers of a data source</b>`ogrinfo [path/to/input.gpkg]`<br><b>Get detailed information about a specific layer of a data source</b>`ogrinfo [path/to/input.gpkg] [layer_name]`<br><b>Show summary information about a specific layer of a data source</b>`ogrinfo -so [path/to/input.gpkg] [layer_name]`<br><b>Show summary of all layers of the data source</b>`ogrinfo -so -al [path/to/input.gpkg]`<br><b>Show detailed information of features matching a condition</b>`ogrinfo -where '[attribute_name > 42]' [path/to/input.gpkg] [layer_name]`<br><b>Update a layer in the data source with SQL</b>`ogrinfo [path/to/input.geojson] -dialect SQLite -sql "[UPDATE input SET attribute_name = 'foo']"`


title: TLDR
content:
<b>Follow the logs of activity on the account</b>`stripe logs tail`<br><b>Listen for events, filtering on events with the name charge.succeeded and forwarding them to localhost:3000/events</b>`stripe listen --events="[charge.succeeded]" --forward-to="[localhost:3000/events]"`<br><b>Send a test webhook event</b>`stripe trigger [charge.succeeded]`<br><b>Create a customer</b>`stripe customers create --email="[test@example.com]" --name="[Jenny Rosen]"`<br><b>Print to JSON</b>`stripe listen --print-json`


title: TLDR
content:
<b>Display the partition table stored in an image file</b>`mmls [path/to/image_file]`<br><b>Display the partition table with an additional column for the partition size</b>`mmls -B -i [path/to/image_file]`<br><b>Display the partition table in a split EWF image</b>`mmls -i ewf [image.e01] [image.e02]`<br><b>Display nested partition tables</b>`mmls -t [nested_table_type] -o [offset] [path/to/image_file]`


title: TLDR
content:
<b>Send a file</b>`wormhole send [path/to/file]`<br><b>Receive a file</b>`wormhole receive [wormhole_code]`<br><b>Send raw text</b>`wormhole send`<br><b>Send a file with a custom code phrase</b>`wormhole send --code [custom_code] [path/to/file]`


title: TLDR
content:
<b>Decode an APK file</b>`apktool d [path/to/file.apk]`<br><b>Build an APK file from a directory</b>`apktool b [path/to/directory]`<br><b>Install and store a framework</b>`apktool if [path/to/framework.apk]`


title: TLDR
content:
<b>Install Ghost in the current directory</b>`ghost install`<br><b>Start an instance of Ghost</b>`ghost start`<br><b>Restart the Ghost instance</b>`ghost restart`<br><b>Check the system for any potential hiccups while installing or updating Ghost</b>`ghost doctor`<br><b>View the logs of a Ghost instance</b>`ghost log [name]`<br><b>Run a Ghost instance directly (used by process managers and for debugging)</b>`ghost run`<br><b>View running Ghost processes</b>`ghost ls`<br><b>View or edit Ghost configuration</b>`ghost config [key] [value]`


title: TLDR
content:
<b>Start a new Alacritty process and create a window</b>`alacritty`<br><b>Start the Alacritty daemon (without creating a window)</b>`alacritty --daemon`<br><b>Create a new window using the already running Alacritty process</b>`alacritty msg create-window`<br><b>Start the shell in a specific directory (also works with alacritty msg create-window)</b>`alacritty --working-directory [path/to/directory]`<br><b>Execute a command in a new Alacritty window (also works with alacritty msg create-window)</b>`alacritty [[-e|--command]] [command]`<br><b>Use an alternative configuration file (defaults to $XDG_CONFIG_HOME/alacritty/alacritty.toml)</b>`alacritty --config-file [path/to/config.toml]`


title: TLDR
content:
<b>Send the changes to Differential for review</b>`arc diff`<br><b>Show pending revision information</b>`arc list`<br><b>Update Git commit messages after review</b>`arc amend`<br><b>Push Git changes</b>`arc land`


title: TLDR
content:
<b>Add a safe target</b>`safe target [vault_addr] [target_name]`<br><b>Authenticate the CLI client against the Vault server, using an authentication token</b>`safe auth [authentication_token]`<br><b>Print the environment variables describing the current target</b>`safe env`<br><b>Display a tree hierarchy of all reachable keys for a given path</b>`safe tree [path]`<br><b>Move a secret from one path to another</b>`safe move [path/to/old_secret] [path/to/new_secret]`<br><b>Generate a new 2048-bit SSH key-pair and store it</b>`safe ssh [2048] [path/to/secret]`<br><b>Set non-sensitive keys for a secret</b>`safe set [path/to/secret] [key]=[value]`<br><b>Set auto-generated password in a secret</b>`safe gen [path/to/secret] [key]`


title: TLDR
content:
<b>Copy a disk to a raw image file and hash the image using SHA256</b>`dcfldd if=[/dev/disk_device] of=[file.img] hash=sha256 hashlog=[file.hash]`<br><b>Copy a disk to a raw image file, hashing each 1 GB chunk</b>`dcfldd if=[/dev/disk_device] of=[file.img] hash=[sha512|sha384|sha256|sha1|md5] hashlog=[file.hash] hashwindow=[1G]`


title: TLDR
content:
<b>Build a Docker image using the Dockerfile in the current directory</b>`docker build .`<br><b>Build a Docker image from a Dockerfile at a specified URL</b>`docker build [github.com/creack/docker-firefox]`<br><b>Build a Docker image and tag it</b>`docker build [[-t|--tag]] [name:tag] .`<br><b>Build a Docker image with no build context</b>`docker < [Dockerfile] build [[-t|--tag]] [name:tag] -`<br><b>Do not use the cache when building the image</b>`docker build --no-cache [[-t|--tag]] [name:tag] .`<br><b>Build a Docker image using a specific Dockerfile</b>`docker build [[-f|--file]] [Dockerfile] .`<br><b>Build with custom build-time variables</b>`docker build --build-arg [HTTP_PROXY=http://10.20.30.2:1234] --build-arg [FTP_PROXY=http://40.50.60.5:4567] .`


title: TLDR
content:
<b>Log in to the balenaCloud account</b>`balena login`<br><b>Create a balenaCloud or openBalena application</b>`balena app create [app_name]`<br><b>List all balenaCloud or openBalena applications within the account</b>`balena apps`<br><b>List all devices associated with the balenaCloud or openBalena account</b>`balena devices`<br><b>Flash a balenaOS image to a local drive</b>`balena local flash [path/to/balenaos.img] --drive [drive_location]`


title: TLDR
content:
<b>Find broken links on <https://example.com/></b>`linkchecker [https://example.com/]`<br><b>Also check URLs that point to external domains</b>`linkchecker --check-extern [https://example.com/]`<br><b>Ignore URLs that match a specific regex</b>`linkchecker --ignore-url [regex] [https://example.com/]`<br><b>Output results to a CSV file</b>`linkchecker --file-output [csv]/[path/to/file] [https://example.com/]`


title: TLDR
content:
<b>List packages</b>`go list ./...`<br><b>List standard packages</b>`go list std`<br><b>List packages in JSON format</b>`go list -json time net/http`<br><b>List module dependencies and available updates</b>`go list -m -u all`


title: TLDR
content:
<b>Scan a web server for common paths with common extensions</b>`dirsearch [[-u|--url]] [url] --extensions-list`<br><b>Scan a list of web servers for common paths with given file extensions</b>`dirsearch [[-l|--url-list]] [path/to/url-list.txt] [[-e|--extensions]] [php,jsp,aspx,...]`<br><b>Scan a web server for user-defined paths with common extensions</b>`dirsearch [[-u|--url]] [url] --extensions-list [[-w|--wordlists]] [path/to/url-paths1.txt,path/to/url-paths2.txt,...]`<br><b>Scan a web server using a cookie</b>`dirsearch [[-u|--url]] [url] [[-e|--extensions]] [php] --cookie [cookie]`<br><b>Scan a web server using the HEAD HTTP method</b>`dirsearch [[-u|--url]] [url] [[-e|--extensions]] [php] [[-m|--http-method]] [HEAD]`<br><b>Scan a web server, saving the results to a .json file</b>`dirsearch [[-u|--url]] [url] [[-e|--extensions]] [php] --json-report [path/to/report.json]`


title: TLDR
content:
<b>Generate a text report from a specific profiling file, on fibbo binary</b>`pprof -top [./fibbo] [./fibbo-profile.pb.gz]`<br><b>Generate a graph and open it on a web browser</b>`pprof -svg [./fibbo] [./fibbo-profile.pb.gz]`<br><b>Run pprof in interactive mode to be able to manually launch pprof on a file</b>`pprof [./fibbo] [./fibbo-profile.pb.gz]`<br><b>Run a web server that serves a web interface on top of pprof</b>`pprof -http=[localhost:8080] [./fibbo] [./fibbo-profile.pb.gz]`<br><b>Fetch a profile from an HTTP server and generate a report</b>`pprof [http://localhost:8080/debug/pprof]`


title: TLDR
content:
<b>Create a binary from a source file</b>`ocamlc [path/to/source_file.ml]`<br><b>Create a named binary from a source file</b>`ocamlc -o [path/to/binary] [path/to/source_file.ml]`<br><b>Automatically generate a module signature (interface) file</b>`ocamlc -i [path/to/source_file.ml]`


title: TLDR
content:
<b>Initialize new module in current directory</b>`go mod init [moduleName]`<br><b>Download modules to local cache</b>`go mod download`<br><b>Add missing and remove unused modules</b>`go mod tidy`<br><b>Verify dependencies have expected content</b>`go mod verify`<br><b>Copy sources of all dependencies into the vendor directory</b>`go mod vendor`


title: TLDR
content:
<b>Copy a single file (open an editor with the source filename on the left and the target filename on the right)</b>`qcp [source_file]`<br><b>Copy multiple JPEG files</b>`qcp [*.jpg]`<br><b>Copy files, but swap the positions of the source and the target filenames in the editor</b>`qcp [[-o|--option]] swap [*.jpg]`


title: TLDR
content:
<b>Turn a notebook into a paired .ipynb/.py notebook</b>`jupytext --set-formats ipynb,py [notebook.ipynb]`<br><b>Convert a notebook to a .py file</b>`jupytext --to py [notebook.ipynb]`<br><b>Convert a .py file to a notebook with no outputs</b>`jupytext --to notebook [notebook.py]`<br><b>Convert a .md file to a notebook and run it</b>`jupytext --to notebook --execute [notebook.md]`<br><b>Update the input cells in a notebook and preserve outputs and metadata</b>`jupytext --update --to notebook [notebook.py]`<br><b>Update all paired representations of a notebook</b>`jupytext --sync [notebook.ipynb]`


title: TLDR
content:
<b>Read OCaml commands from the user and execute them</b>`ocaml`<br><b>Read OCaml commands from a file and execute them</b>`ocaml [path/to/file.ml]`<br><b>Run OCaml script with modules</b>`ocaml [module1] [module2] [path/to/file.ml]`


title: TLDR
content:
<b>Create a database cluster at /usr/local/var/postgres</b>`initdb [[-D|--pgdata]] /usr/local/var/postgres`


title: TLDR
content:
<b>Update the vulnerability database</b>`wpscan --update`<br><b>Scan a WordPress website</b>`wpscan --url [url]`<br><b>Scan a WordPress website, using random user agents and passive detection</b>`wpscan --url [url] --stealthy`<br><b>Scan a WordPress website, checking for vulnerable plugins and specifying the path to the wp-content directory</b>`wpscan --url [url] --enumerate [vp] --wp-content-dir [remote/path/to/wp-content]`<br><b>Scan a WordPress website through a proxy</b>`wpscan --url [url] --proxy [protocol://ip:port] --proxy-auth [username:password]`<br><b>Perform user identifiers enumeration on a WordPress website</b>`wpscan --url [url] --enumerate [u]`<br><b>Execute a password guessing attack on a WordPress website</b>`wpscan --url [url] --usernames [username|path/to/usernames.txt] --passwords [path/to/passwords.txt] threads [20]`<br><b>Scan a WordPress website, collecting vulnerability data from the WPVulnDB (<https://wpvulndb.com/>)</b>`wpscan --url [url] --api-token [token]`


title: TLDR
content:
<b>Render diagrams to default format (PNG)</b>`plantuml [diagram1.puml] [diagram2.puml]`<br><b>Render a diagram in given format (e.g. png, pdf, svg, txt)</b>`plantuml -t [format] [diagram.puml]`<br><b>Render all diagrams of a directory</b>`plantuml [path/to/diagrams]`<br><b>Render a diagram to the output directory</b>`plantuml -o [path/to/output] [diagram.puml]`<br><b>Render a diagram without storing the diagram's source code (Note: It's stored by default when the -nometadata option isn't specified)</b>`plantuml -nometadata [diagram.png] > [diagram.puml]`<br><b>Retrieve source from a plantuml diagram's metadata</b>`plantuml -metadata [diagram.png] > [diagram.puml]`<br><b>Render a diagram with the configuration file</b>`plantuml -config [config.cfg] [diagram.puml]`<br><b>Display help</b>`plantuml -help`


title: TLDR
content:
<b>Install a specific version of Node.js</b>`fnm [[i|install]] [node_version]`<br><b>Install Node.js LTS</b>`fnm [[i|install]] --lts`<br><b>List all available Node.js versions and highlight the default one</b>`fnm [[ls|list]]`<br><b>Use a specific version of Node.js in the current shell</b>`fnm use [node_version]`<br><b>Set the default Node.js version</b>`fnm default [node_version]`<br><b>Uninstall a given Node.js version</b>`fnm [[uni|uninstall]] [node_version]`


title: TLDR
content:
<b>Build a specific app</b>`fdroid build [app_id]`<br><b>Build a specific app in a build server VM</b>`fdroid build [app_id] --server`<br><b>Publish the app to the local repository</b>`fdroid publish [app_id]`<br><b>Install the app on every connected device</b>`fdroid install [app_id]`<br><b>Check if the metadata is formatted correctly</b>`fdroid lint --format [app_id]`<br><b>Fix the formatting automatically (if possible)</b>`fdroid rewritemeta [app_id]`


title: TLDR
content:
<b>Show the status of nodes in the cluster</b>`nomad node status`<br><b>Validate a job file</b>`nomad job validate [path/to/file.nomad]`<br><b>Plan a job for execution on the cluster</b>`nomad job plan [path/to/file.nomad]`<br><b>Run a job on the cluster</b>`nomad job run [path/to/file.nomad]`<br><b>Show the status of jobs currently running on the cluster</b>`nomad job status`<br><b>Show the detailed status information about a specific job</b>`nomad job status [job_name]`<br><b>Follow the logs of a specific allocation</b>`nomad alloc logs [alloc_id]`<br><b>Show the status of storage volumes</b>`nomad volume status`


title: TLDR
content:
<b>Create a new Laravel Zero application</b>`laravel-zero new [name]`<br><b>Update the installer to the latest version</b>`laravel-zero self-update`<br><b>List the available installer commands</b>`laravel-zero list`


title: TLDR
content:
<b>Enable [a]synchronous scrolling</b>`cmatrix -a`<br><b>Change the text [C]olor (green by default)</b>`cmatrix -C [red]`<br><b>Enable [r]ainbow mode</b>`cmatrix -r`<br><b>Use a screen [u]pdate delay of 100 centiseconds (1 second)</b>`cmatrix -u 100`<br><b>Use [s]creensaver mode where the first keystroke exits</b>`cmatrix -s`


title: TLDR
content:
<b>Fetch the F-Droid index</b>`fdroidcl update`<br><b>Display information about an app</b>`fdroidcl show [app_id]`<br><b>Download the APK file of an app</b>`fdroidcl download [app_id]`<br><b>Search for an app in the index</b>`fdroidcl search [search_pattern]`<br><b>Install an app on a connected device</b>`fdroidcl install [app_id]`<br><b>Add a repository</b>`fdroidcl repo add [repo_name] [url]`<br><b>Remove, enable or disable a repository</b>`fdroidcl repo [remove|enable|disable] [repo_name]`


title: TLDR
content:
<b>Log into a Gitea server</b>`tea login add --name "[name]" --url "[url]" --token "[token]"`<br><b>Display all repositories</b>`tea repos ls`<br><b>Display a list of issues</b>`tea issues ls`<br><b>Display a list of issues for a specific repository</b>`tea issues ls --repo "[repository]"`<br><b>Create a new issue</b>`tea issues create --title "[title]" --body "[body]"`<br><b>Display a list of open pull requests</b>`tea pulls ls`<br><b>Open the current repository in a browser</b>`tea open`


title: TLDR
content:
<b>Generate documentation for Java source code and save the result in a directory</b>`javadoc -d [path/to/directory]/ [path/to/java_source_code]`<br><b>Generate documentation with a specific encoding</b>`javadoc -docencoding [UTF-8] [path/to/java_source_code]`<br><b>Generate documentation excluding some packages</b>`javadoc -exclude [package_list] [path/to/java_source_code]`


title: TLDR
content:
<b>Create a new Middleman project</b>`middleman init "[project_name]"`<br><b>Start local server for current project on port 4567</b>`middleman server`<br><b>Start local server for current project on a specified port</b>`middleman server -p "[port]"`<br><b>Build the project in the current directory to prepare for deployment</b>`bundle exec middleman build`<br><b>Deploy the Middleman project in the current directory</b>`middleman deploy`


title: TLDR
content:
<b>Install a module</b>`drupal module:install [module_name]`<br><b>Uninstall a module</b>`drupal module:uninstall [module_name]`<br><b>Clear all caches</b>`drupal cache:rebuild`<br><b>View current Drupal installation status</b>`drupal site:status`


title: TLDR
content:
<b>Move a single file (open an editor with the source filename on the left and the target filename on the right)</b>`qmv [source_file]`<br><b>Move multiple JPEG files</b>`qmv [*.jpg]`<br><b>Move multiple directories</b>`qmv [[-d|--directory]] [path/to/directory1 path/to/directory2 path/to/directory3 ...]`<br><b>Move all files and directories inside a directory</b>`qmv [[-R|--recursive]] [path/to/directory]`<br><b>Move files, but swap the positions of the source and the target filenames in the editor</b>`qmv [[-o|--option]] swap [*.jpg]`<br><b>Rename all files and folders in the current directory, but show only target filenames in the editor (you can think of it as a kind of simple mode)</b>`qmv [[-f|--format]] do .`


title: TLDR
content:
<b>Generate a string of three random phrases containing an adjective, a past tense verb and a plural noun</b>`buzzphrase`<br><b>Print a phrase formatted as [i]mperative verb + past tense [v]erb + [a]djective + plural [N]oun</b>`buzzphrase '[{i} {v} {a} {N]}'`<br><b>Print k phrases formatted as present participle [V]erb + [a]djective + singular [n]oun + [f]inal</b>`buzzphrase [k] '[{V} {a} {n} {f]}'`


title: TLDR
content:
<b>Align the data of a Zip file on 4-byte boundaries</b>`zipalign [4] [path/to/input.zip] [path/to/output.zip]`<br><b>Check that a Zip file is correctly aligned on 4-byte boundaries and display the results in a verbose manner</b>`zipalign -v -c [4] [path/to/input.zip]`


title: TLDR
content:
<b>Generate an RSA private key of 2048 bits to stdout</b>`openssl genrsa`<br><b>Save an RSA private key of an arbitrary number of bits to the output file</b>`openssl genrsa -out [output_file.key] [1234]`<br><b>Generate an RSA private key and encrypt it with AES256 (you will be prompted for a passphrase)</b>`openssl genrsa [-aes256]`


title: TLDR
content:
<b>Build in the current directory</b>`ninja`<br><b>Build in the current directory, executing 4 jobs at a time in parallel</b>`ninja -j [4]`<br><b>Build a program in a given directory</b>`ninja -C [path/to/directory]`<br><b>Show targets (e.g. install and uninstall)</b>`ninja -t targets`<br><b>Display help</b>`ninja -h`


title: TLDR
content:
<b>Archive 1 or more files</b>`rar a [path/to/archive_name.rar] [path/to/file1 path/to/file2 path/to/file3 ...]`<br><b>Archive a directory</b>`rar a [path/to/archive_name.rar] [path/to/directory]`<br><b>Split the archive into parts of equal size (50M)</b>`rar a -v[50M] -R [path/to/archive_name.rar] [path/to/file_or_directory]`<br><b>Password protect the resulting archive</b>`rar a -p[password] [path/to/archive_name.rar] [path/to/file_or_directory]`<br><b>Encrypt file data and headers with password</b>`rar a -hp[password] [path/to/archive_name.rar] [path/to/file_or_directory]`<br><b>Use a specific compression level (0-5)</b>`rar a -m[compression_level] [path/to/archive_name.rar] [path/to/file_or_directory]`


title: TLDR
content:
<b>Sync two directories (creates log first time these two directories are synchronized)</b>`unison [path/to/directory_1] [path/to/directory_2]`<br><b>Automatically accept the (non-conflicting) defaults</b>`unison [path/to/directory_1] [path/to/directory_2] -auto`<br><b>Ignore some files using a pattern</b>`unison [path/to/directory_1] [path/to/directory_2] -ignore [pattern]`<br><b>View documentation</b>`unison -doc [topics]`


title: TLDR
content:
<b>Create a torrent with 2^21 KB as the piece size</b>`mktorrent [[-a|--announce]] [tracker_announce_url] [[-l|--piece-length]] [21] [[-o|--output]] [path/to/example.torrent] [path/to/file_or_directory]`<br><b>Create a private torrent with a 2^21 KB piece size</b>`mktorrent [[-p|--private]] [[-a|--announce]] [tracker_announce_url] [[-l|--piece-length]] [21] [[-o|--output]] [path/to/example.torrent] [path/to/file_or_directory]`<br><b>Create a torrent with a comment</b>`mktorrent [[-c|--comment]] "[comment]" [[-a|--announce]] [tracker_announce_url] [[-l|--piece-length]] [21] [[-o|--output]] [path/to/example.torrent] [path/to/file_or_directory]`<br><b>Create a torrent with multiple trackers</b>`mktorrent [[-a|--announce]] [tracker_announce_url,tracker_announce_url_2] [[-l|--piece-length]] [21] [[-o|--output]] [path/to/example.torrent] [path/to/file_or_directory]`<br><b>Create a torrent with web seed URLs</b>`mktorrent [[-a|--announce]] [tracker_announce_url] -w [web_seed_url] [[-l|--piece-length]] [21] [[-o|--output]] [path/to/example.torrent] [path/to/file_or_directory]`


title: TLDR
content:
<b>View documentation for the traditional builder</b>`tldr nix-build.2`<br><b>View documentation for nix3 builder</b>`tldr nix build.3`


title: TLDR
content:
<b>Print logs from a container</b>`docker logs [container_name]`<br><b>Print logs and follow them</b>`docker logs [[-f|--follow]] [container_name]`<br><b>Print last 5 lines</b>`docker logs [container_name] [[-n|--tail]] [5]`<br><b>Print logs and append them with timestamps</b>`docker logs [[-t|--timestamps]] [container_name]`<br><b>Print logs from a certain point in time of container execution (i.e. 23m, 10s, 2013-01-02T13:23:37)</b>`docker logs [container_name] --until [time]`


title: TLDR
content:
<b>Auto-format a file or entire directory</b>`black [path/to/file_or_directory]`<br><b>Format the code passed in as a string</b>`black [[-c|--code]] "[code]"`<br><b>Show whether a file or a directory would have changes made to them if they were to be formatted</b>`black --check [path/to/file_or_directory]`<br><b>Show changes that would be made to a file or a directory without performing them (dry-run)</b>`black --diff [path/to/file_or_directory]`<br><b>Auto-format a file or directory, emitting exclusively error messages to stderr</b>`black [[-q|--quiet]] [path/to/file_or_directory]`<br><b>Auto-format a file or directory without replacing single quotes with double quotes (adoption helper, avoid using this for new projects)</b>`black [[-S|--skip-string-normalization]] [path/to/file_or_directory]`


title: TLDR
content:
<b>Run a Chisel server</b>`chisel server`<br><b>Run a Chisel server listening to a specific port</b>`chisel server [[-p|--port]] [server_port]`<br><b>Run a chisel server that accepts authenticated connections using username and password</b>`chisel server --auth [username]:[password]`<br><b>Connect to a Chisel server and tunnel a specific port to a remote server and port</b>`chisel client [server_ip]:[server_port] [local_port]:[remote_server]:[remote_port]`<br><b>Connect to a Chisel server and tunnel a specific host and port to a remote server and port</b>`chisel client [server_ip]:[server_port] [local_host]:[local_port]:[remote_server]:[remote_port]`<br><b>Connect to a Chisel server using username and password authentication</b>`chisel client --auth [username]:[password] [server_ip]:[server_port] [local_port]:[remote_server]:[remote_port]`<br><b>Initialize a Chisel server in reverse mode on a specific port, also enabling SOCKS5 proxy (on port 1080) functionality</b>`chisel server [[-p|--port]] [server_port] --reverse --socks5`<br><b>Connect to a Chisel server at specific IP and port, creating a reverse tunnel mapped to a local SOCKS proxy</b>`chisel client [server_ip]:[server_port] R:socks`


title: TLDR
content:
<b>Generate a random password (8 to 10 characters long, containing letters and numbers)</b>`makepasswd`<br><b>Generate a 10 characters long password</b>`makepasswd --chars [10]`<br><b>Generate a 5 to 10 characters long password</b>`makepasswd --minchars [5] --maxchars [10]`<br><b>Generate a password containing only the characters "b", "a" or "r"</b>`makepasswd --string [bar]`


title: TLDR
content:
<b>View documentation for the current package</b>`go doc`<br><b>Show package documentation and exported symbols</b>`go doc [encoding/json]`<br><b>Show also documentation of symbols</b>`go doc -all [encoding/json]`<br><b>Show also sources</b>`go doc -all -src [encoding/json]`<br><b>Show a specific symbol</b>`go doc -all -src [encoding/json.Number]`


title: TLDR
content:
<b>Compile a 'package main' file (output will be the filename without extension)</b>`go build [path/to/main.go]`<br><b>Compile, specifying the output filename</b>`go build -o [path/to/binary] [path/to/source.go]`<br><b>Compile a package</b>`go build -o [path/to/binary] [path/to/package]`<br><b>Compile a main package into an executable, enabling data race detection</b>`go build -race -o [path/to/executable] [path/to/main_package]`


title: TLDR
content:
<b>Create a new virtual machine or update an existing one (if available)</b>`makebuildserver`<br><b>Force creating a fresh virtual machine</b>`makebuildserver [[-c|--clean]]`


title: TLDR
content:
<b>Search for an exact string in a file</b>`fgrep [search_string] [path/to/file]`<br><b>Search only lines that match entirely in one or more files</b>`fgrep [[-x|--line-regexp]] [search_string] [path/to/file1 path/to/file2 ...]`<br><b>Count the number of lines that match the given string in a file</b>`fgrep [[-c|--count]] [search_string] [path/to/file]`<br><b>Show the line number in the file along with the line matched</b>`fgrep [[-n|--line-number]] [search_string] [path/to/file]`<br><b>Display all lines except those that contain the search string</b>`fgrep [[-v|--invert-match]] [search_string] [path/to/file]`<br><b>Display filenames whose content matches the search string at least once</b>`fgrep [[-l|--files-with-matches]] [search_string] [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>List all routes</b>`rails routes`<br><b>List all routes in an expanded format</b>`rails routes [[-E|--expanded]]`<br><b>List routes partially matching URL helper method name, HTTP verb, or URL path</b>`rails routes [[-g|--grep]] [posts_path|GET|/posts]`<br><b>List routes that map to a specified controller</b>`rails routes [[-c|--controller]] [posts|Posts|Blogs::PostsController]`


title: TLDR
content:
<b>Search a single directory</b>`jdupes [path/to/directory]`<br><b>Search multiple directories</b>`jdupes [directory1 directory2 ...]`<br><b>Search all directories recursively</b>`jdupes [[-r|--recurse]] [path/to/directory]`<br><b>Search directory recursively and let user choose files to preserve</b>`jdupes [[-d|--delete]] [[-r|--recurse]] [path/to/directory]`<br><b>Search multiple directories and follow subdirectores under directory2, not directory1</b>`jdupes [directory1] [[-R|--recurse:]] [directory2]`<br><b>Search multiple directories and keep the directory order in result</b>`jdupes [[-O|--param-order]] [directory1 directory2 directory3 ...]`


title: TLDR
content:
<b>Initialize Git LFS</b>`git lfs install`<br><b>Track files that match a glob</b>`git lfs track '[*.bin]'`<br><b>Change the Git LFS endpoint URL (useful if the LFS server is separate from the Git server)</b>`git config [[-f|--file]] .lfsconfig lfs.url [lfs_endpoint_url]`<br><b>List tracked patterns</b>`git lfs track`<br><b>List tracked files that have been committed</b>`git lfs ls-files`<br><b>Push all Git LFS objects to the remote server (useful if errors are encountered)</b>`git lfs push --all [remote_name] [branch_name]`<br><b>Fetch all Git LFS objects</b>`git lfs fetch`<br><b>Replace pointer files with actual Git LFS objects</b>`git lfs checkout`


title: TLDR
content:
<b>Print a secret to stdout</b>`secrethub read [path/to/secret]`<br><b>Generate a random value and store it as a new or updated secret</b>`secrethub generate [path/to/secret]`<br><b>Store a value from the clipboard as a new or updated secret</b>`secrethub write --clip [path/to/secret]`<br><b>Store a value supplied on stdin as a new or updated secret</b>`echo "[secret_value]" | secrethub write [path/to/secret]`<br><b>Audit a repository or secret</b>`secrethub audit [path/to/repo_or_secret]`


title: TLDR
content:
<b>Build an image</b>`packer build [path/to/config.json]`<br><b>Check the syntax of a Packer image config</b>`packer validate [path/to/config.json]`<br><b>Format a Packer image config</b>`packer fmt [path/to/config.pkr.hcl]`


title: TLDR
content:
<b>Display Android app manifest</b>`androguard axml [path/to/app.apk]`<br><b>Display app metadata (version and app ID)</b>`androguard apkid [path/to/app.apk]`<br><b>Decompile Java code from an app</b>`androguard decompile [path/to/app.apk] --output [path/to/directory]`


title: TLDR
content:
<b>Create a kustomization file with resources and namespace</b>`kustomize create --resources [deployment.yaml,service.yaml] --namespace [staging]`<br><b>Build a kustomization file and deploy it with kubectl</b>`kustomize build . | kubectl apply [[-f|--filename]] -`<br><b>Set an image in the kustomization file</b>`kustomize edit set image [busybox=alpine:3.6]`<br><b>Search for Kubernetes resources in the current directory to be added to the kustomization file</b>`kustomize create --autodetect`


title: TLDR
content:
<b>Run a command as root</b>`doas [command]`<br><b>Run a command as another user</b>`doas -u [user] [command]`<br><b>Launch the default shell as root</b>`doas -s`<br><b>Parse a configuration file and check if the execution of a command as another user is allowed</b>`doas -C [path/to/config_file] [command]`<br><b>Make doas request a password even after it was supplied earlier</b>`doas -L`


title: TLDR
content:
<b>Initialize opam for first use</b>`opam init`<br><b>Search for packages</b>`opam search [query]`<br><b>Install a package and all of its dependencies</b>`opam install [package]`<br><b>Display detailed information about a package</b>`opam show [package]`<br><b>List all installed packages</b>`opam list`<br><b>Update the local package database</b>`opam update`<br><b>Upgrade all installed packages</b>`opam upgrade`<br><b>Display help</b>`opam help`


title: TLDR
content:
<b>Preview color scheme</b>`wal --preview [image.png]`<br><b>Create color scheme</b>`wal -i [image.png]`<br><b>Create a light color scheme</b>`wal -i [image.png] -l`<br><b>Skip setting the desktop wallpaper</b>`wal -i [image.png] -n`<br><b>Skip setting the terminal colors</b>`wal -i [image.png] -s`<br><b>Restore the previously generated color scheme and wallpaper</b>`wal -R`


title: TLDR
content:
<b>Compile a source file into an executable</b>`iverilog [path/to/source.v] -o [path/to/executable]`<br><b>Compile a source file into an executable while displaying all warnings</b>`iverilog [path/to/source.v] -Wall -o [path/to/executable]`<br><b>Compile and run explicitly using the VVP runtime</b>`iverilog -o [path/to/executable] -tvvp [path/to/source.v]`<br><b>Compile using Verilog library files from a different path</b>`iverilog [path/to/source.v] -o [path/to/executable] -I[path/to/library_directory]`<br><b>Preprocess Verilog code without compiling</b>`iverilog -E [path/to/source.v]`


title: TLDR
content:
<b>Build the documentation for the current project and all dependencies</b>`cargo [[d|doc]]`<br><b>Do not build documentation for dependencies</b>`cargo [[d|doc]] --no-deps`<br><b>Build and open the documentation in a browser</b>`cargo [[d|doc]] --open`<br><b>Build and view the documentation of a particular package</b>`cargo [[d|doc]] --open [[-p|--package]] [package]`


title: TLDR
content:
<b>Import bookmarks from HTML Netscape bookmark format file</b>`shiori import [path/to/bookmarks.html]`<br><b>Save the specified URL as bookmark</b>`shiori add [url]`<br><b>List the saved bookmarks</b>`shiori print`<br><b>Open the saved bookmark in a browser</b>`shiori open [bookmark_id]`<br><b>Start the web interface for managing bookmarks at port 8181</b>`shiori serve --port [8181]`


title: TLDR
content:
<b>Launch CopyQ to store clipboard history</b>`copyq`<br><b>Show current clipboard content</b>`copyq clipboard`<br><b>Insert raw text into the clipboard history</b>`copyq add -- [text1] [text2] [text3]`<br><b>Insert text containing escape sequences ('\n', '\t') into the clipboard history</b>`copyq add [firstline\nsecondline]`<br><b>Print the content of the first 3 items in the clipboard history</b>`copyq read 0 1 2`<br><b>Copy a file's contents into the clipboard</b>`copyq < [path/to/file.txt] copy`<br><b>Copy a JPEG image into the clipboard</b>`copyq < [path/to/image.jpg] copy image/jpeg`


title: TLDR
content:
<b>Convert colors from one format to another. Here from RGB to HSL</b>`pastel format [hsl] [ff8000]`<br><b>Show and analyze colors on the terminal</b>`pastel color "[rgb(255,50,127)]"`<br><b>Pick a color from somewhere on the screen</b>`pastel pick`<br><b>Generate a set of n visually distinct colors</b>`pastel distinct [n]`<br><b>List all X11/CSS color names</b>`pastel list`


title: TLDR
content:
<b>View current configuration values</b>`kaggle config view`<br><b>Download a specific file from a competition dataset</b>`kaggle competitions download [competition] [[-f|--file]] [path/to/file]`<br><b>List competitions matching a search term</b>`kaggle competitions list [[-s|--search]] [search_term]`<br><b>List files available for a specific competition</b>`kaggle competitions files [competition]`<br><b>Submit a file to a competition with a message</b>`kaggle competitions submit [competition] [[-f|--file]] [path/to/submission.csv] [[-m|--message]] "[message]"`<br><b>List datasets matching a search term</b>`kaggle datasets list [[-s|--search]] [search_term]`<br><b>Download all files from a dataset</b>`kaggle datasets download [owner]/[dataset_name]`<br><b>List kernels (notebooks) matching a search term</b>`kaggle kernels list [[-s|--search]] [search_term]`


title: TLDR
content:
<b>Run command in a new container from a tagged image</b>`docker run [image:tag] [command]`<br><b>Run command in a new container in background and display its ID</b>`docker run [[-d|--detach]] [image] [command]`<br><b>Run command in a one-off container in interactive mode and pseudo-TTY</b>`docker run --rm [[-it|--interactive --tty]] [image] [command]`<br><b>Run command in a new container with passed environment variables</b>`docker run [[-e|--env]] '[variable]=[value]' [[-e|--env]] [variable] [image] [command]`<br><b>Run command in a new container with bind mounted volumes</b>`docker run [[-v|--volume]] /[path/to/host_path]:/[path/to/container_path] [image] [command]`<br><b>Run command in a new container with published ports</b>`docker run [[-p|--publish]] [host_port]:[container_port] [image] [command]`<br><b>Run command in a new container overwriting the entrypoint of the image</b>`docker run --entrypoint [command] [image]`<br><b>Run command in a new container connecting it to a network</b>`docker run --network [network] [image]`


title: TLDR
content:
<b>List all containers (both running and stopped)</b>`podman ps --all`<br><b>Create a container from an image, with a custom name</b>`podman run --name [container_name] [image]`<br><b>Start or stop an existing container</b>`podman [start|stop] [container_name]`<br><b>Pull an image from a registry (defaults to Docker Hub)</b>`podman pull [image]`<br><b>Display the list of already downloaded images</b>`podman images`<br><b>Open a shell inside an already running container</b>`podman exec --interactive --tty [container_name] [sh]`<br><b>Remove a stopped container</b>`podman rm [container_name]`<br><b>Display the logs of one or more containers and follow log output</b>`podman logs --follow [container_name] [container_id]`


title: TLDR
content:
<b>Print the remove commands instead of actually removing anything</b>`go clean -n`<br><b>Delete the build cache</b>`go clean -cache`<br><b>Delete all cached test results</b>`go clean -testcache`<br><b>Delete the module cache</b>`go clean -modcache`


title: TLDR
content:
<b>List payloads</b>`msfvenom [[-l|--list]] payloads`<br><b>List formats</b>`msfvenom [[-l|--list]] formats`<br><b>Show payload options</b>`msfvenom [[-p|--payload]] [payload] --list-options`<br><b>Create an ELF binary with a reverse TCP handler</b>`msfvenom [[-p|--payload]] linux/x64/meterpreter/reverse_tcp LHOST=[local_ip] LPORT=[local_port] [[-f|--format]] elf [[-o|--out]] [path/to/binary]`<br><b>Create an EXE binary with a reverse TCP handler</b>`msfvenom [[-p|--payload]] windows/x64/meterpreter/reverse_tcp LHOST=[local_ip] LPORT=[local_port] [[-f|--format]] exe [[-o|--out]] [path/to/binary.exe]`<br><b>Create a raw Bash with a reverse TCP handler</b>`msfvenom [[-p|--payload]] cmd/unix/reverse_bash LHOST=[local_ip] LPORT=[local_port] [[-f|--format]] raw`


title: TLDR
content:
<b>Format the configuration in the current directory</b>`terraform fmt`<br><b>Format the configuration in the current directory and subdirectories</b>`terraform fmt -recursive`<br><b>Display diffs of formatting changes</b>`terraform fmt -diff`<br><b>Do not list files that were formatted to stdout</b>`terraform fmt -list=false`


title: TLDR
content:
<b>Generate a simple full-stack project (monolithic or microservices)</b>`jhipster`<br><b>Generate a simple frontend project</b>`jhipster --skip-server`<br><b>Generate a simple backend project</b>`jhipster --skip-client`<br><b>Apply latest JHipster updates to the project</b>`jhipster upgrade`<br><b>Add a new entity to a generated project</b>`jhipster entity [entity_name]`<br><b>Import a JDL file to configure your application (see: <https://start.jhipster.tech/jdl-studio/>)</b>`jhipster import-jdl [file1.jh file2.jh ...]`<br><b>Generate a CI/CD pipeline for your application</b>`jhipster ci-cd`<br><b>Generate a Kubernetes configuration for your application</b>`jhipster kubernetes`


title: TLDR
content:
<b>Clone a GitHub repository locally</b>`gh repo clone [owner]/[repository]`<br><b>Create a new issue</b>`gh issue [[new|create]]`<br><b>View and filter the open issues of the current repository</b>`gh issue [[ls|list]]`<br><b>View an issue in the default web browser</b>`gh issue view [[-w|--web]] [issue_number|url]`<br><b>Create a pull request</b>`gh pr [[new|create]]`<br><b>View a pull request in the default web browser</b>`gh pr view [[-w|--web]] [pr_number|url|branch]`<br><b>Check out a specific pull request locally</b>`gh [[co|pr checkout]] [pr_number|url|branch]`<br><b>Check the status of a repository's pull requests</b>`gh pr status`


title: TLDR
content:
<b>Sign a JAR file</b>`jarsigner [path/to/file.jar] [keystore_alias]`<br><b>Sign a JAR file with a specific algorithm</b>`jarsigner -sigalg [algorithm] [path/to/file.jar] [keystore_alias]`<br><b>Verify the signature of a JAR file</b>`jarsigner -verify [path/to/file.jar]`


title: TLDR
content:
<b>Create a new project</b>`gitlab create_project [project_name]`<br><b>Get info about a specific commit</b>`gitlab commit [project_name] [commit_hash]`<br><b>Get info about jobs in a CI pipeline</b>`gitlab pipeline_jobs [project_name] [pipeline_id]`<br><b>Start a specific CI job</b>`gitlab job_play [project_name] [job_id]`


title: TLDR
content:
<b>Log in with Google SSO using the specified username IDP and SP identifiers and set the credentials duration to one hour</b>`aws-google-auth [[-u|--username]] [example@example.com] [[-I|--idp-id]] [$GOOGLE_IDP_ID] [[-S|--sp-id]] [$GOOGLE_SP_ID] [[-d|--duration]] [3600]`<br><b>Log in asking which role to use (in case of several available SAML roles)</b>`aws-google-auth [[-u|--username]] [example@example.com] [[-I|--idp-id]] [$GOOGLE_IDP_ID] [[-S|--sp-id]] [$GOOGLE_SP_ID] [[-d|--duration]] [3600] [[-a|--ask-role]]`<br><b>Resolve aliases for AWS accounts</b>`aws-google-auth [[-u|--username]] [example@example.com] [[-I|--idp-id]] [$GOOGLE_IDP_ID] [[-S|--sp-id]] [$GOOGLE_SP_ID] [[-d|--duration]] [3600] [[-a|--ask-role]] --resolve-aliases`<br><b>Display help</b>`aws-google-auth [[-h|--help]]`


title: TLDR
content:
<b>Run AdGuard Home</b>`AdGuardHome`<br><b>Specify a configuration file</b>`AdGuardHome --config [path/to/AdGuardHome.yaml]`<br><b>Store the data in a specific work directory</b>`AdGuardHome --work-dir [path/to/directory]`<br><b>Install or uninstall AdGuard Home as a service</b>`AdGuardHome --service [install|uninstall]`<br><b>Start the AdGuard Home service</b>`AdGuardHome --service start`<br><b>Reload the configuration for the AdGuard Home service</b>`AdGuardHome --service reload`<br><b>Stop or restart the AdGuard Home service</b>`AdGuardHome --service [stop|restart]`


title: TLDR
content:
<b>Create a torrent with a specific piece size (in KB)</b>`transmission-create [[-o|--outfile]] [path/to/example.torrent] [[-t|--tracker]] [tracker_announce_url] [[-s|--piecesize]] [2048] [path/to/file_or_directory]`<br><b>Create a private torrent with a specific piece size (in KB)</b>`transmission-create [[-p|--private]] [[-o|--outfile]] [path/to/example.torrent] [[-t|--tracker]] [tracker_announce_url] [[-s|--piecesize]] [2048] [path/to/file_or_directory]`<br><b>Create a torrent with a comment</b>`transmission-create [[-o|--outfile]] [path/to/example.torrent] [[-t|--tracker]] [tracker_url1] [[-c|--comment]] [comment] [path/to/file_or_directory]`<br><b>Create a torrent with multiple trackers</b>`transmission-create [[-o|--outfile]] [path/to/example.torrent] [[-t|--tracker]] [tracker_url1] [[-t|--tracker]] [tracker_url2] [path/to/file_or_directory]`<br><b>Display help page</b>`transmission-create [[-h|--help]]`


title: TLDR
content:
<b>Connect to an InfluxDB running on localhost with no credentials</b>`influx`<br><b>Connect with a specific username (will prompt for a password)</b>`influx -username [username] -password ""`<br><b>Connect to a specific host</b>`influx -host [hostname]`<br><b>Use a specific database</b>`influx -database [database_name]`<br><b>Execute a given command</b>`influx -execute "[influxql_command]"`<br><b>Return output in a specific format</b>`influx -execute "[influxql_command]" -format [json|csv|column]`


title: TLDR
content:
<b>Run a command on a CSV file with a custom delimiter</b>`[command] [[-d|--delimiter]] [delimiter] [path/to/file.csv]`<br><b>Run a command on a CSV file with a tab as a delimiter (overrides -d)</b>`[command] [[-t|--tabs]] [path/to/file.csv]`<br><b>Run a command on a CSV file with a custom quote character</b>`[command] [[-q|--quotechar]] [quote_char] [path/to/file.csv]`<br><b>Run a command on a CSV file with no header row</b>`[command] [[-H|--no-header-row]] [path/to/file.csv]`


title: TLDR
content:
<b>Import an existing patch from a file</b>`quilt import [path/to/file.patch]`<br><b>Create a new patch</b>`quilt new [filename.patch]`<br><b>Add a file to the current patch</b>`quilt add [path/to/file]`<br><b>After editing the file, refresh the current patch with the changes</b>`quilt refresh`<br><b>Apply all the patches in the series file</b>`quilt push -a`<br><b>Remove all applied patches</b>`quilt pop -a`


title: TLDR
content:
<b>Create a new Poetry project in the directory with a specific name</b>`poetry new [project_name]`<br><b>Install and add a dependency and its sub-dependencies to the pyproject.toml file in the current directory</b>`poetry add [dependency]`<br><b>Install the project dependencies using the pyproject.toml file in the current directory</b>`poetry install`<br><b>Interactively (append -n for non-interactively) initialize the current directory as a new Poetry project</b>`poetry init`<br><b>Get the latest version of all dependencies and update poetry.lock</b>`poetry update`<br><b>Execute a command inside the project's virtual environment</b>`poetry run [command]`<br><b>Bump the version of the project in pyproject.toml</b>`poetry version [patch|minor|major|prepatch|preminor|premajor|prerelease]`<br><b>Spawn a shell within the project's virtual environment (for versions below 2.0, use poetry shell)</b>`eval "$(poetry env activate)"`


title: TLDR
content:
<b>Run a development server</b>`flask run`<br><b>Show the routes for the app</b>`flask routes`<br><b>Run a Python interactive shell in the app's context</b>`flask shell`


title: TLDR
content:
<b>Write test files to a given directory, filling the drive</b>`f3write [path/to/mount_point]`<br><b>Limit the write speed</b>`f3write --max-write-rate=[kb_per_second] [path/to/mount_point]`


title: TLDR
content:
<b>Check filesystem, reporting any damaged blocks</b>`sudo e2fsck [/dev/sdXN]`<br><b>Check filesystem and automatically repair ([p]reen) any damaged blocks</b>`sudo e2fsck -p [/dev/sdXN]`<br><b>Check filesystem in read only mode</b>`sudo e2fsck -c [/dev/sdXN]`<br><b>[f]orce checking even if the filesystem seems clean</b>`sudo e2fsck -f [/dev/sdXN]`<br><b>Perform an exhaustive, non-destructive read-write test for bad blocks and blacklist them</b>`sudo e2fsck -fccky [/dev/sdXN]`


title: TLDR
content:
<b>Show high-level information about disk drives and block devices</b>`udisksctl status`<br><b>Show detailed information about a device</b>`udisksctl info [[-b|--block-device]] [/dev/sdX]`<br><b>Show detailed information about a device partition</b>`udisksctl info [[-b|--block-device]] [/dev/sdXN]`<br><b>Mount a device partition and prints the mount point</b>`udisksctl mount [[-b|--block-device]] [/dev/sdXN]`<br><b>Unmount a device partition</b>`udisksctl unmount [[-b|--block-device]] [/dev/sdXN]`<br><b>Power off a device to safely remove it</b>`udisksctl power-off [[-b|--block-device]] [/dev/sdX]`<br><b>Monitor the daemon for events</b>`udisksctl monitor`


title: TLDR
content:
<b>Remove a logical volume in a volume group</b>`sudo lvremove [volume_group]/[logical_volume]`<br><b>Remove all logical volumes in a volume group</b>`sudo lvremove [volume_group]`


title: TLDR
content:
<b>Play a specific file (sampling rate, bit depth, etc. will be automatically determined for the file format)</b>`aplay [path/to/file]`<br><b>Play the first 10 seconds of a specific file at 2500 Hz</b>`aplay [[-d|--duration]] [10] [[-r|--rate]] [2500] [path/to/file]`<br><b>Play the raw file as a 22050 Hz, mono, 8-bit, Mu-Law .au file</b>`aplay [[-c|--channels]] [1] [[-t|--file-type]] [raw] [[-r|--rate]] [22050] [[-f|--format]] [mu_law] [path/to/file]`<br><b>List available audio devices</b>`aplay [[-l|--list-devices]]`


title: TLDR
content:
<b>Increase a volume's size to 120 GB</b>`sudo lvextend [[-L|--size]] [120G] [logical_volume]`<br><b>Increase a volume's size by 40 GB as well as the underlying filesystem</b>`sudo lvextend [[-L|--size]] +[40G] [[-r|--resizefs]] [logical_volume]`<br><b>Increase a volume's size to 100% of the free physical volume space</b>`sudo lvextend [[-l|--extents]] +[100]%FREE [logical_volume]`<br><b>Increase a volume's size to 100% of the free physical volume space and resize the underlying filesystem</b>`sudo lvextend [[-l|--extents]] +[100]%FREE [[-r|--resizefs]] [logical_volume]`


title: TLDR
content:
<b>Display signatures for specified device</b>`sudo wipefs [/dev/sdX]`<br><b>Wipe all available signature types for a specific device with no recursion into partitions</b>`sudo wipefs [[-a|--all]] [/dev/sdX]`<br><b>Wipe all available signature types for the device and partitions using a glob pattern</b>`sudo wipefs [[-a|--all]] [/dev/sdX]*`<br><b>Perform dry run</b>`sudo wipefs [[-a|--all]] [[-n|--no-act]] [/dev/sdX]`<br><b>Force wipe, even if the filesystem is mounted</b>`sudo wipefs [[-a|--all]] [[-f|--force]] [/dev/sdX]`


title: TLDR
content:
<b>Make a package</b>`makepkg`<br><b>Make a package and install its dependencies</b>`makepkg [[-s|--syncdeps]]`<br><b>Make a package, install its dependencies then install it to the system</b>`makepkg [[-si|--syncdeps --install]]`<br><b>Make a package, but skip checking the source's hashes</b>`makepkg --skipchecksums`<br><b>Clean up work directories after a successful build</b>`makepkg [[-c|--clean]]`<br><b>Verify the hashes of the sources</b>`makepkg --verifysource`<br><b>Generate and save the source information into .SRCINFO</b>`makepkg --printsrcinfo > .SRCINFO`<br><b>Download the source and install only the build dependencies for a program</b>`makepkg [[-so|--syncdeps --nobuild]]`


title: TLDR
content:
<b>Start the partition manipulator with a specific device</b>`sudo cfdisk [/dev/sdX]`<br><b>Create a new partition table for a specific device and manage it</b>`sudo cfdisk [[-z|--zero]] [/dev/sdX]`


title: TLDR
content:
<b>Display information about volume groups</b>`sudo vgs`<br><b>Display all volume groups</b>`sudo vgs [[-a|--all]]`<br><b>Change default display to show more details</b>`sudo vgs [[-v|--verbose]]`<br><b>Display only specific fields</b>`sudo vgs [[-o|--options]] [field_name_1],[field_name_2]`<br><b>Append field to default display</b>`sudo vgs [[-o|--options]] +[field_name]`<br><b>Suppress heading line</b>`sudo vgs --noheadings`<br><b>Use separator to separate fields</b>`sudo vgs --separator =`


title: TLDR
content:
<b>Display information about physical volumes</b>`sudo pvs`<br><b>Display non-physical volumes</b>`sudo pvs [[-a|--all]]`<br><b>Change default display to show more details</b>`sudo pvs [[-v|--verbose]]`<br><b>Display only specific fields</b>`sudo pvs [[-o|--options]] [field_name_1],[field_name_2]`<br><b>Append field to default display</b>`sudo pvs [[-o|--options]] +[field_name]`<br><b>Suppress heading line</b>`sudo pvs --noheadings`<br><b>Use separator to separate fields</b>`sudo pvs --separator [special_character]`


title: TLDR
content:
<b>Connect to an FTP server</b>`lftp [[-u|--user]] [username] [ftp.example.com]`<br><b>Download multiple files (glob expression)</b>`mget [path/to/*.png]`<br><b>Upload multiple files (glob expression)</b>`mput [path/to/*.zip]`<br><b>Delete multiple files on the remote server</b>`mrm [path/to/*.txt]`<br><b>Rename a file on the remote server</b>`mv [original_filename] [new_filename]`<br><b>Download or update an entire directory</b>`mirror [path/to/remote_directory] [path/to/local_output_directory]`<br><b>Upload or update an entire directory</b>`mirror [[-R|--reverse]] [path/to/local_directory] [path/to/remote_output_directory]`


title: TLDR
content:
<b>Log in as a user</b>`login [user]`<br><b>Log in as user without authentication if user is preauthenticated</b>`login -f [user]`<br><b>Log in as user and preserve environment</b>`login -p [user]`<br><b>Log in as a user on a remote host</b>`login -h [host] [user]`


title: TLDR
content:
<b>Reduce a volume's size to 120 GB</b>`sudo lvreduce [[-L|--size]] [120G] [logical_volume]`<br><b>Reduce a volume's size by 40 GB as well as the underlying filesystem</b>`sudo lvreduce [[-L|--size]] -[40G] [[-r|--resizefs]] [logical_volume]`


title: TLDR
content:
<b>Display ext2, ext3 and ext4 filesystem information</b>`dumpe2fs [/dev/sdXN]`<br><b>Display the blocks which are reserved as bad in the filesystem</b>`dumpe2fs -b [/dev/sdXN]`<br><b>Force display filesystem information even with unrecognizable feature flags</b>`dumpe2fs -f [/dev/sdXN]`<br><b>Only display the superblock information and not any of the block group descriptor detail information</b>`dumpe2fs -h [/dev/sdXN]`<br><b>Print the detailed group information block numbers in hexadecimal format</b>`dumpe2fs -x [/dev/sdXN]`


title: TLDR
content:
<b>Display the size of an ISO file</b>`isosize [path/to/file.iso]`<br><b>Display the block count and block size of an ISO file</b>`isosize [[-x|--sectors]] [path/to/file.iso]`<br><b>Display the size of an ISO file divided by a given number (only usable when --sectors is not given)</b>`isosize [[-d|--divisor]] [number] [path/to/file.iso]`


title: TLDR
content:
<b>Expand a given acronym</b>`wtf [IMO]`<br><b>Specify a computer related search type</b>`wtf -t [comp] [WWW]`


title: TLDR
content:
<b>Start a snake game</b>`nsnake`<br><b>Navigate the snake</b>`[<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>]`<br><b>Pause/unpause the game</b>`<p>`<br><b>Quit the game</b>`<q>`<br><b>Display help during the game</b>`<h>`


title: TLDR
content:
<b>Start an arithmetic quiz</b>`arithmetic`<br><b>Specify one or more arithmetic [o]peration symbols to get problems on them</b>`arithmetic -o [+|-|x|/]`<br><b>Specify a [r]ange. Addition and multiplication problems would feature numbers between 0 and range, inclusive. Subtraction and division problems would have required result and number to be operated on, between 0 and range</b>`arithmetic -r [7]`


title: TLDR
content:
<b>Write metadata located on device to a specific file</b>`e2image [/dev/sdXN] [path/to/image_file]`<br><b>Print metadata located on device to stdout</b>`e2image [/dev/sdXN] -`<br><b>Restore the filesystem metadata back to the device</b>`e2image -I [/dev/sdXN] [path/to/image_file]`<br><b>Create a large [r]aw sparse file with metadata at proper offsets</b>`e2image -r [/dev/sdXN] [path/to/image_file]`<br><b>Create a [Q]COW2 image file instead of a normal or raw image file</b>`e2image -Q [/dev/sdXN] [path/to/image_file]`


title: TLDR
content:
<b>Defragment the filesystem</b>`e4defrag [/dev/sdXN]`<br><b>See how fragmented a filesystem is</b>`e4defrag -c [/dev/sdXN]`<br><b>Print errors and the fragmentation count before and after each file</b>`e4defrag -v [/dev/sdXN]`


title: TLDR
content:
<b>Set or unset a SELinux boolean. Booleans allow the administrator to customize how policy rules affect confined process types (a.k.a domains)</b>`sudo semanage boolean [[-m|--modify]] [--on|--off] [haproxy_connect_any]`<br><b>Add a user-defined file context labeling rule. File contexts define what files confined domains are allowed to access</b>`sudo semanage fcontext [[-a|--add]] [[-t|--type]] [samba_share_t] '/mnt/share(/.*)?'`<br><b>Add a user-defined port labeling rule. Port labels define what ports confined domains are allowed to listen on</b>`sudo semanage port [[-a|--add]] [[-t|--type]] [ssh_port_t] [[-p|--proto]] [tcp] [22000]`<br><b>Set or unset permissive mode for a confined domain. Per-domain permissive mode allows more granular control compared to setenforce</b>`sudo semanage permissive [--add|--delete] [httpd_t]`<br><b>Output local customizations in the default store</b>`sudo semanage export [[-f|--output_file]] [path/to/file]`<br><b>Import a file generated by semanage export into local customizations (CAREFUL: may remove current customizations!)</b>`sudo semanage import [[-f|--input_file]] [path/to/file]`


title: TLDR
content:
<b>Check how many free blocks are present as contiguous and aligned free space</b>`e2freefrag [/dev/sdXN]`<br><b>Specify [c]hunk size in kilobytes to print how many free chunks are available</b>`e2freefrag -c [chunk_size_in_kb] [/dev/sdXN]`


title: TLDR
content:
<b>Grep a pattern in a compressed file (case-sensitive)</b>`zgrep [pattern] [path/to/compressed_file]`<br><b>Grep a pattern in a compressed file (case-insensitive)</b>`zgrep [[-i|--ignore-case]] [pattern] [path/to/compressed_file]`<br><b>Output count of lines containing matched pattern in a compressed file</b>`zgrep [[-c|--count]] [pattern] [path/to/compressed_file]`<br><b>Display the lines which don't have the pattern present (Invert the search function)</b>`zgrep [[-v|--invert-match]] [pattern] [path/to/compressed_file]`<br><b>Grep a compressed file for multiple patterns</b>`zgrep [[-e|--regexp]] "[pattern_1]" [[-e|--regexp]] "[pattern_2]" [path/to/compressed_file]`<br><b>Use extended regex (supporting ?, +, {}, () and |)</b>`zgrep [[-E|--extended-regexp]] [regex] [path/to/file]`<br><b>Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match</b>`zgrep --[context|before-context|after-context] 3 [pattern] [path/to/compressed_file]`


title: TLDR
content:
<b>Run a .NET assembly in debug mode</b>`mono --debug [path/to/program.exe]`<br><b>Run a .NET assembly</b>`mono [path/to/program.exe]`


title: TLDR
content:
<b>Automatically resize a filesystem to its maximum possible size</b>`resize2fs [/dev/sdXN]`<br><b>Resize the filesystem to a size of 40G, displaying a progress bar</b>`resize2fs -p [/dev/sdXN] [40G]`<br><b>Shrink the filesystem to its minimum possible size</b>`resize2fs -M [/dev/sdXN]`


title: TLDR
content:
<b>Open the filesystem in read only mode</b>`debugfs [/dev/sdXN]`<br><b>Open the filesystem in read write mode</b>`debugfs -w [/dev/sdXN]`<br><b>Read commands from a specified file, execute them and then exit</b>`debugfs -f [path/to/cmd_file] [/dev/sdXN]`<br><b>View the filesystem stats in debugfs console</b>`stats`<br><b>Close the filesystem</b>`close -a`<br><b>List all available commands</b>`lr`


title: TLDR
content:
<b>Change the size of a logical volume to 120 GB</b>`sudo lvresize [[-L|--size]] 120G [volume_group]/[logical_volume]`<br><b>Extend the size of a logical volume as well as the underlying filesystem by 120 GB</b>`sudo lvresize [[-L|--size]] +120G [[-r|--resizefs]] [volume_group]/[logical_volume]`<br><b>Extend the size of a logical volume to 100% of the free physical volume space</b>`sudo lvresize [[-l|--extents]] 100%FREE [volume_group]/[logical_volume]`<br><b>Reduce the size of a logical volume as well as the underlying filesystem by 120 GB</b>`sudo lvresize [[-L|--size]] -120G [[-r|--resizefs]] [volume_group]/[logical_volume]`


title: TLDR
content:
<b>Display information about a package</b>`dpkg-deb [[-I|--info]] [path/to/file.deb]`<br><b>Display the package's name and version on one line</b>`dpkg-deb [[-W|--show]] [path/to/file.deb]`<br><b>List the package's contents</b>`dpkg-deb [[-c|--contents]] [path/to/file.deb]`<br><b>Extract package's contents into a directory</b>`dpkg-deb [[-x|--extract]] [path/to/file.deb] [path/to/directory]`<br><b>Create a package from a specified directory</b>`dpkg-deb [[-b|--build]] [path/to/directory]`


title: TLDR
content:
<b>Display the filename and line number of the source code from an instruction address of an executable</b>`addr2line [[-e|--exe]] [path/to/executable] [address]`<br><b>Display the function name, filename and line number</b>`addr2line [[-e|--exe]] [path/to/executable] [[-f|--functions]] [address]`<br><b>Demangle the function name for C++ code</b>`addr2line [[-e|--exe]] [path/to/executable] [[-f|--functions]] [[-C|--demangle]] [address]`


title: TLDR
content:
<b>Tell the kernel about the existence of the specified partition</b>`addpart [device] [partition] [start] [length]`


title: TLDR
content:
<b>Connect to a remote host</b>`rpcclient [[-U|--user]] [domain]\[username]%[password] [ip]`<br><b>Connect to a remote host on a domain without a password</b>`rpcclient [[-U|--user]] [username] [[-W|--workgroup]] [domain] [[-N|--no-pass]] [ip]`<br><b>Connect to a remote host, passing the password hash</b>`rpcclient [[-U|--user]] [domain]\[username] --pw-nt-hash [ip]`<br><b>Execute shell commands on a remote host</b>`rpcclient [[-U|--user]] [domain]\[username]%[password] [[-c|--command]] [semicolon_separated_commands] [ip]`<br><b>Display domain users</b>`rpcclient $> enumdomusers`<br><b>Display privileges</b>`rpcclient $> enumprivs`<br><b>Display information about a specific user</b>`rpcclient $> queryuser [username|rid]`<br><b>Create a new user in the domain</b>`rpcclient $> createdomuser [username]`


title: TLDR
content:
<b>Display a report for one or more files</b>`filefrag [path/to/file1 path/to/file2 ...]`<br><b>Display a report using a 1024 byte blocksize</b>`filefrag -k [path/to/file]`<br><b>Display a report using a certain blocksize</b>`filefrag -b[1024|1K|1M|1G|...] [path/to/file]`<br><b>Sync the file before requesting the mapping</b>`filefrag -s [path/to/file1 path/to/file2 ...]`<br><b>Display mapping of extended attributes</b>`filefrag -x [path/to/file1 path/to/file2 ...]`<br><b>Display a report with verbose information</b>`filefrag -v [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>Show ASCII aliases of a character</b>`ascii [a]`<br><b>Show ASCII aliases in short, script-friendly mode</b>`ascii -t [a]`<br><b>Show ASCII aliases of multiple characters</b>`ascii -s [tldr]`<br><b>Show ASCII table in decimal</b>`ascii -d`<br><b>Show ASCII table in hexadecimal</b>`ascii -x`<br><b>Show ASCII table in octal</b>`ascii -o`<br><b>Show ASCII table in binary</b>`ascii -b`<br><b>Show options summary and complete ASCII table</b>`ascii`


title: TLDR
content:
<b>Set the max number of counts before a filesystem is checked to 2</b>`sudo tune2fs -c 2 [/dev/sdXN]`<br><b>Set the filesystem label to MY_LABEL</b>`sudo tune2fs -L 'MY_LABEL' [/dev/sdXN]`<br><b>Enable discard and user-specified extended attributes for a filesystem</b>`sudo tune2fs -o discard,user_xattr [/dev/sdXN]`<br><b>Enable journaling for a filesystem</b>`sudo tune2fs -o has_journal [/dev/sdXN]`<br><b>Assign a new randomly-generated UUID to a filesystem</b>`sudo tune2fs -U random [/dev/sdXN]`


title: TLDR
content:
<b>Display information about logical volumes</b>`sudo lvs`<br><b>Display all logical volumes</b>`sudo lvs [[-a|--all]]`<br><b>Change default display to show more details</b>`sudo lvs [[-v|--verbose]]`<br><b>Display only specific fields</b>`sudo lvs [[-o|--options]] [field_name_1],[field_name_2]`<br><b>Append field to default display</b>`sudo lvs [[-o|--options]] +[field_name]`<br><b>Suppress heading line</b>`sudo lvs --noheadings`<br><b>Use a separator to separate fields</b>`sudo lvs --separator [=]`


title: TLDR
content:
<b>Display an analog clock</b>`xclock`<br><b>Display a 24-hour digital clock with the hour and minute fields only</b>`xclock -digital -brief`<br><b>Display a digital clock using an strftime format string (see strftime(3))</b>`xclock -digital -strftime [format]`<br><b>Display a 24-hour digital clock with the hour, minute and second fields that updates every second</b>`xclock -digital -strftime '%H:%M:%S' -update 1`<br><b>Display a 12-hour digital clock with the hour and minute fields only</b>`xclock -digital -twelve -brief`


title: TLDR
content:
<b>List all boot options with their numbers</b>`efibootmgr [[-u|--unicode]]`<br><b>Add UEFI Shell v2 as a boot option</b>`sudo efibootmgr [[-c|--create]] [[-d|--disk]] [/dev/sda] [[-p|--part]] [1] [[-l|--loader]] "[\path\to\shell.efi]" [[-L|--label]] "[UEFI Shell]"`<br><b>Add Linux as a boot option</b>`sudo efibootmgr [[-c|--create]] [[-d|--disk]] [/dev/sda] [[-p|--part]] [1] [[-l|--loader]] "[\vmlinuz]" [[-u|--unicode]] "[kernel_cmdline]" [[-L|--label]] "[Linux]"`<br><b>Change the current boot order</b>`sudo efibootmgr [[-o|--bootorder]] [0002,0008,0001,001A,...]`<br><b>Delete a boot option</b>`sudo efibootmgr [[-b|--bootnum]] [0008] [[-B|--delete-bootnum]]`


title: TLDR
content:
<b>Print PDF file fonts information</b>`pdffonts [path/to/file.pdf]`<br><b>Specify user password for PDF file to bypass security restrictions</b>`pdffonts -upw [password] [path/to/file.pdf]`<br><b>Specify owner password for PDF file to bypass security restrictions</b>`pdffonts -opw [password] [path/to/file.pdf]`<br><b>Print additional information on location of the font that will be used when the PDF file is rasterized</b>`pdffonts -loc [path/to/file.pdf]`<br><b>Print additional information on location of the font that will be used when the PDF file is converted to PostScript</b>`pdffonts -locPS [path/to/file.pdf]`


title: TLDR
content:
<b>Print PDF file information</b>`pdfinfo [path/to/file.pdf]`<br><b>Specify user password for PDF file to bypass security restrictions</b>`pdfinfo -upw [password] [path/to/file.pdf]`<br><b>Specify owner password for PDF file to bypass security restrictions</b>`pdfinfo -opw [password] [path/to/file.pdf]`


title: TLDR
content:
<b>Delete a ref, useful for soft resetting the first commit</b>`git update-ref -d [HEAD]`<br><b>Update ref with a message</b>`git update-ref -m [message] [HEAD] [4e95e05]`


title: TLDR
content:
<b>Show events for today and tomorrow (or the weekend on Friday) from the default calendar</b>`calendar`<br><b>Look [A]head, showing events for the next 30 days</b>`calendar -A [30]`<br><b>Look [B]ack, showing events for the previous 7 days</b>`calendar -B [7]`<br><b>Show events from a custom calendar [f]ile</b>`calendar -f [path/to/file]`


title: TLDR
content:
<b>List available diff tools</b>`git difftool --tool-help`<br><b>Set the default diff tool to meld</b>`git config --global diff.tool "[meld]"`<br><b>Use the default diff tool to show staged changes</b>`git difftool --staged`<br><b>Use a specific tool (opendiff) to show changes since a given commit</b>`git difftool [[-t|--tool]] [opendiff] [commit]`


title: TLDR
content:
<b>Produce a request summarizing the changes between the v1.1 release and a specified branch</b>`git request-pull [v1.1] [https://example.com/project] [branch_name]`<br><b>Produce a request summarizing the changes between the v0.1 release on the foo branch and the local bar branch</b>`git request-pull [v0.1] [https://example.com/project] [foo:bar]`


title: TLDR
content:
<b>Output a list of words of length 1 to 3 with only lowercase characters</b>`crunch [1] [3]`<br><b>Output a list of hexadecimal words of length 8</b>`crunch [8] [8] [0123456789abcdef]`<br><b>Output a list of all permutations of abc (lengths are not processed)</b>`crunch [1] [1] -p [abc]`<br><b>Output a list of all permutations of the given strings (lengths are not processed)</b>`crunch [1] [1] -p [abc] [def] [ghi]`<br><b>Output a list of words generated according to the given pattern and a maximum number of duplicate letters</b>`crunch [5] [5] [abcde123] -t [@@@12] -d 2@`<br><b>Write a list of words in chunk files of a given size, starting with the given string</b>`crunch [3] [5] -o [START] -b [10kb] -s [abc]`<br><b>Write a list of words stopping with the given string and inverting the wordlist</b>`crunch [1] [5] -o [START] -e [abcde] -i`<br><b>Write a list of words in compressed chunk files with a specified number of words</b>`crunch [1] [5] -o [START] -c [1000] -z [gzip|bzip2|lzma|7z]`


title: TLDR
content:
<b>Show deleted files</b>`git ls-files [[-d|--deleted]]`<br><b>Show modified and deleted files</b>`git ls-files [[-m|--modified]]`<br><b>Show ignored and untracked files</b>`git ls-files [[-o|--others]]`<br><b>Show untracked files, not ignored</b>`git ls-files [[-o|--others]] --exclude-standard`


title: TLDR
content:
<b>Start a Tetris game</b>`bastet`<br><b>Navigate the piece horizontally</b>`[<ArrowLeft>|<ArrowRight>]`<br><b>Rotate the piece clockwise or counterclockwise</b>`[<Space>|<ArrowUp>]`<br><b>Soft drop the piece</b>`<ArrowDown>`<br><b>Hard drop the piece</b>`<Enter>`<br><b>Pause the game</b>`<p>`<br><b>Quit the game</b>`<Ctrl c>`


title: TLDR
content:
<b>Start a sudoku game</b>`nudoku`<br><b>Choose the difficulty of the game</b>`nudoku -d [easy|normal|hard]`<br><b>Navigate the board</b>`[<h>|<j>|<k>|<l>|<ArrowKeys>]`<br><b>Delete a number</b>`[<Backspace>|<x>]`<br><b>Get a hint</b>`<H>`<br><b>See the complete solution</b>`<S>`<br><b>Create a new puzzle</b>`<N>`<br><b>Quit the game</b>`<Q>`


title: TLDR
content:
<b>Show all references in the default remote repository</b>`git ls-remote`<br><b>Show only heads references in the default remote repository</b>`git ls-remote --heads`<br><b>Show only tags references in the default remote repository</b>`git ls-remote [[-t|--tags]]`<br><b>Show all references from a remote repository based on name or URL</b>`git ls-remote [repository_url]`<br><b>Show references from a remote repository filtered by a pattern</b>`git ls-remote [repository_name] "[pattern]"`


title: TLDR
content:
<b>Create a virtual machine with 1 GB RAM and 12 GB storage and start a Debian installation</b>`virt-install [[-n|--name]] [vm_name] --memory [1024] --disk path=[path/to/image.qcow2],size=[12] [[-c|--cdrom]] [path/to/debian.iso]`<br><b>Create a x86-64, KVM-accelerated, UEFI-based virtual machine with the Q35 chipset, 4 GiB RAM, 16 GiB RAW storage, and start a Fedora installation</b>`virt-install [[-n|--name]] [vm_name] --arch [x86_64] --virt-type [kvm] --machine [q35] --boot [uefi] --memory [4096] --disk path=[path/to/image.raw],size=[16] [[-c|--cdrom]] [path/to/fedora.iso]`<br><b>Create a diskless live virtual machine without an emulated sound device or a USB controller. Don't start an installation and don't autoconnect to console but attach a cdrom to it (might be useful for when using a live CD like tails)</b>`virt-install [[-n|--name]] [vm_name] --memory [512] --disk [none] --controller [type=usb,model=none] --sound [none] --autoconsole [none] --install [no_install=yes] [[-c|--cdrom]] [path/to/tails.iso]`<br><b>Create a virtual machine with 16 GiB RAM, 250 GiB storage, 8 cores with hyperthreading, a specific CPU topology, and a CPU model that shares most features with the host CPU</b>`virt-install [[-n|--name]] [vm_name] --cpu [host-model],topology.sockets=[1],topology.cores=[4],topology.threads=[2] --memory [16384] --disk path=[path/to/image.qcow2],size=[250] [[-c|--cdrom]] [path/to/debian.iso]`<br><b>Create a virtual machine and kickstart an automated deployment based on Fedora 35 using only remote resources (no ISO required)</b>`virt-install [[-n|--name]] [vm_name] --memory [2048] --disk path=[path/to/image.qcow2],size=[20] [[-l|--location]] [https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/] [[-x|--extra-args]] "[inst.ks=https://path/to/valid_kickstart.org]"`


title: TLDR
content:
<b>Show all refs in the repository</b>`git show-ref`<br><b>Show only heads references</b>`git show-ref --branches`<br><b>Show only tags references</b>`git show-ref --tags`<br><b>Verify that a given reference exists</b>`git show-ref --verify [path/to/ref]`


title: TLDR
content:
<b>Get the [s]ize of the HEAD commit in bytes</b>`git cat-file -s HEAD`<br><b>Get the [t]ype (blob, tree, commit, tag) of a given Git object</b>`git cat-file -t [8c442dc3]`<br><b>Pretty-[p]rint the contents of a given Git object based on its type</b>`git cat-file -p [HEAD~2]`


title: TLDR
content:
<b>Create a unique name for the current commit (the name contains the most recent annotated tag, the number of additional commits, and the abbreviated commit hash)</b>`git describe`<br><b>Create a name with 4 digits for the abbreviated commit hash</b>`git describe --abbrev=[4]`<br><b>Generate a name with the tag reference path</b>`git describe --all`<br><b>Describe a Git tag</b>`git describe [v1.0.0]`<br><b>Create a name for the last commit of a given branch</b>`git describe [branch_name]`


title: TLDR
content:
<b>Create a tar archive from the contents of the current HEAD and print it to stdout</b>`git archive [[-v|--verbose]] HEAD`<br><b>Use the Zip format and report progress verbosely</b>`git archive [[-v|--verbose]] --format zip HEAD`<br><b>Output the Zip archive to a specific file</b>`git archive [[-v|--verbose]] [[-o|--output]] [path/to/file.zip] HEAD`<br><b>Create a tar archive from the contents of the latest commit of a specific branch</b>`git archive [[-o|--output]] [path/to/file.tar] [branch_name]`<br><b>Use the contents of a specific directory</b>`git archive [[-o|--output]] [path/to/file.tar] HEAD:[path/to/directory]`<br><b>Prepend a path to each file to archive it inside a specific directory</b>`git archive [[-o|--output]] [path/to/file.tar] --prefix [path/to/prepend]/ HEAD`


title: TLDR
content:
<b>Compare diff files</b>`interdiff [old_file] [new_file]`<br><b>Compare diff files, ignoring whitespace</b>`interdiff [[-w|--ignore-all-space]] [old_file] [new_file]`


title: TLDR
content:
<b>Print messages about the patched files</b>`git apply [[-v|--verbose]] [path/to/file]`<br><b>Apply and add the patched files to the index</b>`git apply --index [path/to/file]`<br><b>Apply a remote patch file</b>`curl [[-L|--location]] [https://example.com/file.patch] | git apply`<br><b>Output diffstat for the input and apply the patch</b>`git apply --stat --apply [path/to/file]`<br><b>Apply the patch in reverse</b>`git apply [[-R|--reverse]] [path/to/file]`<br><b>Store the patch result in the index without modifying the working tree</b>`git apply --cache [path/to/file]`


title: TLDR
content:
<b>Create a bundle file that contains all objects and references of a specific branch</b>`git bundle create [path/to/file.bundle] [branch_name]`<br><b>Create a bundle file of all branches</b>`git bundle create [path/to/file.bundle] --all`<br><b>Create a bundle file of the last 5 commits of the current branch</b>`git bundle create [path/to/file.bundle] -5 [HEAD]`<br><b>Create a bundle file of the latest 7 days</b>`git bundle create [path/to/file.bundle] --since 7.days [HEAD]`<br><b>Verify that a bundle file is valid and can be applied to the current repository</b>`git bundle verify [path/to/file.bundle]`<br><b>Print to stdout the list of references contained in a bundle</b>`git bundle unbundle [path/to/file.bundle]`<br><b>Unbundle a specific branch from a bundle file into the current repository</b>`git pull [path/to/file.bundle] [branch_name]`<br><b>Create a new repository from a bundle</b>`git clone [path/to/file.bundle]`


title: TLDR
content:
<b>Verify a clearsigned or inline-signed file (the signature is embedded in the file itself)</b>`gpgv [path/to/file.asc]`<br><b>Verify a detached signature (.asc or .sig) against its corresponding data file</b>`gpgv [path/to/signature.asc] [path/to/data_file]`<br><b>Verify a detached signature using a specific public keyring or exported public key file (.gpg or .kbx)</b>`gpgv --keyring [path/to/pubkey_or_keyring.gpg] [path/to/signature.asc] [path/to/data_file]`<br><b>Verify a detached signature using a specific public key file in plain text format (.txt)</b>`gpg --dearmor [[-o|--output]] [path/to/pubkey.gpg] [path/to/pubkey.txt] && gpgv --keyring [path/to/pubkey.gpg] [path/to/signature.asc] [path/to/data_file]`


title: TLDR
content:
<b>Connect to server using a configuration file</b>`sudo openvpn [path/to/client.conf]`<br><b>Try to set up an insecure peer-to-peer tunnel on bob.example.com host</b>`sudo openvpn --remote [alice.example.com] --dev [tun1] --ifconfig [10.4.0.1] [10.4.0.2]`<br><b>Connect to the awaiting bob.example.com host without encryption</b>`sudo openvpn --remote [bob.example.com] --dev [tun1] --ifconfig [10.4.0.2] [10.4.0.1]`<br><b>Create a cryptographic key and save it to file</b>`openvpn --genkey secret [path/to/key]`<br><b>Try to set up a peer-to-peer tunnel on bob.example.com host with a static key</b>`sudo openvpn --remote [alice.example.com] --dev [tun1] --ifconfig [10.4.0.1] [10.4.0.2] --secret [path/to/key]`<br><b>Connect to the awaiting bob.example.com host with the same static key as on bob.example.com</b>`sudo openvpn --remote [bob.example.com] --dev [tun1] --ifconfig [10.4.0.2] [10.4.0.1] --secret [path/to/key]`


title: TLDR
content:
<b>Replace any commit with a different one, leaving other commits unchanged</b>`git replace [object] [replacement]`<br><b>Delete existing replace refs for the given objects</b>`git replace [[-d|--delete]] [object]`<br><b>Edit an object's content interactively</b>`git replace --edit [object]`


title: TLDR
content:
<b>Report what would be removed by Git prune without removing it</b>`git prune [[-n|--dry-run]]`<br><b>Prune unreachable objects and display what has been pruned to stdout</b>`git prune [[-v|--verbose]]`<br><b>Prune unreachable objects while showing progress</b>`git prune --progress`


title: TLDR
content:
<b>Extract pages from PDF file and make a separate PDF file for each page</b>`pdfseparate [path/to/source_filename.pdf] [path/to/destination_filename-%d.pdf]`<br><b>Specify the first/start page for extraction</b>`pdfseparate -f [3] [path/to/source_filename.pdf] [path/to/destination_filename-%d.pdf]`<br><b>Specify the last page for extraction</b>`pdfseparate -l [10] [path/to/source_filename.pdf] [path/to/destination_filename-%d.pdf]`


title: TLDR
content:
<b>Open an image</b>`sxiv [path/to/image]`<br><b>Open an image in fullscreen mode</b>`sxiv -f [path/to/file]`<br><b>Open a newline-separated list of images, reading filenames from stdin</b>`echo [path/to/file] | sxiv -i`<br><b>Open one or more images as a slideshow</b>`sxiv -S [seconds] [path/to/image1 path/to/image2 ...]`<br><b>Open one or more images in thumbnail mode</b>`sxiv -t [path/to/image1 path/to/image2 ...]`


title: TLDR
content:
<b>List installed Java environments</b>`archlinux-java status`<br><b>Return the short name of the current default Java environment</b>`archlinux-java get`<br><b>Set the default Java environment</b>`archlinux-java set [java_environment]`<br><b>Unset the default Java environment</b>`archlinux-java unset`<br><b>Fix an invalid/broken default Java environment configuration</b>`archlinux-java fix`


title: TLDR
content:
<b>Build binary and source packages</b>`rpmbuild -ba [path/to/spec_file]`<br><b>Build a binary package without source package</b>`rpmbuild -bb [path/to/spec_file]`<br><b>Specify additional variables when building a package</b>`rpmbuild -bb [path/to/spec_file] --define "[variable1] [value1]" --define "[variable2] [value2]"`


title: TLDR
content:
<b>Connect to a VPN with a username and password</b>`openfortivpn [[-u|--username]] [username] [[-p|--password]] [password]`<br><b>Connect to a VPN using a specific configuration file (defaults to /etc/openfortivpn/config)</b>`sudo openfortivpn [[-c|--config]] [path/to/config]`<br><b>Connect to a VPN by specifying the host and port</b>`openfortivpn [host]:[port]`<br><b>Trust a given gateway by passing in its certificate's sha256 sum</b>`openfortivpn --trusted-cert [sha256_sum]`


title: TLDR
content:
<b>Lock the screen showing a white background</b>`i3lock`<br><b>Lock the screen with a simple color background (rrggbb format)</b>`i3lock [[-c|--color]] [0000ff]`<br><b>Lock the screen to a PNG background</b>`i3lock [[-i|--image]] [path/to/file.png]`<br><b>Lock the screen and disable the unlock indicator (removes feedback on keypress)</b>`i3lock [[-u|--no-unlock-indicator]]`<br><b>Lock the screen and don't hide the mouse pointer</b>`i3lock [[-p|--pointer]] [default]`<br><b>Lock the screen to a PNG background tiled over all monitors</b>`i3lock [[-i|--image]] [path/to/file.png] [[-t|--tiling]]`<br><b>Lock the screen and show the number of failed login attempts</b>`i3lock [[-f|--show-failed-attempts]]`


title: TLDR
content:
<b>Open the terminal in a specific directory</b>`konsole --workdir [path/to/directory]`<br><b>[e]xecute a specific command and don't close the window after it exits</b>`konsole --noclose -e "[command]"`<br><b>Open a new tab</b>`konsole --new-tab`<br><b>Open the terminal in the background and bring to the front when <Ctrl Shift F12> is pressed</b>`konsole --background-mode`


title: TLDR
content:
<b>List available chroots</b>`schroot --list`<br><b>Run a command in a specific chroot</b>`schroot --chroot [chroot] [command]`<br><b>Run a command with options in a specific chroot</b>`schroot --chroot [chroot] [command] -- [command_options]`<br><b>Run a command in all available chroots</b>`schroot --all [command]`<br><b>Start an interactive shell within a specific chroot as a specific user</b>`schroot --chroot [chroot] --user [user]`<br><b>Begin a new session (a unique session ID is returned on stdout)</b>`schroot --begin-session --chroot [chroot]`<br><b>Connect to an existing session</b>`schroot --run-session --chroot [session_id]`<br><b>End an existing session</b>`schroot --end-session --chroot [session_id]`


title: TLDR
content:
<b>Open a menu of available flashcard decks for selection</b>`flash`<br><b>Display information about the flashcard system</b>`flash -i`<br><b>Change the previewer from default bat to cat</b>`flash -p [cat]`<br><b>Display help</b>`flash -h`<br><b>Display version</b>`flash -v`


title: TLDR
content:
<b>Create an mdbook project in the current directory</b>`mdbook init`<br><b>Create an mdbook project in a specific directory</b>`mdbook init [path/to/directory]`<br><b>Clean the directory with the generated book</b>`mdbook clean`<br><b>Serve a book at <http://localhost:3000>, auto build when file changes</b>`mdbook serve`<br><b>Watch a set of Markdown files and automatically build when a file is changed</b>`mdbook watch`


title: TLDR
content:
<b>Update to the latest version</b>`sudo swupd update`<br><b>Show current version, and check whether a newer one exists</b>`swupd check-update`<br><b>List installed bundles</b>`swupd bundle-list`<br><b>Locate the bundle where a wanted package exists</b>`swupd search -b [package]`<br><b>Install a new bundle</b>`sudo swupd bundle-add [bundle]`<br><b>Remove a bundle</b>`sudo swupd bundle-remove [bundle]`<br><b>Correct broken or missing files</b>`sudo swupd verify`


title: TLDR
content:
<b>Show all recognized EXIF information in an image</b>`exif [path/to/image.jpg]`<br><b>Show a table listing known EXIF tags and whether each one exists in an image</b>`exif [[-l|--list-tags]] --no-fixup [path/to/image.jpg]`<br><b>Extract the image thumbnail into a separate file</b>`exif [[-e|--extract-thumbnail]] [[-o|--output]] [path/to/thumbnail.jpg] [path/to/image.jpg]`<br><b>Show the raw contents of the "Model" tag in the given image</b>`exif --ifd [0] [[-t|--tag]] "Model" [[-m|--machine-readable]] [path/to/image.jpg]`<br><b>Change the value of the "Artist" tag to John Smith and save to new.jpg</b>`exif [[-o|--output]] [path/to/new.jpg] --ifd [0] [[-t|--tag]] "Artist" --set-value "John Smith" --no-fixup [path/to/image.jpg]`


title: TLDR
content:
<b>List all containers (running and stopped)</b>`ctr containers list`<br><b>List all images</b>`ctr images list`<br><b>Pull an image</b>`ctr images pull [image]`<br><b>Tag an image</b>`ctr images tag [source_image]:[source_tag] [target_image]:[target_tag]`


title: TLDR
content:
<b>Interactively search for and install a package</b>`paru [package_name_or_search_term]`<br><b>Synchronize and update all packages</b>`paru`<br><b>Upgrade AUR packages</b>`paru -Sua`<br><b>Remove an installed package, it's configuration files, and dependencies</b>`paru -Rns [package]`<br><b>Get information about a package</b>`paru -Si [package]`<br><b>Download PKGBUILD and other package source files from the AUR or ABS</b>`paru --getpkgbuild [package]`<br><b>Display the PKGBUILD file of a package</b>`paru --getpkgbuild --print [package]`


title: TLDR
content:
<b>Generate a coverage report named file.cpp.gcov</b>`gcov [path/to/file.cpp]`<br><b>Write individual execution counts for every basic block</b>`gcov [[-a|--all-blocks]] [path/to/file.cpp]`<br><b>Write branch frequencies to the output file and print summary information to stdout as a percentage</b>`gcov [[-b|--branch-probabilities]] [path/to/file.cpp]`<br><b>Write branch frequencies as the number of branches taken, rather than the percentage</b>`gcov [[-c|--branch-counts]] [path/to/file.cpp]`<br><b>Do not create a gcov output file</b>`gcov [[-n|--no-output]] [path/to/file.cpp]`<br><b>Write file level as well as function level summaries</b>`gcov [[-f|--function-summaries]] [path/to/file.cpp]`


title: TLDR
content:
<b>Read the default configuration file /etc/named.conf, read any initial data and listen for queries</b>`named`<br><b>Read a custom configuration file</b>`named -c [path/to/named.conf]`<br><b>Use IPv4 or IPv6 only, even if the host machine is capable of utilising other protocols</b>`named [-4|-6]`<br><b>Listen for queries on a specific port instead of the default port 53</b>`named -p [port]`<br><b>Run the server in the foreground and do not daemonize</b>`named -f`


title: TLDR
content:
<b>Run iwctl in interactive mode</b>`iwctl`<br><b>Display Wi-Fi stations</b>`iwctl station list`<br><b>Look for networks with a station</b>`iwctl station [station] scan`<br><b>Display the networks found by a station</b>`iwctl station [station] get-networks`<br><b>Connect to a network with a station, if credentials are needed they will be asked</b>`iwctl station [station] connect [network_name]`<br><b>Display help</b>`iwctl [[-h|--help]]`


title: TLDR
content:
<b>Mount a device below /media/ (using device as mount point)</b>`pmount [/dev/to/block/device]`<br><b>Mount a device with a specific filesystem type to /media/label</b>`pmount [[-t|--type]] [filesystem] [/dev/to/block/device] [label]`<br><b>Mount a CD-ROM (filesystem type ISO9660) in read-only mode</b>`pmount [[-t|--type]] iso9660 [[-r|--read-only]] [/dev/cdrom]`<br><b>Mount an NTFS-formatted disk, forcing read-write access</b>`pmount [[-t|--type]] ntfs [[-w|--read-write]] [/dev/sdX]`<br><b>Display all mounted removable devices</b>`pmount`


title: TLDR
content:
<b>List all the installed extensions</b>`gnome-extensions list`<br><b>Display information about a specific extension</b>`gnome-extensions info "[extension_id]"`<br><b>Enable a specific extension</b>`gnome-extensions enable "[extension_id]"`<br><b>Disable a specific extension</b>`gnome-extensions disable "[extension_id]"`<br><b>Uninstall a specific extension</b>`gnome-extensions uninstall "[extension_id]"`<br><b>Display help for a specific subcommand (like list)</b>`gnome-extensions help [subcommand]`<br><b>Display version</b>`gnome-extensions version`


title: TLDR
content:
<b>Start a buffer for temporary notes, which won't be saved</b>`zile`<br><b>Open a file</b>`zile [path/to/file]`<br><b>Save a file</b>`<Ctrl x><Ctrl s>`<br><b>Quit</b>`<Ctrl x><Ctrl c>`<br><b>Open a file at a specified line number</b>`zile +[line_number] [path/to/file]`<br><b>Undo changes</b>`<Ctrl x><u>`


title: TLDR
content:
<b>Display AUR packages that match a regex</b>`auracle search '[regex]'`<br><b>Display information about one or more AUR packages</b>`auracle info [package1 package2 ...]`<br><b>Display the PKGBUILD file (build information) of one or more AUR packages</b>`auracle show [package1 package2 ...]`<br><b>Display updates for installed AUR packages</b>`auracle outdated`


title: TLDR
content:
<b>Cancel a job using its ID</b>`scancel [job_id]`<br><b>Cancel all jobs from a user</b>`scancel [user_name]`


title: TLDR
content:
<b>Retrieve current status of the jail service</b>`fail2ban-client status [jail]`<br><b>Remove the specified IP from the jail service's ban list</b>`fail2ban-client set [jail] unbanip [ip]`<br><b>Verify fail2ban server is alive</b>`fail2ban-client ping`


title: TLDR
content:
<b>Switch to a specified branch, stashing and restoring unstaged changes</b>`git sw [target_branch]`<br><b>Synchronize current branch, automatically merging or rebasing, and stashing and unstashing</b>`git sync`<br><b>Publish a specified branch to the remote server</b>`git publish [branch_name]`<br><b>Remove a branch from the remote server</b>`git unpublish [branch_name]`<br><b>List all branches and their publication status</b>`git branches [glob_pattern]`<br><b>Remove the last commit from the history</b>`git undo --hard`


title: TLDR
content:
<b>Show information for job</b>`scontrol show job [job_id]`<br><b>Suspend a comma-separated list of running jobs</b>`scontrol suspend [job_id1,job_id2,...]`<br><b>Resume a comma-separated list of suspended jobs</b>`scontrol resume [job_id1,job_id2,...]`<br><b>Hold a comma-separated list of queued jobs (Use release command to permit the jobs to be scheduled)</b>`scontrol hold [job_id1,job_id2,...]`<br><b>Release a comma-separated list of suspended job</b>`scontrol release [job_id1,job_id2,...]`


title: TLDR
content:
<b>Display available modules</b>`module avail`<br><b>Search for a module by name</b>`module avail [module_name]`<br><b>Load a module</b>`module load [module_name]`<br><b>Display loaded modules</b>`module list`<br><b>Unload a specific loaded module</b>`module unload [module_name]`<br><b>Unload all loaded modules</b>`module purge`<br><b>Specify user-created modules</b>`module use [path/to/module_file1 path/to/module_file2 ...]`<br><b>Save the current set of loaded modules</b>`module save [collection_name]`


title: TLDR
content:
<b>Enumerate hosts with NULL sessions enabled and open shares</b>`smbmap --host-file [path/to/file]`<br><b>Display SMB shares and permissions on a [H]ost, prompting for user's password or NTLM hash</b>`smbmap [[-u|--username]] [username] --prompt -H [ip]`<br><b>Execute a shell command on a remote system</b>`smbmap [[-u|--username]] [username] --prompt -H [ip] -x [command]`<br><b>Enumerate hosts and check SMB file permissions</b>`smbmap --host-file [path/to/file] [[-u|--username]] [username] [[-p|--password]] [password] -q`<br><b>Connect to an ip or hostname through smb using a username and password</b>`smbmap [[-u|--username]] [username] [[-p|--password]] [password] -d [domain] -H [ip_or_hostname]`<br><b>Locate and download files [R]ecursively up to n levels depth, searching for filename pattern (regex), and excluding certain shares</b>`smbmap --host-file [path/to/file] [[-u|--username]] [username] [[-p|--password]] [password] -q -R --depth [n] --exclude [sharename] -A [filepattern]`<br><b>Upload file through smb using username and password</b>`smbmap [[-u|--username]] [username] [[-p|--password]] [password] -d [domain] -H [ip_or_hostname] --upload [path/to/file] '[/share_name/remote_filename]'`<br><b>Display SMB shares and recursively list directories and files, searching for file content matching a regex</b>`smbmap [[-u|--username]] [username] --prompt -H [ip] -R -F [pattern]`


title: TLDR
content:
<b>[r]econnect to a running server, and turn on logging 3 levels of [v]erbosity</b>`asterisk -r -vvv`<br><b>[r]econnect to a running server, run a single command, and return</b>`asterisk -r -x "[command]"`<br><b>Show chan_SIP clients (phones)</b>`asterisk -r -x "sip show peers"`<br><b>Show active calls and channels</b>`asterisk -r -x "core show channels"`<br><b>Show voicemail mailboxes</b>`asterisk -r -x "voicemail show users"`<br><b>Terminate a channel</b>`asterisk -r -x "hangup request [channel_ID]"`<br><b>Reload chan_SIP configuration</b>`asterisk -r -x "sip reload"`


title: TLDR
content:
<b>List all known package types that can be installed</b>`kpackagetool5 --list-types`<br><b>Install the package from a directory</b>`kpackagetool5 [[-t|--type]] [package_type] [[-i|--install]] [path/to/directory]`<br><b>Update installed package from a directory</b>`kpackagetool5 [[-t|--type]] [package_type] [[-u|--upgrade]] [path/to/directory]`<br><b>List installed plasmoids (--global for all users)</b>`kpackagetool5 [[-t|--type]] Plasma/Applet [[-l|--list]] [[-g|--global]]`<br><b>Remove a plasmoid by name</b>`kpackagetool5 [[-t|--type]] Plasma/Applet [[-r|--remove]] "[name]"`


title: TLDR
content:
<b>Watch a specific file for events, exiting after the first one</b>`inotifywait [path/to/file]`<br><b>Continuously watch a specific file for events without exiting</b>`inotifywait [[-m|--monitor]] [path/to/file]`<br><b>Watch a directory recursively for events</b>`inotifywait [[-m|--monitor]] [[-r|--recursive]] [path/to/directory]`<br><b>Watch a directory for changes, excluding files, whose names match a regex</b>`inotifywait [[-m|--monitor]] [[-r|--recursive]] --exclude "[regex]" [path/to/directory]`<br><b>Watch a file for changes, exiting when no event occurs for 30 seconds</b>`inotifywait [[-m|--monitor]] [[-t|--timeout]] [30] [path/to/file]`<br><b>Only watch a file for file modification events</b>`inotifywait [[-e|--event]] [modify] [path/to/file]`<br><b>Watch a file printing only events, and no status messages</b>`inotifywait [[-q|--quiet]] [path/to/file]`<br><b>Run a command when a file is accessed</b>`inotifywait [[-e|--event]] [access] [path/to/file] && [command]`


title: TLDR
content:
<b>Create a fullscreen screenshot</b>`flameshot full`<br><b>Create a screenshot interactively</b>`flameshot gui`<br><b>Create a screenshot and save it to a specific path</b>`flameshot gui [[-p|--path]] [path/to/directory]`<br><b>Create a screenshot interactively in a simplified mode</b>`flameshot launcher`<br><b>Create a screenshot from a specific monitor</b>`flameshot screen [[-n|--number]] [2]`<br><b>Create a screenshot and print it to stdout</b>`flameshot gui [[-r|--raw]]`<br><b>Create a screenshot and copy it to the clipboard</b>`flameshot gui [[-c|--clipboard]]`<br><b>Create a screenshot with a specific delay in milliseconds</b>`flameshot full [[-d|--delay]] [5000]`


title: TLDR
content:
<b>List all available probes</b>`sudo bpftrace -l`<br><b>Run a one-liner program (e.g. syscall count by program)</b>`sudo bpftrace -e '[tracepoint:raw_syscalls:sys_enter { @[comm] = count(); ]}'`<br><b>Run a program from a file</b>`sudo bpftrace [path/to/file]`<br><b>Trace a program by PID</b>`sudo bpftrace -e '[tracepoint:raw_syscalls:sys_enter /pid == 123/ { @[comm] = count(); ]}'`<br><b>Do a dry run and display the output in eBPF format</b>`sudo bpftrace -d -e '[one_line_program]'`<br><b>Display version</b>`bpftrace [[-V|--version]]`


title: TLDR
content:
<b>Show pipe delimited cluster utilization data</b>`sreport [[-p|--parsable]] cluster utilization`<br><b>Show number of jobs run</b>`sreport job sizes printjobcount`<br><b>Show users with the highest CPU time use</b>`sreport user topuser`


title: TLDR
content:
<b>View documentation for scanning files using the clamd daemon</b>`tldr clamdscan`<br><b>View documentation for scanning files without the clamd daemon running</b>`tldr clamscan`<br><b>View documentation for updating the virus definitions</b>`tldr freshclam`


title: TLDR
content:
<b>Search for duplicate extents in a directory and show them</b>`duperemove -r [path/to/directory]`<br><b>Deduplicate duplicate extents on a Btrfs or XFS (experimental) filesystem</b>`duperemove -r -d [path/to/directory]`<br><b>Use a hash file to store extent hashes (less memory usage and can be reused on subsequent runs)</b>`duperemove -r -d --hashfile=[path/to/hashfile] [path/to/directory]`<br><b>Limit I/O threads (for hashing and dedupe stage) and CPU threads (for duplicate extent finding stage)</b>`duperemove -r -d --hashfile=[path/to/hashfile] --io-threads=[n] --cpu-threads=[n] [path/to/directory]`


title: TLDR
content:
<b>Start a Tetris game</b>`yetris`<br><b>Navigate the piece horizontally</b>`[<ArrowLeft>|<ArrowRight>]`<br><b>Rotate the piece clockwise or counterclockwise</b>`[<x>|<z>]`<br><b>Hold a piece (only one allowed at a time)</b>`<c>`<br><b>Soft drop the piece</b>`<ArrowDown>`<br><b>Hard drop the piece</b>`<Space>`<br><b>Pause/unpause the game</b>`<p>`<br><b>Quit the game</b>`<q>`


title: TLDR
content:
<b>Run using interactive mode</b>`bitwise`<br><b>Convert from decimal</b>`bitwise [12345]`<br><b>Convert from hexadecimal</b>`bitwise [0x563d]`<br><b>Convert a C-style calculation</b>`bitwise "[0x123 + 0x20 - 30 / 50]"`


title: TLDR
content:
<b>Start a snake game</b>`snake4`<br><b>Choose level</b>`[<1>|<2>|<3>|<4>|<5>]`<br><b>Navigate the snake</b>`[<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>]`<br><b>Pause game</b>`<Space>`<br><b>Quit game</b>`<q>`<br><b>Show the high scores</b>`snake4 --highscores`


title: TLDR
content:
<b>Record a snippet in "CD" quality (finish with <Ctrl c> when done)</b>`arecord [[-vv|--verbose --verbose]] [[-f|--format]] cd [path/to/file.wav]`<br><b>Record a snippet in "CD" quality, with a fixed duration of 10 seconds</b>`arecord [[-vv|--verbose --verbose]] [[-f|--format]] cd [[-d|--duration]] [10] [path/to/file.wav]`<br><b>Record a snippet and save it as an MP3 (finish with <Ctrl c> when done)</b>`arecord [[-vv|--verbose --verbose]] [[-f|--format]] cd [[-t|--file-type]] raw | lame -r - [path/to/file.mp3]`<br><b>List all sound cards and digital audio devices</b>`arecord [[-l|--list-devices]]`<br><b>Allow interactive interface (e.g. use <Space> or <Enter> to play or pause)</b>`arecord [[-i|--interactive]]`<br><b>Test your microphone by recording a 5 second sample and playing it back</b>`arecord [[-d|--duration]] 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav`


title: TLDR
content:
<b>Run a simple command interactively</b>`srun hostname`<br><b>Run a job with 4 tasks (CPUs)</b>`srun [[-n|--ntasks]] 4 [path/to/program]`<br><b>Allocate 8 GB of memory</b>`srun --mem 8G [path/to/program]`<br><b>Run a job on a specific partition</b>`srun [[-p|--partition]] gpu [path/to/program]`<br><b>Run a job and save the output to a file</b>`srun [path/to/program] > [path/to/output]`


title: TLDR
content:
<b>Display status information of a comma-separated list of jobs</b>`sstat [[-j|--jobs]] [job_id]`<br><b>Display job ID, average CPU and average virtual memory size of a comma-separated list of jobs, with pipes as column delimiters</b>`sstat [[-p|--parsable]] [[-j|--jobs]] [job_id] [[-o|--format]] [JobID,AveCPU,AveVMSize]`<br><b>Display list of fields available</b>`sstat [[-e|--helpformat]]`


title: TLDR
content:
<b>Capture a screenshot and save it to the given path</b>`maim [path/to/screenshot.png]`<br><b>Capture a screenshot of the selected region</b>`maim [[-s|--select]] [path/to/screenshot.png]`<br><b>Capture a screenshot of the selected region and save it in the clipboard (requires xclip)</b>`maim [[-s|--select]] | xclip [[-se|-selection]] [[c|clipboard]] [[-t|-target]] image/png`<br><b>Capture a screenshot of the current active window (requires xdotool)</b>`maim [[-i|--window]] $(xdotool getactivewindow) [path/to/screenshot.png]`


title: TLDR
content:
<b>Execute command with specified argument(s) and save its output to log file</b>`logsave [path/to/logfile] [command]`<br><b>Take input from stdin and save it in a log file</b>`logsave [logfile] -`<br><b>Append the output to a log file, instead of replacing its current contents</b>`logsave -a [logfile] [command]`<br><b>Show verbose output</b>`logsave -v [logfile] [command]`


title: TLDR
content:
<b>Choose the server with the lowest latency</b>`sudo netselect [host_1 host_2 ...]`<br><b>Display nameserver resolution and statistics</b>`sudo netselect -vv [host_1 host_2 ...]`<br><b>Define maximum TTL (time to live)</b>`sudo netselect -m [10] [host_1 host_2 ...]`<br><b>Print n fastest servers among the hosts</b>`sudo netselect -s [n] [host_1 host_2 host_3 ...]`<br><b>Display help</b>`netselect`


title: TLDR
content:
<b>Start bpytop</b>`bpytop`<br><b>Start in minimal mode without memory and networking boxes</b>`bpytop -m`<br><b>Toggle minimal mode</b>`<m>`<br><b>Search for running programs or processes</b>`<f>`<br><b>Change settings</b>`<M>`<br><b>Display version</b>`bpytop -v`


title: TLDR
content:
<b>Print "Hello, world!"</b>`hello`<br><b>Print "hello, world", the traditional type</b>`hello [[-t|--traditional]]`<br><b>Print a text message</b>`hello [[-g|--greeting]] "[greeting_text]"`


title: TLDR
content:
<b>Convert an SVG file (should be an absolute path) to PNG</b>`ksvgtopng5 [width] [height] [path/to/file.svg] [output_filename.png]`


title: TLDR
content:
<b>Create sources.list using the lowest latency server</b>`sudo netselect-apt`<br><b>Specify Debian branch, stable is used by default</b>`sudo netselect-apt [testing]`<br><b>Include non-free section</b>`sudo netselect-apt [[-n|--non-free]]`<br><b>Specify a country for the mirror list lookup</b>`sudo netselect-apt [[-c|--country]] [India]`


title: TLDR
content:
<b>Synchronize date and time</b>`sudo htpdate [host]`<br><b>Perform simulation of synchronization, without any action</b>`htpdate -q [host]`<br><b>Compensate the systematic clock drift</b>`sudo htpdate -x [host]`<br><b>Set time immediate after the synchronization</b>`sudo htpdate -s [host]`


title: TLDR
content:
<b>Display a random name (male or female) and address</b>`rig`<br><b>Display a [m]ale (or [f]emale) random name and address</b>`rig -[m|f]`<br><b>Use [d]ata files from a specific directory (default is /usr/share/rig)</b>`rig -d [path/to/directory]`<br><b>Display a specific number of identities</b>`rig -c [number]`<br><b>Display a specific number of [f]emale identities</b>`rig -f -c [number]`


title: TLDR
content:
<b>Display users in the system</b>`lslogins`<br><b>Display users belonging to a specific group</b>`lslogins [[-g|--groups]] [groups]`<br><b>Display user accounts</b>`lslogins [[-u|--user-accs]]`<br><b>Display last logins</b>`lslogins [[-L|--last]]`<br><b>Display system accounts</b>`lslogins [[-s|--system-accs]]`<br><b>Display supplementary groups</b>`lslogins [[-G|--supp-groups]]`


title: TLDR
content:
<b>Restore all deleted files inside partition N on device X</b>`sudo extundelete [/dev/sdXN] --restore-all`<br><b>Restore a file from a path relative to root (Do not start the path with /)</b>`extundelete [/dev/sdXN] --restore-file [path/to/file]`<br><b>Restore a directory from a path relative to root (Do not start the path with /)</b>`extundelete [/dev/sdXN] --restore-directory [path/to/directory]`<br><b>Restore all files deleted after January 1st, 2020 (in Unix time)</b>`extundelete [/dev/sdXN] --restore-all --after [1577840400]`


title: TLDR
content:
<b>Query the system information of a remote host using SNMPv1 and a community string</b>`snmpwalk -v 1 -c [community] [ip]`<br><b>Query system information on a remote host by OID using SNMPv2 on a specified port</b>`snmpwalk -v 2c -c [community] [ip]:[port] [oid]`<br><b>Query system information on a remote host by OID using SNMPv3 and authentication without encryption</b>`snmpwalk -v 3 -l [authNoPriv] -u [username] -a [MD5|SHA] -A [passphrase] [ip] [oid]`<br><b>Query system information on a remote host by OID using SNMPv3, authentication, and encryption</b>`snmpwalk -v 3 -l [authPriv] -u [username] -a [MD5|SHA] -A [auth_passphrase] -x [DES|AES] -X [enc_passphrase] [ip] [oid]`<br><b>Query system information on a remote host by OID using SNMPv3 without authentication or encryption</b>`snmpwalk -v 3 -l [noAuthNoPriv] -u [username] [ip] [oid]`<br><b>Display help</b>`snmpwalk [[-h|--help]]`


title: TLDR
content:
<b>Wait for the user to make a selection and output its geometry to stdout</b>`slop`<br><b>Double click, rather than click and drag, to draw a selection</b>`slop [[-D|--nodrag]]`<br><b>Highlight the selection rather than outlining it</b>`slop [[-l|--highlight]]`<br><b>Specify the output format</b>`slop [[-f|--format]] [format_string]`<br><b>Specify the selection rectangle's color</b>`slop [[-c|--color]] [red],[green],[blue],[alpha]`


title: TLDR
content:
<b>Display job ID, job name, partition, account, number of allocated cpus, job state, and job exit codes for recent jobs</b>`sacct`<br><b>Display job ID, job state, job exit code for recent jobs</b>`sacct [[-b|--brief]]`<br><b>Display the allocations of a job</b>`sacct [[-j|--jobs]] [job_id] [[-X|--allocations]]`<br><b>Display elapsed time, job name, number of requested CPUs, and memory requested of a job</b>`sacct [[-j|--jobs]] [job_id] [[-o|--format]] Elapsed,JobName,ReqCPUS,ReqMem`<br><b>Display recent jobs that occurred from one week ago up to the present day</b>`sacct [[-S|--starttime]] $(date [[-d|--date]] "1 week ago" +'%F')`<br><b>Output a larger number of characters for an attribute</b>`sacct [[-o|--format]] JobID,JobName%100`


title: TLDR
content:
<b>Display 100 decimal digits of Archimedes' constant Pi</b>`pi`<br><b>Display a specified number of decimal digits of Archimedes' constant Pi</b>`pi [number]`<br><b>Display recommended readings</b>`pi --bibliography`<br><b>Display help</b>`pi --help`<br><b>Display version</b>`pi --version`


title: TLDR
content:
<b>Lock every console (require current user or root to unlock)</b>`physlock`<br><b>Mute kernel messages on console while locked</b>`physlock -m`<br><b>Disable SysRq mechanism while locked</b>`physlock -s`<br><b>Display a message before the password prompt</b>`physlock -p "[Locked!]"`<br><b>Fork and detach physlock (useful for suspend or hibernate scripts)</b>`physlock -d`


title: TLDR
content:
<b>Display traffic summary for all interfaces</b>`vnstat`<br><b>Display traffic summary for a specific network interface</b>`vnstat [[-i|--iface]] [network_interface]`<br><b>Display live stats for a specific network interface</b>`vnstat [[-l|--live]] [[-i|--iface]] [network_interface]`<br><b>Show traffic statistics on an hourly basis for the last 24 hours using a bar graph</b>`vnstat [[-hg|--hoursgraph]]`<br><b>Measure and show average traffic for 30 seconds</b>`vnstat [[-tr|--traffic]] [30]`


title: TLDR
content:
<b>Extract a specific archive into the current directory</b>`ark [[-b|--batch]] [path/to/archive]`<br><b>Extract an archive into a specific directory</b>`ark [[-b|--batch]] [[-o|--destination]] [path/to/directory] [path/to/archive]`<br><b>Create an archive if it does not exist and add specific files to it</b>`ark [[-t|--add-to]] [path/to/archive] [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>Show current configuration</b>`sacctmgr show configuration`<br><b>Add a cluster to the slurm database</b>`sacctmgr add cluster [cluster_name]`<br><b>Add an account to the slurm database</b>`sacctmgr add account [account_name] cluster=[cluster_of_account]`<br><b>Show details of user/association/cluster/account using a specific format</b>`sacctmgr show [user|association|cluster|account] format="Account%10" format="GrpTRES%30"`


title: TLDR
content:
<b>Run the protontricks GUI</b>`protontricks --gui`<br><b>Run Winetricks for a specific game</b>`protontricks [appid] [winetricks_args]`<br><b>Run a command within a game's installation directory</b>`protontricks [[-c|--command]] [command] [appid]`<br><b>List all installed games</b>`protontricks [[-l|--list]]`<br><b>Search for a game's App ID by name</b>`protontricks [[-s|--search]] [game_name]`<br><b>Run an executable in the proton environment of a specific game</b>`protontricks-launch --appid [appid] [path/to/executable.exe]`<br><b>Display help</b>`protontricks [[-h|--help]]`


title: TLDR
content:
<b>Mirror an image horizontally or vertically</b>`jpegtran [[-f|-flip]] [horizontal|vertical] [path/to/image.jpg] > [path/to/output.jpg]`<br><b>Rotate an image 90, 180 or 270 degrees clockwise</b>`jpegtran [[-ro|-rotate]] [90|180|270] [path/to/image.jpg] > [path/to/output.jpg]`<br><b>Transpose the image across the upper-left to lower right axis</b>`jpegtran -transpose [path/to/image.jpg] > [path/to/output.jpg]`<br><b>Transverse the image across the upper right to lower left axis</b>`jpegtran -transverse [path/to/image.jpg] > [path/to/output.jpg]`<br><b>Convert the image to grayscale</b>`jpegtran [[-g|-grayscale]] [path/to/image.jpg] > [path/to/output.jpg]`<br><b>Crop the image to a rectangular region of width W and height H from the upper-left corner, saving the output to a specific file</b>`jpegtran -crop [W]x[H] -outfile [path/to/output.jpg] [path/to/image.jpg]`<br><b>Crop the image to a rectangular region of width W and height H, starting at point X and Y from the upper-left corner</b>`jpegtran -crop [W]x[H]+[X]+[Y] [path/to/image.jpg] > [path/to/output.jpg]`


title: TLDR
content:
<b>Search for a package</b>`eix [query]`<br><b>Search for installed packages</b>`eix --installed [query]`<br><b>Search in package descriptions</b>`eix --description "[description]"`<br><b>Search by package license</b>`eix --license [license]`<br><b>Exclude results from search</b>`eix --not --license [license]`


title: TLDR
content:
<b>Read JPEG image from a file and print in ASCII</b>`jp2a [path/to/image.jpeg]`<br><b>Read JPEG image from a URL and print in ASCII</b>`jp2a [www.example.com/image.jpeg]`<br><b>Colorize the ASCII output</b>`jp2a --colors [path/to/image.jpeg]`<br><b>Specify characters to be used for the ASCII output</b>`jp2a --chars='[..-ooxx@@]' [path/to/image.jpeg]`<br><b>Write the ASCII output into a file</b>`jp2a --output=[path/to/output_file.txt] [path/to/image.jpeg]`<br><b>Write the ASCII output in HTML file format, suitable for viewing in web browsers</b>`jp2a --html --output=[path/to/output_file.html] [path/to/image.jpeg]`


title: TLDR
content:
<b>List currently running Docker containers</b>`docker ps`<br><b>List all Docker containers (running and stopped)</b>`docker ps [[-a|--all]]`<br><b>Show the latest created container (includes all states)</b>`docker ps [[-l|--latest]]`<br><b>Filter containers that contain a substring in their name</b>`docker ps [[-f|--filter]] "name=[name]"`<br><b>Filter containers that share a given image as an ancestor</b>`docker ps [[-f|--filter]] "ancestor=[image]:[tag]"`<br><b>Filter containers by exit status code</b>`docker ps [[-a|--all]] [[-f|--filter]] "exited=[code]"`<br><b>Filter containers by status (created, running, removing, paused, exited and dead)</b>`docker ps [[-f|--filter]] "status=[status]"`<br><b>Filter containers that mount a specific volume or have a volume mounted in a specific path</b>`docker ps [[-f|--filter]] "volume=[path/to/directory]" --format "table [.ID]\t[.Image]\t[.Names]\t[.Mounts]"`


title: TLDR
content:
<b>Print a summary of the image Exif metadata</b>`exiv2 [path/to/file]`<br><b>Print all metadata (Exif, IPTC, XMP) with interpreted values</b>`exiv2 [[-P|-Print]] kt [path/to/file]`<br><b>Print all metadata with raw values</b>`exiv2 [[-P|-Print]] kv [path/to/file]`<br><b>Delete all metadata from an image</b>`exiv2 [[-d|--delete]] a [path/to/file]`<br><b>Delete all metadata, preserving the file timestamp</b>`exiv2 [[-d|--delete]] a [[-k|--keep]] [path/to/file]`<br><b>Rename the file, prepending the date and time from metadata (not from the file timestamp)</b>`exiv2 [[-r|--rename]] '[%Y%m%d_%H%M%S_:basename:]' [path/to/file]`


title: TLDR
content:
<b>Probe a list of domains from a text file</b>`cat [input_file] | httprobe`<br><b>Only check for HTTP if HTTPS is not working</b>`cat [input_file] | httprobe --prefer-https`<br><b>Probe additional ports with a given protocol</b>`cat [input_file] | httprobe -p [https:2222]`<br><b>Display help</b>`httprobe --help`


title: TLDR
content:
<b>Generate one passphrase with the default options</b>`xkcdpass`<br><b>Generate one passphrase whose first letters of each word match the provided argument</b>`xkcdpass [[-a|--acrostic]] [acrostic]`<br><b>Generate passwords interactively</b>`xkcdpass [[-i|--interactive]]`


title: TLDR
content:
<b>Display all bookmarks matching "keyword" and with "privacy" tag</b>`buku [keyword] [[-t|--stag]] [privacy]`<br><b>Add bookmark with tags "search engine" and "privacy"</b>`buku [[-a|--add]] [https://example.com] [search engine], [privacy]`<br><b>Delete a bookmark</b>`buku [[-d|--delete]] [bookmark_id]`<br><b>Open editor to edit a bookmark</b>`buku [[-w|--write]] [bookmark_id]`<br><b>Remove "search engine" tag from a bookmark</b>`buku [[-u|--update]] [bookmark_id] --tag - [search engine]`


title: TLDR
content:
<b>Check the spelling of a file</b>`hunspell [path/to/file]`<br><b>Check the spelling of a file with the en_US dictionary</b>`hunspell -d [en_US] [path/to/file]`<br><b>List misspelled words in a file</b>`hunspell -l [path/to/file]`


title: TLDR
content:
<b>Display help</b>`docker inspect`<br><b>Display information about a container, image, or volume using a name or ID</b>`docker inspect [container|image|ID]`<br><b>Display a container's IP address</b>`docker inspect [[-f|--format]] '\{\{range.NetworkSettings.Networks\}\}\{\{.IPAddress\}\}\{\{end\}\}' [container]`<br><b>Display the path to the container's log file</b>`docker inspect [[-f|--format]] '\{\{.LogPath\}\}' [container]`<br><b>Display the image name of the container</b>`docker inspect [[-f|--format]] '\{\{.Config.Image\}\}' [container]`<br><b>Display the configuration information as JSON</b>`docker inspect [[-f|--format]] '\{\{json .Config\}\}' [container]`<br><b>Display all port bindings</b>`docker inspect [[-f|--format]] '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' [container]`


title: TLDR
content:
<b>Run a collection (from a file)</b>`newman run [path/to/collection.json]`<br><b>Run a collection (from a URL)</b>`newman run [https://www.getpostman.com/collections/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65-JsLv]`


title: TLDR
content:
<b>First import feed URLs from an OPML file</b>`newsboat [[-i|--import-from-opml]] [my-feeds.xml]`<br><b>Alternatively, add feeds manually</b>`echo [http://example.com/path/to/feed] >> "${HOME}/.newsboat/urls"`<br><b>Start Newsboat and refresh all feeds on startup</b>`newsboat [[-r|--refresh-on-start]]`<br><b>Execute one or more commands in non-interactive mode</b>`newsboat [[-x|--execute]] [reload|print-unread|...]`<br><b>See keyboard shortcuts (the most relevant are visible in the status line)</b>`<?>`


title: TLDR
content:
<b>Log in to <https://console.firebase.google.com></b>`firebase login`<br><b>List existing Firebase projects</b>`firebase projects:list`<br><b>Start an interactive wizard to create a Firebase project in the current directory</b>`firebase init`<br><b>Deploy code and assets to the current Firebase project</b>`firebase deploy`<br><b>Start a local server to statically host the current Firebase project's assets</b>`firebase serve`<br><b>Start an interactive wizard to open one of many links of the current Firebase project in the default web browser</b>`firebase open`


title: TLDR
content:
<b>Start an access point</b>`sudo hostapd [path/to/hostapd.conf]`<br><b>Start an access point, forking into the background</b>`sudo hostapd -B [path/to/hostapd.conf]`


title: TLDR
content:
<b>Strip nondeterministic information from a file</b>`strip-nondeterminism [path/to/file]`<br><b>Strip nondeterministic information from a file manually specifying the filetype</b>`strip-nondeterminism --type [filetype] [path/to/file]`<br><b>Strip nondeterministic information from a file; instead of removing timestamps set them to the specified UNIX timestamp</b>`strip-nondeterminism --timestamp [unix_timestamp] [path/to/file]`


title: TLDR
content:
<b>Connect to the default X server</b>`twm`<br><b>Connect to a specific X server</b>`twm [[-d|-display]] [display]`<br><b>Only manage the default screen</b>`twm [[-s|-single]]`<br><b>Use a specific startup file</b>`twm [[-f|-file]] [path/to/file]`<br><b>Enable verbose mode and print unexpected errors in X</b>`twm [[-v|-verbose]]`


title: TLDR
content:
<b>Initialize a project with a skeleton configuration</b>`wrangler init [project_name]`<br><b>Authenticate with Cloudflare</b>`wrangler login`<br><b>Start a local development server</b>`wrangler dev --host [hostname]`<br><b>Publish the worker script</b>`wrangler publish`<br><b>Aggregate logs from the production worker</b>`wrangler tail`


title: TLDR
content:
<b>Start the server</b>`var-dump-server`<br><b>Dump the data in an HTML file</b>`var-dump-server --format=html > [path/to/file.html]`<br><b>Make the server listen on a specific address and port</b>`var-dump-server --host [127.0.0.1:9912]`


title: TLDR
content:
<b>Compare DVC tracked files from different Git commits, tags, and branches w.r.t the current workspace</b>`dvc diff [commit_hash/tag/branch]`<br><b>Compare the changes in DVC tracked files from 1 Git commit to another</b>`dvc diff [revision1] [revision2]`<br><b>Compare DVC tracked files, along with their latest hash</b>`dvc diff --show-hash [commit]`<br><b>Compare DVC tracked files, displaying the output as JSON</b>`dvc diff --show-json --show-hash [commit]`<br><b>Compare DVC tracked files, displaying the output as Markdown</b>`dvc diff --show-md --show-hash [commit]`


title: TLDR
content:
<b>Make a desktop app for a website</b>`nativefier [url]`<br><b>Create a desktop app with a custom name</b>`nativefier --name [name] [url]`<br><b>Use a custom icon, should be a PNG</b>`nativefier --icon [path/to/icon.png] [url]`


title: TLDR
content:
<b>Compare files or directories</b>`delta [path/to/old_file_or_directory] [path/to/new_file_or_directory]`<br><b>Compare files or directories, showing the line numbers</b>`delta [[-n|--line-numbers]] [path/to/old_file_or_directory] [path/to/new_file_or_directory]`<br><b>Compare files or directories, showing the differences side by side</b>`delta [[-s|--side-by-side]] [path/to/old_file_or_directory] [path/to/new_file_or_directory]`<br><b>Compare files or directories, ignoring any Git configuration settings</b>`delta --no-gitconfig [path/to/old_file_or_directory] [path/to/new_file_or_directory]`<br><b>Compare, rendering commit hashes, file names, and line numbers as hyperlinks, according to the hyperlink spec for terminal emulators</b>`delta --hyperlinks [path/to/old_file_or_directory] [path/to/new_file_or_directory]`<br><b>Display the current settings</b>`delta --show-config`<br><b>Display supported languages and associated file extensions</b>`delta --list-languages`


title: TLDR
content:
<b>Start an interactive session</b>`iex`<br><b>Start a session that remembers history</b>`iex --erl "-kernel shell_history enabled"`<br><b>Start and load Mix project files</b>`iex -S mix`


title: TLDR
content:
<b>Send an empty request</b>`grpcurl [grpc.server.com:443] [my.custom.server.Service/Method]`<br><b>Send a request with a header and a body</b>`grpcurl -H "[Authorization: Bearer $token]" -d '[{"foo": "bar"]}' [grpc.server.com:443] [my.custom.server.Service/Method]`<br><b>List all services exposed by a server</b>`grpcurl [grpc.server.com:443] list`<br><b>List all methods in a particular service</b>`grpcurl [grpc.server.com:443] list [my.custom.server.Service]`


title: TLDR
content:
<b>Convert a file to the specified format (automatically determined from the file extension)</b>`mmdc [[-i|--input]] [input.mmd] [[-o|--output]] [output.svg]`<br><b>Specify the theme of the chart</b>`mmdc [[-i|--input]] [input.mmd] [[-o|--output]] [output.svg] [[-t|--theme]] [forest|dark|neutral|default]`<br><b>Specify the background color of the chart (e.g. lime, "#D8064F", or transparent)</b>`mmdc [[-i|--input]] [input.mmd] [[-o|--output]] [output.svg] [[-b|--backgroundColor]] [color]`


title: TLDR
content:
<b>Start a Hive interactive shell</b>`hive`<br><b>Run HiveQL</b>`hive -e "[hiveql_query]"`<br><b>Run a HiveQL file with a variable substitution</b>`hive [[-d|--define]] [key]=[value] -f [path/to/file.sql]`<br><b>Run a HiveQL with HiveConfig (e.g. mapred.reduce.tasks=32)</b>`hive --hiveconf [conf_name]=[conf_value]`


title: TLDR
content:
<b>Format C/C++ source according to the Linux style guide, automatically back up the original files, and replace with the indented versions</b>`indent [[-linux|--linux-style]] [path/to/source1.c path/to/source2.c ...]`<br><b>Format C/C++ source according to the GNU style, saving the indented version to a different file</b>`indent [[-gnu|--gnu-style]] [path/to/source.c] -o [path/to/indented_source.c]`<br><b>Format C/C++ source according to the style of Kernighan & Ritchie (K&R), no tabs, 3 spaces per indent, and wrap lines at 120 characters</b>`indent [[-kr|--k-and-r-style]] [[-il|--indent-level]]3 [[-nut|--no-tabs]] [[-l|--line-length]]120 [path/to/source.c] -o [path/to/indented_source.c]`


title: TLDR
content:
<b>Save an image by redirecting stdout to a tar archive</b>`docker save [image]:[tag] > [path/to/file.tar]`<br><b>Save an image to a tar archive</b>`docker save [[-o|--output]] [path/to/file.tar] [image]:[tag]`<br><b>Save all tags of the image</b>`docker save [[-o|--output]] [path/to/file.tar] [image_name]`<br><b>Cherry-pick particular tags of an image to save</b>`docker save [[-o|--output]] [path/to/file.tar] [image_name:tag1 image_name:tag2 ...]`


title: TLDR
content:
<b>Analyze specific directory</b>`dua [path/to/directory]`<br><b>Display apparent size instead of disk usage</b>`dua --apparent-size`<br><b>Count hard-linked files each time they are seen</b>`dua --count-hard-links`<br><b>Aggregate the consumed space of one or more directories or files</b>`dua aggregate`<br><b>Launch the terminal user interface</b>`dua interactive`<br><b>Format printing byte counts</b>`dua --format [metric|binary|bytes|GB|GiB|MB|MiB]`<br><b>Use a specific number of threads (defaults to the process number of threads)</b>`dua --threads [count]`


title: TLDR
content:
<b>Generate a .phan/config.php in the current directory</b>`phan --init`<br><b>Generate a Phan configuration file using a specific level (1 being strictest to 5 being the least strict)</b>`phan --init --init-level [level]`<br><b>Analyze the current directory</b>`phan`<br><b>Analyze one or more directories</b>`phan [--directory path/to/directory1 --directory path/to/directory2 ...]`<br><b>Specify a configuration file (defaults to .phan/config.php)</b>`phan --config-file [path/to/config.php]`<br><b>Specify the output mode</b>`phan --output-mode [text|verbose|json|csv|codeclimate|checkstyle|pylint|html]`<br><b>Specify the number of parallel processes</b>`phan --processes [number_of_processes]`


title: TLDR
content:
<b>Configure for first use</b>`notmuch setup`<br><b>Add a tag for all messages matching a search term</b>`notmuch tag +[custom_tag] "[search_term]"`<br><b>Remove a tag for all messages matching a search term</b>`notmuch tag -[custom_tag] "[search_term]"`<br><b>Count messages matching the given search term</b>`notmuch count --output=[messages|threads] "[search_term]"`<br><b>Search for messages matching the given search term</b>`notmuch search --format=[json|text] --output=[summary|threads|messages|files|tags] "[search_term]"`<br><b>Limit the number of search results to X</b>`notmuch search --format=[json|text] --output=[summary|threads|messages|files|tags] --limit=[X] "[search_term]"`<br><b>Create a reply template for a set of messages</b>`notmuch reply --format=[default|headers-only] --reply-to=[sender|all] "[search_term]"`


title: TLDR
content:
<b>Compile a source file to a native binary and link with packages</b>`ocamlfind ocamlopt -package [package1,package2,...] -linkpkg -o [path/to/executable] [path/to/source.ml]`<br><b>Compile a source file to a bytecode binary and link with packages</b>`ocamlfind ocamlc -package [package1,package2,...] -linkpkg -o [path/to/executable] [path/to/source.ml]`<br><b>Cross-compile for a different platform</b>`ocamlfind -toolchain [cross-toolchain] ocamlopt -o [path/to/executable] [path/to/source.ml]`


title: TLDR
content:
<b>List the stacks in the app</b>`cdk ls`<br><b>Synthesize and print the CloudFormation template for the specified stack(s)</b>`cdk synth [stack_name]`<br><b>Deploy one or more stacks</b>`cdk deploy [stack_name1 stack_name2 ...]`<br><b>Destroy one or more stacks</b>`cdk destroy [stack_name1 stack_name2 ...]`<br><b>Compare the specified stack with the deployed stack or a local CloudFormation template</b>`cdk diff [stack_name]`<br><b>Create a new CDK project in the current directory for a specified language</b>`cdk init [[-l|--language]] [language]`<br><b>Open the CDK API reference in your browser</b>`cdk docs`


title: TLDR
content:
<b>Start tunnel from a specific port</b>`lt [[-p|--port]] [8000]`<br><b>Specify the upstream server doing the forwarding</b>`lt [[-p|--port]] [8000] [[-h|--host]] [host]`<br><b>Request a specific subdomain</b>`lt [[-p|--port]] [8000] [[-s|--subdomain]] [subdomain]`<br><b>Print basic request info</b>`lt [[-p|--port]] [8000] --print-requests`<br><b>Open the tunnel URL in the default web browser</b>`lt [[-p|--port]] [8000] [[-o|--open]]`


title: TLDR
content:
<b>List datasets</b>`aws quicksight list-data-sets --aws-account-id [aws_account_id]`<br><b>List users</b>`aws quicksight list-users --aws-account-id [aws_account_id] --namespace default`<br><b>List groups</b>`aws quicksight list-groups --aws-account-id [aws_account_id] --namespace default`<br><b>List dashboards</b>`aws quicksight list-dashboards --aws-account-id [aws_account_id]`<br><b>Display detailed information about a dataset</b>`aws quicksight describe-data-set --aws-account-id [aws_account_id] --data-set-id [data_set_id]`<br><b>Display who has access to the dataset and what kind of actions they can perform on the dataset</b>`aws quicksight describe-data-set-permissions --aws-account-id [aws_account_id] --data-set-id [data_set_id]`


title: TLDR
content:
<b>Run a vala file, with gtk+</b>`vala [path/to/file.vala] --pkg [gtk+-3.0]`<br><b>Display help</b>`vala --help`<br><b>Display version</b>`vala --version`


title: TLDR
content:
<b>Setup up chezmoi, creating a Git repository in ~/.local/share/chezmoi</b>`chezmoi init`<br><b>Set up chezmoi from existing dotfiles of a Git repository</b>`chezmoi init [repository_url]`<br><b>Start tracking one or more dotfiles</b>`chezmoi add [path/to/dotfile1 path/to/dotfile2 ...]`<br><b>Update repository with local changes</b>`chezmoi re-add [path/to/dotfile1 path/to/dotfile2 ...]`<br><b>Edit the source state of a tracked dotfile</b>`chezmoi edit [path/to/dotfile_or_symlink]`<br><b>See pending changes</b>`chezmoi diff`<br><b>Apply the changes</b>`chezmoi -v apply`<br><b>Pull changes from a remote repository and apply them</b>`chezmoi update`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b>`ghci`<br><b>Start a REPL and load the specified Haskell source file</b>`ghci [source_file.hs]`<br><b>Start a REPL and enable a language option</b>`ghci -X[language_option]`<br><b>Start a REPL and enable some level of compiler warnings (e.g. all or compact)</b>`ghci -W[warning_level]`<br><b>Start a REPL with a colon-separated list of directories for finding source files</b>`ghci -i[path/to/directory1:path/to/directory2:...]`


title: TLDR
content:
<b>Display the start and expiry dates for a domain's certificate</b>`openssl s_client -connect [host]:[port] 2>/dev/null | openssl x509 -noout -dates`<br><b>Display the certificate presented by an SSL/TLS server</b>`openssl < /dev/null s_client -connect [host]:[port]`<br><b>Set the Server Name Indicator (SNI) when connecting to the SSL/TLS server</b>`openssl s_client -connect [host]:[port] -servername [hostname]`<br><b>Display the complete certificate chain of an HTTPS server</b>`openssl < /dev/null s_client -connect [host]:443 -showcerts`


title: TLDR
content:
<b>Run Python web app</b>`uvicorn [import.path:app_object]`<br><b>Listen on port 8080 on localhost</b>`uvicorn --host [localhost] --port [8080] [import.path:app_object]`<br><b>Turn on live reload</b>`uvicorn --reload [import.path:app_object]`<br><b>Use 4 worker processes for handling requests</b>`uvicorn --workers [4] [import.path:app_object]`<br><b>Run app over HTTPS</b>`uvicorn --ssl-certfile [cert.pem] --ssl-keyfile [key.pem] [import.path:app_object]`


title: TLDR
content:
<b>List all available and configured networks on Docker daemon</b>`docker network ls`<br><b>Create a user-defined network</b>`docker network create [[-d|--driver]] [driver_name] [network_name]`<br><b>Display detailed information about one or more networks</b>`docker network inspect [network_name1 network_name2 ...]`<br><b>Connect a container to a network using a name or ID</b>`docker network connect [network_name] [container_name|ID]`<br><b>Disconnect a container from a network</b>`docker network disconnect [network_name] [container_name|ID]`<br><b>Remove all unused (not referenced by any container) networks</b>`docker network prune`<br><b>Remove one or more unused networks</b>`docker network rm [network_name1 network_name2 ...]`


title: TLDR
content:
<b>Generate a C project with a given name and version</b>`meson init [[-l|--language]] c [[-n|--name]] [myproject] --version [0.1]`<br><b>Configure the builddir with default values</b>`meson setup [build_directory]`<br><b>Build the project</b>`meson compile -C [path/to/build_directory]`<br><b>Run all tests in the project</b>`meson test`<br><b>Display help</b>`meson [[-h|--help]]`<br><b>Display version</b>`meson [[-v|--version]]`


title: TLDR
content:
<b>Extract name and version field</b>`recsel [[-p|--print]] name,version [data.rec]`<br><b>Use "~" to match a string with a given regex</b>`recsel [[-e|--expression]] "[field_name] ~ '[regex]' [data.rec]"`<br><b>Use a predicate to match a name and a version</b>`recsel [[-e|--expression]] "name ~ '[regex]' && version ~ '[regex]'" [data.rec]`


title: TLDR
content:
<b>List jobs</b>`aws glue list-jobs`<br><b>Start a job</b>`aws glue start-job-run --job-name [job_name]`<br><b>Start running a workflow</b>`aws glue start-workflow-run --name [workflow_name]`<br><b>List triggers</b>`aws glue list-triggers`<br><b>Start a trigger</b>`aws glue start-trigger --name [trigger_name]`<br><b>Create a dev endpoint</b>`aws glue create-dev-endpoint --endpoint-name [name] --role-arn [role_arn_used_by_endpoint]`


title: TLDR
content:
<b>Find subdomains for a domain</b>`sublist3r --domain [domain_name]`<br><b>Find subdomains for a domain, also enabling brute force search</b>`sublist3r --domain [domain_name] --bruteforce`<br><b>Save the found subdomains to a text file</b>`sublist3r --domain [domain_name] --output [path/to/output_file]`<br><b>Display help</b>`sublist3r --help`


title: TLDR
content:
<b>Run an Elixir file</b>`elixir [path/to/file]`<br><b>Evaluate Elixir code by passing it as an argument</b>`elixir [[-e|--eval]] "[code]"`


title: TLDR
content:
<b>Find (passively) subdomains of a [d]omain</b>`amass enum -d [domain_name]`<br><b>Find subdomains of a [d]omain and actively verify them attempting to resolve the found subdomains</b>`amass enum -active -d [domain_name] -p [80,443,8080]`<br><b>Do a brute force search for sub[d]omains</b>`amass enum -brute -d [domain_name]`<br><b>Save the results to a text file</b>`amass enum -o [output_file] -d [domain_name]`<br><b>Save terminal output to a file and other detailed output to a directory</b>`amass enum -o [output_file] -dir [path/to/directory] -d [domain_name]`<br><b>List all available data sources</b>`amass enum -list`


title: TLDR
content:
<b>Analyze a VHDL source file and produce an object file</b>`ghdl -a [filename.vhdl]`<br><b>Elaborate a design (where design is the name of a configuration unit, entity unit or architecture unit)</b>`ghdl -e [design]`<br><b>Run an elaborated design</b>`ghdl -r [design]`<br><b>Run an elaborated design and dump output to a waveform file</b>`ghdl -r [design] --wave=[output.ghw]`<br><b>Check the syntax of a VHDL source file</b>`ghdl -s [filename.vhdl]`<br><b>Display help</b>`ghdl --help`


title: TLDR
content:
<b>Test a server (run every check) on port 443</b>`testssl [example.com]`<br><b>Test a different port</b>`testssl [example.com:465]`<br><b>Only check available protocols</b>`testssl --protocols [example.com]`<br><b>Only check vulnerabilities</b>`testssl --vulnerable [example.com]`<br><b>Only check HTTP security headers</b>`testssl --headers [example.com]`<br><b>Test other STARTTLS enabled protocols</b>`testssl --starttls [ftp|smtp|pop3|imap|xmpp|sieve|xmpp-server|telnet|ldap|irc|lmtp|nntp|postgres|mysql] [example.com]:[port]`


title: TLDR
content:
<b>Print lines of code in the current directory</b>`scc`<br><b>Print lines of code in the target directory</b>`scc [path/to/directory]`<br><b>Display output for every file</b>`scc --by-file`<br><b>Display output using a specific output format (defaults to tabular)</b>`scc [[-f|--format]] [tabular|wide|json|csv|cloc-yaml|html|html-table]`<br><b>Only count files with specific file extensions</b>`scc [[-i|--include-ext]] [go,java,js]`<br><b>Exclude directories from being counted</b>`scc --exclude-dir [.git,.hg]`<br><b>Display output and sort by column (defaults to by files)</b>`scc [[-s|--sort]] [files|name|lines|blanks|code|comments|complexity]`<br><b>Display help</b>`scc [[-h|--help]]`


title: TLDR
content:
<b>Log in with interactive prompt</b>`gh auth login`<br><b>Log in with a token from stdin (created in <https://github.com/settings/tokens>)</b>`echo [your_token] | gh auth login --with-token`<br><b>Check if you are logged in</b>`gh auth status`<br><b>Log out</b>`gh auth logout`<br><b>Log in with a specific GitHub Enterprise Server</b>`gh auth login [[-h|--hostname]] [github.example.com]`<br><b>Refresh the session to ensure authentication credentials have the correct minimum scopes (removes additional scopes requested previously)</b>`gh auth refresh`<br><b>Expand the permission scopes</b>`gh auth refresh [[-s|--scopes]] [repo,admin:repo_hook,admin:org,admin:public_key,admin:org_hook,...]`


title: TLDR
content:
<b>Display the status of every service</b>`sudo gitlab-ctl status`<br><b>Display the status of a specific service</b>`sudo gitlab-ctl status [nginx]`<br><b>Restart every service</b>`sudo gitlab-ctl restart`<br><b>Restart a specific service</b>`sudo gitlab-ctl restart [nginx]`<br><b>Display the logs of every service and keep reading until <Ctrl c> is pressed</b>`sudo gitlab-ctl tail`<br><b>Display the logs of a specific service</b>`sudo gitlab-ctl tail [nginx]`<br><b>Send the SIGKILL signal to specific service</b>`sudo gitlab-ctl kill [nginx]`<br><b>Reconfigure the application</b>`sudo gitlab-ctl reconfigure`


title: TLDR
content:
<b>List users</b>`aws iam list-users`<br><b>List policies</b>`aws iam list-policies`<br><b>List groups</b>`aws iam list-groups`<br><b>Get users in a group</b>`aws iam get-group --group-name [group_name]`<br><b>Describe an IAM policy</b>`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/[policy_name]`<br><b>List access keys</b>`aws iam list-access-keys`<br><b>List access keys for a specific user</b>`aws iam list-access-keys --user-name [user_name]`<br><b>Display help</b>`aws iam help`


title: TLDR
content:
<b>Run a Shadowsocks proxy by specifying the host, server port, local port, password, and encryption method</b>`ss-local -s [host] -p [server_port] -l [local port] -k [password] -m [encrypt_method]`<br><b>Run a Shadowsocks proxy by specifying the configuration file</b>`ss-local -c [path/to/config_file.json]`<br><b>Use a plugin to run the proxy client</b>`ss-local --plugin [plugin_name] --plugin-opts [plugin_options]`<br><b>Enable TCP fast open</b>`ss-local --fast-open`


title: TLDR
content:
<b>Start a remote interactive shell on the emulator or device</b>`adb shell`<br><b>Get all the properties from emulator or device</b>`adb shell getprop`<br><b>Revert all runtime permissions to their default</b>`adb shell pm reset-permissions`<br><b>Revoke a dangerous permission for an application</b>`adb shell pm revoke [package] [permission]`<br><b>Trigger a key event</b>`adb shell input keyevent [keycode]`<br><b>Clear the data of an application on an emulator or device</b>`adb shell pm clear [package]`<br><b>Start an activity on emulator or device</b>`adb shell am start -n [package]/[activity]`<br><b>Start the home activity on an emulator or device</b>`adb shell am start -W -c android.intent.category.HOME -a android.intent.action.MAIN`


title: TLDR
content:
<b>Build Caddy server from source</b>`xcaddy build`<br><b>Build Caddy server with a specific version (defaults to latest)</b>`xcaddy build [version]`<br><b>Build Caddy with a specific module</b>`xcaddy build --with [module_name]`<br><b>Build Caddy and output to a specific file</b>`xcaddy build --output [path/to/file]`<br><b>Build and run Caddy for a development plugin in the current directory</b>`xcaddy run`<br><b>Build and run Caddy for a development plugin using a specific Caddy config</b>`xcaddy run --config [path/to/file]`


title: TLDR
content:
<b>Grant direnv permission to load the .envrc present in the current directory</b>`direnv allow [.]`<br><b>Revoke the authorization to load the .envrc present in the current directory</b>`direnv deny [.]`<br><b>Edit the .envrc file in the default text editor and reload the environment on exit</b>`direnv edit [.]`<br><b>Trigger a reload of the environment</b>`direnv reload`<br><b>Print some debug status information</b>`direnv status`


title: TLDR
content:
<b>Download a track or playlist</b>`deemix [https://www.deezer.com/us/track/00000000]`<br><b>Download track/playlist at a specific bitrate</b>`deemix --bitrate [FLAC|MP3] [url]`<br><b>Download to a specific path</b>`deemix --bitrate [bitrate] --path [path] [url]`<br><b>Create a portable deemix configuration file in the current directory</b>`deemix --portable --bitrate [bitrate] --path [path] [url]`


title: TLDR
content:
<b>Display the list of supported website search scripts (elvi)</b>`surfraw -elvi`<br><b>Open the elvi's results page for a specific search in the browser</b>`surfraw [elvi_name] "[search_terms]"`<br><b>Display an elvi description and its specific options</b>`surfraw [elvi_name] [[-lh|-local-help]]`<br><b>Search using an elvi with specific options and open the results page in the browser</b>`surfraw [elvi_name] [elvi_options] "[search_terms]"`<br><b>Display the URL to the elvi's results page for a specific search</b>`surfraw -print [elvi_name] "[search_terms]"`<br><b>Search using the alias</b>`sr [elvi_name] "[search_terms]"`


title: TLDR
content:
<b>Play an audio source exactly n times (0 means forever)</b>`mpg321 [[-l|--loop]] [n] [path/to/file1|URL1 path/to/file2|URL2 ...]`<br><b>Play a directory recursively</b>`mpg321 -B [path/to/directory]`<br><b>Enable Basic Keys ( * or / - Increase or decrease volume, n - Skip song, m - Mute/unmute.) while playing</b>`mpg321 -K [path/to/file1|URL1 path/to/file2|URL2 ...]`<br><b>Play files randomly until interrupted</b>`mpg321 [[-Z|--random]] [path/to/file1|URL1 path/to/file2|URL2 ...]`<br><b>Shuffle the files before playing them once</b>`mpg321 [[-z|--shuffle]] [path/to/file1|URL1 path/to/file2|URL2 ...]`<br><b>Play all files in the current directory and subdirectories, randomly (until interrupted), with Basic Keys enabled</b>`mpg321 -B [[-Z|--random]] -K .`


title: TLDR
content:
<b>Fetch the latest changes from the default remote upstream repository (if set)</b>`dvc fetch`<br><b>Fetch changes from a specific remote upstream repository</b>`dvc fetch [[-r|--remote]] [remote_name]`<br><b>Fetch the latest changes for a specific target/s</b>`dvc fetch [target/s]`<br><b>Fetch changes for all branch and tags</b>`dvc fetch [[-a|--all-branches]] [[-T|--all-tags]]`<br><b>Fetch changes for all commits</b>`dvc fetch [[-A|--all-commits]]`


title: TLDR
content:
<b>Create a sparsified compressed image without snapshots from an unsparsified one</b>`virt-sparsify --compress [path/to/image.qcow2] [path/to/image_new.qcow2]`<br><b>Sparsify an image in-place</b>`virt-sparsify --in-place [path/to/image.img]`


title: TLDR
content:
<b>Append file content to the source file</b>`cat [path/to/file] | sponge -a [path/to/file]`<br><b>Remove all lines starting with # in a file</b>`grep [[-v|--invert-match]] '^[#]' [path/to/file] | sponge [path/to/file]`


title: TLDR
content:
<b>Initialize a repo with Git annex</b>`git annex init`<br><b>Add a file</b>`git annex add [path/to/file_or_directory]`<br><b>Show the current status of a file or directory</b>`git annex status [path/to/file_or_directory]`<br><b>Synchronize a local repository with a remote</b>`git annex [remote]`<br><b>Get a file or directory</b>`git annex get [path/to/file_or_directory]`<br><b>Display help</b>`git annex help`


title: TLDR
content:
<b>Start Redis server, using the default port (6379), and write logs to stdout</b>`redis-server`<br><b>Start Redis server, using the default port, as a background process</b>`redis-server --daemonize yes`<br><b>Start Redis server, using the specified port, as a background process</b>`redis-server --port [port] --daemonize yes`<br><b>Start Redis server with a custom configuration file</b>`redis-server [path/to/redis.conf]`<br><b>Start Redis server with verbose logging</b>`redis-server --loglevel [warning|notice|verbose|debug]`


title: TLDR
content:
<b>Generate a simple regex</b>`grex [space_separated_strings]`<br><b>Generate a case-insensitive regex</b>`grex [[-i|--ignore-case]] [space_separated_strings]`<br><b>Replace digits with '\d'</b>`grex [[-d|--digits]] [space_separated_strings]`<br><b>Replace Unicode word character with '\w'</b>`grex [[-w|--words]] [space_separated_strings]`<br><b>Replace spaces with '\s'</b>`grex [[-s|--spaces]] [space_separated_strings]`<br><b>Add {min, max} quantifier representation for repeating sub-strings</b>`grex [[-r|--repetitions]] [space_separated_strings]`


title: TLDR
content:
<b>Scan a project with configuration file in your project's root directory named sonar-project.properties</b>`sonar-scanner`<br><b>Scan a project using configuration file other than sonar-project.properties</b>`sonar-scanner [[-D|--define]] [project.settings=myproject.properties]`<br><b>Print debugging information</b>`sonar-scanner [[-X|--debug]]`<br><b>Display help</b>`sonar-scanner [[-h|--help]]`


title: TLDR
content:
<b>Destroy the current project</b>`dvc destroy`<br><b>Force destroy the current project</b>`dvc destroy [[-f|--force]]`


title: TLDR
content:
<b>List the aliases that can be used to launch an instance</b>`multipass find`<br><b>Launch a new instance, set its name and use a cloud-init configuration file</b>`multipass launch [[-n|--name]] [instance_name] --cloud-init [configuration_file]`<br><b>List all the created instances and some of their properties</b>`multipass list`<br><b>Start a specific instance by name</b>`multipass start [instance_name]`<br><b>Show the properties of an instance</b>`multipass info [instance_name]`<br><b>Open a shell prompt on a specific instance by name</b>`multipass shell [instance_name]`<br><b>Delete an instance by name</b>`multipass delete [instance_name]`<br><b>Mount a directory into a specific instance</b>`multipass mount [path/to/local_directory] [instance_name]:[path/to/target_directory]`


title: TLDR
content:
<b>Add credentials to the secure keystore</b>`aws-vault add [profile]`<br><b>Execute a command with AWS credentials in the environment</b>`aws-vault exec [profile] -- [aws s3 ls]`<br><b>Open a browser window and login to the AWS Console</b>`aws-vault login [profile]`<br><b>List profiles, along with their credentials and sessions</b>`aws-vault list`<br><b>Rotate AWS credentials</b>`aws-vault rotate [profile]`<br><b>Remove credentials from the secure keystore</b>`aws-vault remove [profile]`


title: TLDR
content:
<b>Create a new functions project</b>`func init [project]`<br><b>Create a new function</b>`func new`<br><b>Run functions locally</b>`func start`<br><b>Publish your code to a function app in Azure</b>`func azure functionapp publish [function]`<br><b>Download all settings from an existing function app</b>`func azure functionapp fetch-app-settings [function]`<br><b>Get the connection string for a specific storage account</b>`func azure storage fetch-connection-string [storage_account]`


title: TLDR
content:
<b>Open a PDF file</b>`xpdf [path/to/file.pdf]`<br><b>Open a specific page in a PDF file</b>`xpdf [path/to/file.pdf] :[page_number]`<br><b>Open a compressed PDF file</b>`xpdf [path/to/file.pdf.tar]`<br><b>Open a PDF file in fullscreen mode</b>`xpdf -fullscreen [path/to/file.pdf]`<br><b>Specify the initial zoom</b>`xpdf -z [75]% [path/to/file.pdf]`<br><b>Specify the initial zoom at page width or full page</b>`xpdf -z [page|width] [path/to/file.pdf]`


title: TLDR
content:
<b>Execute an Amass subcommand</b>`amass [intel|enum] [options]`<br><b>Display help</b>`amass -help`<br><b>Display help on an Amass subcommand</b>`amass [intel|enum] -help`<br><b>Display version</b>`amass -version`


title: TLDR
content:
<b>Run an app in a temporary virtual environment</b>`pipx run [pycowsay] [moo]`<br><b>Install a package in a virtual environment and add entry points to path</b>`pipx install [package]`<br><b>List installed packages</b>`pipx list`<br><b>Run an app in a temporary virtual environment with a package name different from the executable</b>`pipx run --spec [httpx-cli] [httpx] [http://www.github.com]`<br><b>Inject dependencies into an existing virtual environment</b>`pipx inject [package] [dependency1 dependency2 ...]`<br><b>Install a package in a virtual environment with pip arguments</b>`pipx install --pip-args='[pip-args]' [package]`<br><b>Upgrade/reinstall/uninstall all installed packages</b>`pipx [upgrade-all|uninstall-all|reinstall-all]`


title: TLDR
content:
<b>Extract the second column from a CSV file</b>`csvtool [[-c|--column]] [2] [path/to/file.csv]`<br><b>Extract the second and fourth columns from a CSV file</b>`csvtool [[-c|--column]] [2,4] [path/to/file.csv]`<br><b>Extract lines from a CSV file where the second column exactly matches String</b>`csvtool [[-c|--column]] [2] [[-s|--search]] '[^String$]' [path/to/file.csv]`<br><b>Extract lines from a CSV file where the second column starts with Bar</b>`csvtool [[-c|--column]] [2] [[-s|--search]] '[^Bar]' [path/to/file.csv]`<br><b>Find lines in a CSV file where the second column ends with Baz and then extract the third and sixth columns</b>`csvtool [[-c|--column]] [2] [[-s|--search]] '[Baz$]' [path/to/file.csv] | csvtool [[-e|--no-header]] [[-c|--column]] [3,6]`


title: TLDR
content:
<b>Enter an interactive shell session on an already-running container</b>`docker exec [[-it|--interactive --tty]] [container_name] [/bin/bash]`<br><b>Run a command in the background (detached) on a running container</b>`docker exec [[-d|--detach]] [container_name] [command]`<br><b>Select the working directory for a given command to execute into</b>`docker exec [[-it|--interactive --tty]] [[-w|--workdir]] [path/to/directory] [container_name] [command]`<br><b>Run a command in background on existing container but keep stdin open</b>`docker exec [[-i|--interactive]] [[-d|--detach]] [container_name] [command]`<br><b>Set an environment variable in a running Bash session</b>`docker exec [[-it|--interactive --tty]] [[-e|--env]] [variable_name]=[value] [container_name] [/bin/bash]`<br><b>Run a command as a specific user</b>`docker exec [[-u|--user]] [user] [container_name] [command]`


title: TLDR
content:
<b>Compare two files</b>`diffoscope [path/to/file1] [path/to/file2]`<br><b>Compare two files without displaying a progress bar</b>`diffoscope --no-progress [path/to/file1] [path/to/file2]`<br><b>Compare two files and write an HTML-report to a file (use - for stdout)</b>`diffoscope --html [path/to/outfile|-] [path/to/file1] [path/to/file2]`<br><b>Compare two directories excluding files with a name matching a specified pattern</b>`diffoscope --exclude [pattern] [path/to/directory1] [path/to/directory2]`<br><b>Compare two directories and control whether directory metadata is considered</b>`diffoscope --exclude-directory-metadata [auto|yes|no|recursive] [path/to/directory1] [path/to/directory2]`


title: TLDR
content:
<b>Display help</b>`docker system`<br><b>Show Docker disk usage</b>`docker system df`<br><b>Show detailed information on disk usage</b>`docker system df [[-v|--verbose]]`<br><b>Remove unused data (append --volumes to remove unused volumes as well)</b>`docker system prune`<br><b>Remove unused data created more than a specified amount of time in the past</b>`docker system prune --filter "until=[hours]h[minutes]m"`<br><b>Display real-time events from the Docker daemon</b>`docker system events`<br><b>Display real-time events from containers streamed as valid JSON Lines</b>`docker system events [[-f|--filter]] 'type=container' --format '[json .]'`<br><b>Display system-wide information</b>`docker system info`


title: TLDR
content:
<b>Get all namespaces in the current cluster</b>`kubectl get [[ns|namespaces]]`<br><b>Get nodes in a specified namespace</b>`kubectl get [[no|nodes]] [[-n|--namespace]] [namespace]`<br><b>Get pods in a specified namespace</b>`kubectl get [[po|pods]] [[-n|--namespace]] [namespace]`<br><b>Get deployments in a specified namespace</b>`kubectl get [[deploy|deployments]] [[-n|--namespace]] [namespace]`<br><b>Get services in a specified namespace</b>`kubectl get [[svc|services]] [[-n|--namespace]] [namespace]`<br><b>Get other resources</b>`kubectl get [persistentvolumeclaims|secret|...]`<br><b>Get all resources in all namespaces</b>`kubectl get all [[-A|--all-namespaces]]`<br><b>Get Kubernetes objects defined in a YAML manifest file</b>`kubectl get [[-f|--filename]] [path/to/manifest.yaml]`


title: TLDR
content:
<b>Compile the project or solution in the current directory</b>`dotnet build`<br><b>Compile a .NET project or solution in debug mode</b>`dotnet build [path/to/project_or_solution]`<br><b>Compile in release mode</b>`dotnet build [[-c|--configuration]] [Release]`<br><b>Compile without restoring dependencies</b>`dotnet build --no-restore`<br><b>Compile with a specific verbosity level</b>`dotnet build [[-v|--verbosity]] [quiet|minimal|normal|detailed|diagnostic]`<br><b>Compile for a specific runtime</b>`dotnet build [[-r|--runtime]] [runtime_identifier]`<br><b>Specify the output directory</b>`dotnet build [[-o|--output]] [path/to/directory]`


title: TLDR
content:
<b>Lint a Dockerfile</b>`hadolint [path/to/Dockerfile]`<br><b>Lint a Dockerfile, displaying the output in JSON format</b>`hadolint --format [json] [path/to/Dockerfile]`<br><b>Lint a Dockerfile, displaying the output in a specific format</b>`hadolint --format [tty|json|checkstyle|codeclimate|codacy] [path/to/Dockerfile]`<br><b>Lint a Dockerfile ignoring specific rules</b>`hadolint --ignore [DL3006] --ignore [DL3008] [path/to/Dockerfile]`<br><b>Lint multiple Dockerfiles using specific trusted registries</b>`hadolint --trusted-registry [docker.io] --trusted-registry [example.com]:[5000] [path/to/Dockerfile1 path/to/Dockerfile2 ...]`


title: TLDR
content:
<b>Create a black window with display ID ":2"</b>`Xephyr -br -ac -noreset -screen [800x600] [:2]`<br><b>Start an X application on the new screen</b>`DISPLAY=:2 [command_name]`


title: TLDR
content:
<b>Initialize a new local repository</b>`dvc init`<br><b>Initialize DVC without Git</b>`dvc init --no-scm`<br><b>Initialize DVC in a subdirectory</b>`cd [path/to/subdirectory] && dvc init --sudir`


title: TLDR
content:
<b>Pull a playbook from a VCS and execute a default local.yml playbook</b>`ansible-pull [[-U|--url]] [repository_url]`<br><b>Pull a playbook from a VCS and execute a specific playbook</b>`ansible-pull [[-U|--url]] [repository_url] [playbook]`<br><b>Pull a playbook from a VCS at a specific branch and execute a specific playbook</b>`ansible-pull [[-U|--url]] [repository_url] [[-C|--checkout]] [branch] [playbook]`<br><b>Pull a playbook from a VCS, specify hosts file and execute a specific playbook</b>`ansible-pull [[-U|--url]] [repository_url] [[-i|--inventory-file]] [hosts_file] [playbook]`


title: TLDR
content:
<b>Garbage collect from the cache, keeping only versions referenced by the current workspace</b>`dvc gc [[-w|--workspace]]`<br><b>Garbage collect from the cache, keeping only versions referenced by branch, tags, and commits</b>`dvc gc [[-a|--all-branches]] [[-T|--all-tags]] [[-a|--all-commits]]`<br><b>Garbage collect from the cache, including the default cloud remote storage (if set)</b>`dvc gc [[-a|--all-commits]] [[-c|--cloud]]`<br><b>Garbage collect from the cache, including a specific cloud remote storage</b>`dvc gc [[-a|--all-commits]] [[-c|--cloud]] [[-r|--remote]] [remote_name]`


title: TLDR
content:
<b>List releases in a GitHub repository, limited to 30 items</b>`gh release [[ls|list]]`<br><b>Display information about a specific release</b>`gh release view [tag]`<br><b>Create a new release</b>`gh release [[new|create]] [tag]`<br><b>Delete a specific release</b>`gh release delete [tag]`<br><b>Download assets from a specific release</b>`gh release download [tag]`<br><b>Upload assets to a specific release</b>`gh release upload [tag] [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>Highlight source code from a file with the Python lexer and output to stdout</b>`chroma --lexer [python] [path/to/source_file.py]`<br><b>Highlight source code from a file with the Go lexer and output to an HTML file</b>`chroma --lexer [go] --formatter [html] [path/to/source_file.go] > [path/to/target_file.html]`<br><b>Highlight source code from stdin with the C++ lexer and output to an SVG file, using the Monokai style</b>`[command] | chroma --lexer [c++] --formatter [svg] --style [monokai] > [path/to/target_file.svg]`<br><b>List available lexers, styles and formatters</b>`chroma --list`


title: TLDR
content:
<b>Push an Android application to an emulator/device</b>`adb install [path/to/file.apk]`<br><b>Push an Android application to a specific emulator/device (overrides $ANDROID_SERIAL)</b>`adb -s [serial_number] install [path/to/file.apk]`<br><b>[r]einstall an existing app, keeping its data</b>`adb install -r [path/to/file.apk]`<br><b>Push an Android application allowing version code [d]owngrade (debuggable packages only)</b>`adb install -d [path/to/file.apk]`<br><b>[g]rant all permissions listed in the app manifest</b>`adb install -g [path/to/file.apk]`<br><b>Quickly update an installed package by only updating the parts of the APK that changed</b>`adb install --fastdeploy [path/to/file.apk]`


title: TLDR
content:
<b>Build the package and pass options to rustc</b>`cargo rustc -- [rustc_options]`<br><b>Build artifacts in release mode, with optimizations</b>`cargo rustc [[-r|--release]]`<br><b>Compile with architecture-specific optimizations for the current CPU</b>`cargo rustc [[-r|--release]] -- -C target-cpu=native`<br><b>Compile with speed optimizations</b>`cargo rustc -- -C opt-level [1|2|3]`<br><b>Compile with [s]ize optimizations (z also turns off loop vectorization)</b>`cargo rustc -- -C opt-level [s|z]`<br><b>Check if your package uses unsafe code</b>`cargo rustc --lib -- -D unsafe-code`<br><b>Build a specific package</b>`cargo rustc [[-p|--package]] [package]`<br><b>Build only the specified binary</b>`cargo rustc --bin [name]`


title: TLDR
content:
<b>Attempt to extract streams from the URL specified, and if it's successful, print out a list of available streams to choose from</b>`streamlink [example.com/stream]`<br><b>Open a stream with the specified quality</b>`streamlink [example.com/stream] [720p60]`<br><b>Select the highest or lowest available quality</b>`streamlink [example.com/stream] [best|worst]`<br><b>Use a specific player to feed stream data to (VLC is used by default if found)</b>`streamlink --player=[mpv] [example.com/stream] [best]`<br><b>Skip a specific amount of time from the beginning of the stream. For live streams, this is a negative offset from the end of the stream (rewind)</b>`streamlink --hls-start-offset [[HH:]MM:SS] [example.com/stream] [best]`<br><b>Skip to the beginning of a live stream, or as far back as possible</b>`streamlink --hls-live-restart [example.com/stream] [best]`<br><b>Write stream data to a file instead of playing it</b>`streamlink --output [path/to/file.ts] [example.com/stream] [best]`<br><b>Open the stream in the player, while at the same time writing it to a file</b>`streamlink --record [path/to/file.ts] [example.com/stream] [best]`


title: TLDR
content:
<b>Display a specific issue</b>`gh issue view [issue_number]`<br><b>Display a specific issue in the default web browser</b>`gh issue view [issue_number] [[-w|--web]]`<br><b>Create a new issue in the default web browser</b>`gh issue [[new|create]] [[-w|--web]]`<br><b>List the last 10 issues with the bug label</b>`gh issue [[ls|list]] [[-L|--limit]] 10 [[-l|--label]] "bug"`<br><b>List closed issues made by a specific user</b>`gh issue [[ls|list]] [[-s|--state]] closed [[-A|--author]] [username]`<br><b>Display the status of issues relevant to the user, in a specific repository</b>`gh issue status [[-R|--repo]] [owner]/[repository]`<br><b>Reopen a specific issue</b>`gh issue reopen [issue_number]`


title: TLDR
content:
<b>Register your authentication token</b>`expose token [token]`<br><b>Share the current working directory</b>`expose`<br><b>Share the current working directory with a specific subdomain</b>`expose --subdomain=[subdomain]`<br><b>Share a local URL</b>`expose share [url]`<br><b>Run the Expose server</b>`expose serve`<br><b>Run the Expose server with a specific hostname</b>`expose serve [hostname]`


title: TLDR
content:
<b>Log in to the Cloud Foundry API</b>`cf login -a [api_url]`<br><b>Push an app using the default settings</b>`cf push [app_name]`<br><b>View the services available from your organization</b>`cf marketplace`<br><b>Create a service instance</b>`cf create-service [service] [plan] [service_name]`<br><b>Connect an application to a service</b>`cf bind-service [app_name] [service_name]`<br><b>Run a script whose code is included in the app, but runs independently</b>`cf run-task [app_name] "[script_command]" --name [task_name]`<br><b>Start an interactive SSH session with a VM hosting an app</b>`cf ssh [app_name]`<br><b>View a dump of recent app logs</b>`cf logs [app_name] --recent`


title: TLDR
content:
<b>Generate a certificate signing request to be sent to a certificate authority</b>`openssl req -new -sha256 -key [filename.key] -out [filename.csr]`<br><b>Generate a self-signed certificate and a corresponding key-pair, storing both in a file</b>`openssl req -new -x509 -newkey [rsa]:[4096] -keyout [filename.key] -out [filename.cert] -subj "[/C=XX/CN=foobar]" -days [365]`


title: TLDR
content:
<b>Format a file and print the result to stdout</b>`clang-format [path/to/file]`<br><b>Format a file in-place</b>`clang-format -i [path/to/file]`<br><b>Format a file using a predefined coding style</b>`clang-format --style [LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit] [path/to/file]`<br><b>Format a file using the .clang-format file in one of the parent directories of the source file</b>`clang-format --style=file [path/to/file]`<br><b>Generate a custom .clang-format file</b>`clang-format --style [LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit] --dump-config > [.clang-format]`


title: TLDR
content:
<b>Read JSON from a file and execute a specified JSONPath expression</b>`ajson '[$..json[?(@.path)]]' [path/to/file.json]`<br><b>Read JSON from stdin and execute a specified JSONPath expression</b>`cat [path/to/file.json] | ajson '[$..json[?(@.path)]]'`<br><b>Read JSON from a URL and evaluate a specified JSONPath expression</b>`ajson '[avg($..price)]' '[https://example.com/api/]'`<br><b>Read some simple JSON and calculate a value</b>`echo '[3]' | ajson '[2 * pi * $]'`


title: TLDR
content:
<b>Compare files</b>`colordiff [file1] [file2]`<br><b>Output in two columns</b>`colordiff -y [file1] [file2]`<br><b>Ignore case differences in file contents</b>`colordiff -i [file1] [file2]`<br><b>Report when two files are the same</b>`colordiff -s [file1] [file2]`<br><b>Ignore whitespace</b>`colordiff -w [file1] [file2]`


title: TLDR
content:
<b>Get ephemerides for Paris, France</b>`kosmorro --latitude=[48.7996] --longitude=[2.3511]`<br><b>Get ephemerides for Paris, France, in the UTC+2 timezone</b>`kosmorro --latitude=[48.7996] --longitude=[2.3511] --timezone=[2]`<br><b>Get ephemerides for Paris, France, on June 9th, 2020</b>`kosmorro --latitude=[48.7996] --longitude=[2.3511] --date=[2020-06-09]`<br><b>Generate a PDF (Note: TeXLive must be installed)</b>`kosmorro --format=[pdf] --output=[path/to/file.pdf]`


title: TLDR
content:
<b>Search for a video</b>`youtube-viewer [search_term]`<br><b>Log in to your YouTube account</b>`youtube-viewer --login`<br><b>Watch a video with a specific URL in VLC</b>`youtube-viewer --player=[vlc] [https://youtube.com/watch?v=dQw4w9WgXcQ]`<br><b>Display a search prompt and play the selected video in 720p</b>`youtube-viewer -[7]`


title: TLDR
content:
<b>Create a new project</b>`tmuxinator new [project]`<br><b>Edit a project</b>`tmuxinator edit [project]`<br><b>List projects</b>`tmuxinator list`<br><b>Start a tmux session based on project</b>`tmuxinator start [project]`<br><b>Stop a project's tmux session</b>`tmuxinator stop [project]`


title: TLDR
content:
<b>Display the client version</b>`travis version`<br><b>Authenticate the CLI client against the server, using an authentication token</b>`travis login`<br><b>List repositories the user has permissions on</b>`travis repos`<br><b>Encrypt values in .travis.yml</b>`travis encrypt [token]`<br><b>Generate a .travis.yml file and enable the project</b>`travis init`


title: TLDR
content:
<b>Initialize a swarm cluster</b>`docker swarm init`<br><b>Display the token to join a manager or a worker</b>`docker swarm join-token [worker|manager]`<br><b>Join a new node to the cluster</b>`docker swarm join --token [token] [manager_node_url:2377]`<br><b>Remove a worker from the swarm (run inside the worker node)</b>`docker swarm leave`<br><b>Display the current CA certificate in PEM format</b>`docker swarm ca`<br><b>Rotate the current CA certificate and display the new certificate</b>`docker swarm ca --rotate`<br><b>Change the valid period for node certificates</b>`docker swarm update --cert-expiry [hours]h[minutes]m[seconds]s`


title: TLDR
content:
<b>Display a mirror of a connected device</b>`scrcpy`<br><b>Turn the device screen off and prevent it from sleeping while mirroring</b>`scrcpy [[-S|--turn-screen-off]] [[-w|--stay-awake]]`<br><b>Display a mirror of a specific device based on its ID or IP address (find it under the adb devices command)</b>`scrcpy [[-s|--serial]] [0123456789abcdef|192.168.0.1:5555]`<br><b>Start display in fullscreen mode</b>`scrcpy [[-f|--fullscreen]]`<br><b>Show touches on physical device</b>`scrcpy [[-t|--show-touches]]`<br><b>Record display screen</b>`scrcpy [[-r|--record]] [path/to/file.mp4]`<br><b>Specify the target directory for pushing files to device by drag and drop (non-APK)</b>`scrcpy --push-target [path/to/directory]`


title: TLDR
content:
<b>Compile a .NET project in release mode</b>`dotnet publish [[-c|--configuration]] Release [path/to/project_file]`<br><b>Publish the .NET Core runtime with your application for the specified runtime</b>`dotnet publish [[-sc|--self-contained]] true [[-r|--runtime]] [runtime_identifier] [path/to/project_file]`<br><b>Package the application into a platform-specific single-file executable</b>`dotnet publish [[-r|--runtime]] [runtime_identifier] -p:PublishSingleFile=true [path/to/project_file]`<br><b>Trim unused libraries to reduce the deployment size of an application</b>`dotnet publish [[-sc|--self-contained]] true [[-r|--runtime]] [runtime_identifier] -p:PublishTrimmed=true [path/to/project_file]`<br><b>Compile a .NET project without restoring dependencies</b>`dotnet publish --no-restore [path/to/project_file]`<br><b>Specify the output directory</b>`dotnet publish [[-o|--output]] [path/to/directory] [path/to/project_file]`


title: TLDR
content:
<b>Start an Android emulator device</b>`emulator -avd [name]`<br><b>Display the webcams on your development computer that are available for emulation</b>`emulator -avd [name] -webcam-list`<br><b>Start an emulator overriding the facing back camera setting (use -camera-front for front camera)</b>`emulator -avd [name] -camera-back [none|emulated|webcamN]`<br><b>Start an emulator, with a maximum network speed</b>`emulator -avd [name] -netspeed [gsm|hscsd|gprs|edge|hsdpa|lte|evdo|full]`<br><b>Start an emulator with network latency</b>`emulator -avd [name] -netdelay [gsm|hscsd|gprs|edge|hsdpa|lte|evdo|none]`<br><b>Start an emulator, making all TCP connections through a specified HTTP/HTTPS proxy (port number is required)</b>`emulator -avd [name] -http-proxy [http://example.com:80]`<br><b>Start an emulator with a given SD card partition image file</b>`emulator -avd [name] -sdcard [path/to/sdcard.img]`<br><b>Display help</b>`emulator -help`


title: TLDR
content:
<b>Run glow and select a file to view</b>`glow`<br><b>Render a Markdown file to the terminal</b>`glow [path/to/file]`<br><b>View a Markdown file using a paginator</b>`glow [[-p|--pager]] [path/to/file]`<br><b>View a file from a URL</b>`glow [https://example.com/file.md]`<br><b>View a GitHub/GitLab README</b>`glow [github.com/owner/repository]`


title: TLDR
content:
<b>List the services on a Docker daemon</b>`docker service ls`<br><b>Create a new service</b>`docker service create --name [service_name] [image]:[tag]`<br><b>Display detailed information about one or more services</b>`docker service inspect [service_name_or_ID1 service_name_or_ID2]`<br><b>List the tasks of one or more services</b>`docker service ps [service_name_or_ID1 service_name_or_ID2 ...]`<br><b>Scale to a specific number of replicas for a space-separated list of services</b>`docker service scale [service_name]=[count_of_replicas]`<br><b>Remove one or more services</b>`docker service rm [service_name_or_ID1 service_name_or_ID2]`


title: TLDR
content:
<b>List log groups</b>`awslogs groups`<br><b>List existing streams for the specified group</b>`awslogs streams [/var/log/syslog]`<br><b>Get logs for any streams in the specified group between 1 and 2 hours ago</b>`awslogs get [/var/log/syslog] [[-s|--start]] '[2h ago]' [[-e|--end]] '[1h ago]'`<br><b>Get logs that match a specific CloudWatch Logs Filter pattern</b>`awslogs get [/aws/lambda/my_lambda_group] --filter-pattern '[ERROR]'`<br><b>Watch logs for any streams in the specified group</b>`awslogs get [/var/log/syslog] ALL --watch`


title: TLDR
content:
<b>Execute the specified file and watch a specific file for changes</b>`nodemon [path/to/file.js]`<br><b>Manually restart nodemon (note nodemon must already be active for this to work)</b>`rs`<br><b>Ignore specific files</b>`nodemon [[-i|--ignore]] [path/to/file_or_directory]`<br><b>Pass arguments to the node application</b>`nodemon [path/to/file.js] [arguments]`<br><b>Pass arguments to node itself if they're not nodemon arguments already (e.g. --inspect)</b>`nodemon [arguments] [path/to/file.js]`<br><b>Run an arbitrary non-node script</b>`nodemon [[-x|--exec]] "[command_to_run_script] [options]" [path/to/script]`<br><b>Run a Python script</b>`nodemon [[-x|--exec]] "python [options]" [path/to/file.py]`


title: TLDR
content:
<b>Create a new Gist from one or more files</b>`gh gist [[new|create]] [path/to/file1 path/to/file2 ...]`<br><b>Create a new Gist with a specific [desc]ription</b>`gh gist [[new|create]] [path/to/file1 path/to/file2 ...] [[-d|--desc]] "[description]"`<br><b>Edit a Gist</b>`gh gist edit [id|url]`<br><b>List up to 42 Gists owned by the currently logged in user</b>`gh gist [[ls|list]] [[-L|--limit]] 42`<br><b>View a Gist in the default browser without rendering Markdown</b>`gh gist view [id|url] [[-w|--web]] [[-r|--raw]]`


title: TLDR
content:
<b>Make a virtual mosaic from all TIFF files contained in a directory</b>`gdalbuildvrt [path/to/output.vrt] [path/to/input_directory/*.tif]`<br><b>Make a virtual mosaic from files whose name is specified in a text file</b>`gdalbuildvrt -input_file_list [path/to/list.txt] [path/to/output.vrt]`<br><b>Make an RGB virtual mosaic from 3 single-band input files</b>`gdalbuildvrt -separate [path/to/rgb.vrt] [path/to/red.tif] [path/to/green.tif] [path/to/blue.tif]`<br><b>Make a virtual mosaic with blue background color (RGB: 0 0 255)</b>`gdalbuildvrt -hidenodata -vrtnodata "[0 0 255]" [path/to/output.vrt] [path/to/input_directory/*.tif]`


title: TLDR
content:
<b>Initialize a website</b>`hexo init [path/to/directory]`<br><b>Create a new article</b>`hexo new [layout] [title]`<br><b>Generate static files</b>`hexo generate`<br><b>Start a local server</b>`hexo server`<br><b>Deploy the website</b>`hexo deploy`<br><b>Clean the cache file (db.json) and generated files (public/)</b>`hexo clean`


title: TLDR
content:
<b>Create a new repository interactively</b>`gh repo [[new|create]]`<br><b>Clone a repository</b>`gh repo clone [owner]/[repository]`<br><b>Fork and clone a repository</b>`gh repo fork [owner]/[repository] --clone`<br><b>View a repository in the default web browser</b>`gh repo view [repository] [[-w|--web]]`<br><b>List repositories owned by a specific user or organization (if the owner is not set, the default owner will be the currently logged in user)</b>`gh repo [[ls|list]] [owner]`<br><b>List only non-forks repositories and limit the number of repositories to list (default: 30)</b>`gh repo [[ls|list]] [owner] --source [[-L|--limit]] [limit]`<br><b>List repositories with a specific primary coding language</b>`gh repo [[ls|list]] [owner] [[-l|--language]] [language_name]`


title: TLDR
content:
<b>Rebuild with make if any file changes</b>`reflex make`<br><b>Compile and run Go application if any .go file changes</b>`reflex --regex='[\.go$]' [go run .]`<br><b>Ignore a directory when watching for changes</b>`reflex --inverse-regex='[^dir/]' [command]`<br><b>Run command when reflex starts and restarts on file changes</b>`reflex --start-service=true [command]`<br><b>Substitute the filename that changed in</b>`reflex -- echo {}`


title: TLDR
content:
<b>Generate an RSA private key of 2048 bits, saving it to a specific file</b>`openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:[2048] -out [filename.key]`<br><b>Generate an elliptic curve private key using the curve prime256v1, saving it to a specific file</b>`openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:[prime256v1] -out [filename.key]`<br><b>Generate an ED25519 elliptic curve private key, saving it to a specific file</b>`openssl genpkey -algorithm [ED25519] -out [filename.key]`


title: TLDR
content:
<b>Restore dependencies for a .NET project or solution in the current directory</b>`dotnet restore`<br><b>Restore dependencies for a .NET project or solution in a specific location</b>`dotnet restore [path/to/project_or_solution]`<br><b>Restore dependencies without caching the HTTP requests</b>`dotnet restore --no-cache`<br><b>Force all dependencies to be resolved even if the last restore was successful</b>`dotnet restore --force`<br><b>Restore dependencies using package source failures as warnings</b>`dotnet restore --ignore-failed-sources`<br><b>Restore dependencies with a specific verbosity level</b>`dotnet restore [[-v|--verbosity]] [quiet|minimal|normal|detailed|diagnostic]`


title: TLDR
content:
<b>Run a function</b>`aws lambda invoke --function-name [name] [path/to/response.json]`<br><b>Run a function with an input payload in JSON format</b>`aws lambda invoke --function-name [name] --payload [json] [path/to/response.json]`<br><b>List functions</b>`aws lambda list-functions`<br><b>Display the configuration of a function</b>`aws lambda get-function-configuration --function-name [name]`<br><b>List function aliases</b>`aws lambda list-aliases --function-name [name]`<br><b>Display the reserved concurrency configuration for a function</b>`aws lambda get-function-concurrency --function-name [name]`<br><b>List which AWS services can invoke the function</b>`aws lambda get-policy --function-name [name]`


title: TLDR
content:
<b>Display what Git protocol is being used</b>`gh config get git_protocol`<br><b>Set protocol to SSH</b>`gh config set git_protocol ssh`<br><b>Use delta in side-by-side mode as the default pager for all gh commands</b>`gh config set pager 'delta --side-by-side'`<br><b>Set text editor to Vim</b>`gh config set editor [vim]`<br><b>Reset to default text editor</b>`gh config set editor ""`<br><b>Disable interactive prompts</b>`gh config set prompt [disabled]`<br><b>Set a specific configuration value</b>`gh config set [key] [value]`


title: TLDR
content:
<b>Show all streams in the account</b>`aws kinesis list-streams`<br><b>Write one record to a Kinesis stream</b>`aws kinesis put-record --stream-name [name] --partition-key [key] --data [base64_encoded_message]`<br><b>Write a record to a Kinesis stream with inline base64 encoding</b>`aws kinesis put-record --stream-name [name] --partition-key [key] --data "$( echo "[my raw message]" | base64 )"`<br><b>List the shards available on a stream</b>`aws kinesis list-shards --stream-name [name]`<br><b>Get a shard iterator for reading from the oldest message in a stream's shard</b>`aws kinesis get-shard-iterator --shard-iterator-type TRIM_HORIZON --stream-name [name] --shard-id [id]`<br><b>Read records from a shard, using a shard iterator</b>`aws kinesis get-records --shard-iterator [iterator]`


title: TLDR
content:
<b>Generate a D3.js visualization based on database data</b><br>`amass viz -d3 -dir [path/to/database_directory]`<br><br><b>Generate a DOT file based on database data</b><br>`amass viz -dot -dir [path/to/database_directory]`<br><br><b>Generate a Gephi Graph Exchange XML Format (GEXF) file based on database data</b><br>`amass viz -gexf -dir [path/to/database_directory]`<br><br><b>Generate a Graphistry JSON file based on database data</b><br>`amass viz -graphistry -dir [path/to/database_directory]`<br><br><b>Generate a Maltego CSV file based on database data</b><br>`amass viz -maltego -dir [path/to/database_directory]`<br>


title: TLDR
content:
<b>Display details about the currently authenticated user</b>`ohdear-cli me`<br><b>Add a new site to Oh Dear</b>`ohdear-cli sites:add [url]`<br><b>Display a list of sites and their current status</b>`ohdear-cli sites:list`<br><b>Display details about a specific site</b>`ohdear-cli sites:show [site_id]`


title: TLDR
content:
<b>Visualize the entire pipeline</b>`dvc dag`<br><b>Visualize the pipeline stages up to a specified target stage</b>`dvc dag [target]`<br><b>Export the pipeline in the dot format</b>`dvc dag --dot > [path/to/pipeline.dot]`


title: TLDR
content:
<b>Show commits (and their messages) with equivalent commits upstream</b>`git cherry [[-v|--verbose]]`<br><b>Specify a different upstream and topic branch</b>`git cherry [origin] [topic]`<br><b>Limit commits to those within a given limit</b>`git cherry [origin] [topic] [base]`


title: TLDR
content:
<b>Checkout the latest version of all target files and directories</b>`dvc checkout`<br><b>Checkout the latest version of a specified target</b>`dvc checkout [target]`<br><b>Checkout a specific version of a target from a different Git commit/tag/branch</b>`git checkout [commit_hash|tag|branch] [target] && dvc checkout [target]`


title: TLDR
content:
<b>Convert WAV to Opus using default options</b>`opusenc [path/to/input.wav] [path/to/output.opus]`<br><b>Convert stereo audio at the highest quality level</b>`opusenc --bitrate [512] [path/to/input.wav] [path/to/output.opus]`<br><b>Convert 5.1 surround sound audio at the highest quality level</b>`opusenc --bitrate [1536] [path/to/input.flac] [path/to/output.opus]`<br><b>Convert speech audio at the lowest quality level</b>`opusenc [path/to/input.wav] --downmix-mono --bitrate [6] [path/to/out.opus]`


title: TLDR
content:
<b>Start Syncthing</b>`syncthing`<br><b>Start Syncthing without opening a web browser</b>`syncthing --no-browser`<br><b>Change the home directory</b>`syncthing --home [path/to/directory]`<br><b>Run Syncthing with increased logging</b>`syncthing --verbose`<br><b>Pause all devices</b>`syncthing cli config devices pause --all`<br><b>Resume all devices</b>`syncthing cli config devices resume --all`<br><b>Change the address upon which the web interface listens</b>`syncthing --gui-address [ip_address:port|path/to/socket.sock]`<br><b>Set the log level for output</b>`syncthing --log-level [info|warning|error|debug]`


title: TLDR
content:
<b>Create a pull request</b>`gh pr [[new|create]]`<br><b>Check out a specific pull request locally</b>`gh [[co|pr checkout]] [pr_number|url|branch]`<br><b>View the changes made in the pull request for the current branch</b>`gh pr diff`<br><b>Approve the pull request for the current branch</b>`gh pr review [[-a|--approve]]`<br><b>Merge the pull request associated with the current branch interactively</b>`gh pr merge`<br><b>Edit a pull request interactively</b>`gh pr edit`<br><b>Edit the base branch of a pull request</b>`gh pr edit [[-B|--base]] [branch_name]`<br><b>Check the status of the current repository's pull requests</b>`gh pr status`


title: TLDR
content:
<b>Add a Java version to jEnv</b>`jenv add [path/to/jdk_home]`<br><b>Display the current JDK version used</b>`jenv version`<br><b>Display all managed JDKs</b>`jenv versions`<br><b>Set the global JDK version</b>`jenv global [java_version]`<br><b>Set the JDK version for the current shell session</b>`jenv shell [java_version]`<br><b>Enable a jEnv plugin</b>`jenv enable-plugin [plugin_name]`


title: TLDR
content:
<b>Create an image from a file using default settings</b>`carbon-now [path/to/file]`<br><b>Create an image from a text in clipboard using default settings</b>`carbon-now --from-clipboard`<br><b>Create an image from stdin using default settings and copy to the clipboard</b>`[input] | carbon-now --to-clipboard`<br><b>Create images interactively for custom settings and optionally save a preset</b>`carbon-now [[-i|--interactive]] [path/to/file]`<br><b>Create images from a previously saved preset</b>`carbon-now [[-p|--preset]] [preset] [path/to/file]`<br><b>Start at a specified line of text</b>`carbon-now [[-s|--start]] [line] [path/to/file]`<br><b>End at a specific line of text</b>`carbon-now [[-e|--end]] [line] [path/to/file]`<br><b>Open image in a browser instead of saving</b>`carbon-now --open [path/to/file]`


title: TLDR
content:
<b>Create a local Kubernetes cluster</b>`kind create cluster --name [cluster_name]`<br><b>Delete one or more clusters</b>`kind delete clusters [cluster_name]`<br><b>Get details about clusters, nodes, or the kubeconfig</b>`kind get [clusters|nodes|kubeconfig]`<br><b>Export the kubeconfig or the logs</b>`kind export [kubeconfig|logs]`


title: TLDR
content:
<b>Show the difference between the last two enumerations of the specified domain</b><br>`amass track -dir [path/to/database_directory] -d [domain_name] -last 2`<br><br><b>Show the difference between a certain point in time and the last enumeration</b><br>`amass track -dir [path/to/database_directory] -d [domain_name] -since [01/02 15:04:05 2006 MST]`<br>


title: TLDR
content:
<b>Compile a vala file, with gtk+</b>`valac [path/to/file.vala] --pkg [gtk+-3.0]`<br><b>Display help</b>`valac --help`<br><b>Display version</b>`valac --version`


title: TLDR
content:
<b>Get the name of the default remote</b>`dvc config core.remote`<br><b>Set the project's default remote</b>`dvc config core.remote [remote_name]`<br><b>Unset the project's default remote</b>`dvc config [[-u|--unset]] core.remote`<br><b>Get the configuration value for a specified key for the current project</b>`dvc config [key]`<br><b>Set the configuration value for a key on a project level</b>`dvc config [key] [value]`<br><b>Unset a project level configuration value for a given key</b>`dvc config [[-u|--unset]] [key]`<br><b>Set a local, global, or system level configuration value</b>`dvc config --[local|global|system] [key] [value]`


title: TLDR
content:
<b>Prompt for an otpauth URI token and create a new pass file</b>`pass otp insert [path/to/pass]`<br><b>Prompt for an otpauth URI token and append to an existing pass file</b>`pass otp append [path/to/pass]`<br><b>Print a 2FA code using the OTP token in a pass file</b>`pass otp [path/to/pass]`<br><b>Copy and don't print a 2FA code using the OTP token in a pass file</b>`pass otp [[-c|--clip]] [path/to/pass]`<br><b>Display a QR code using the OTP token stored in a pass file</b>`pass otp uri [[-q|--qrcode]] [path/to/pass]`<br><b>Prompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file</b>`pass otp append [[-s|--secret]] [[-i|--issuer]] [issuer_name] [[-a|--account]] [account_name] [path/to/pass]`


title: TLDR
content:
<b>Save output to a file</b>`httpry -o [path/to/file.log]`<br><b>Listen on a specific interface and save output to a binary PCAP format file</b>`httpry [eth0] -b [path/to/file.pcap]`<br><b>Filter output by a comma-separated list of HTTP verbs</b>`httpry -m [get|post|put|head|options|delete|trace|connect|patch]`<br><b>Read from an input capture file and filter by IP</b>`httpry -r [path/to/file.log] '[host 192.168.5.25]'`<br><b>Run as daemon process</b>`httpry -d -o [path/to/file.log]`


title: TLDR
content:
<b>Log in to Private Internet Access</b>`piactl login [path/to/login_file]`<br><b>Connect to Private Internet Access</b>`piactl connect`<br><b>Disconnect from Private Internet Access</b>`piactl disconnect`<br><b>Enable or disable the Private Internet Access daemon in the background</b>`piactl background [enable|disable]`<br><b>List all available VPN regions</b>`piactl get regions`<br><b>Display the current VPN region</b>`piactl get region`<br><b>Set your VPN region</b>`piactl set region [region]`<br><b>Log out of Private Internet Access</b>`piactl logout`


title: TLDR
content:
<b>Clone a GitLab repository locally</b>`glab repo clone [owner]/[repository]`<br><b>Create a new issue</b>`glab issue create`<br><b>View and filter the open issues of the current repository</b>`glab issue list`<br><b>View an issue in the default browser</b>`glab issue view [[-w|--web]] [issue_number]`<br><b>Create a merge request</b>`glab mr create`<br><b>View a pull request in the default web browser</b>`glab mr view [[-w|--web]] [pr_number]`<br><b>Check out a specific pull request locally</b>`glab mr checkout [pr_number]`


title: TLDR
content:
<b>Package an application for the current architecture and platform</b>`electron-packager "[path/to/app]" "[app_name]"`<br><b>Package an application for all architectures and platforms</b>`electron-packager "[path/to/app]" "[app_name]" --all`<br><b>Package an application for 64-bit Linux</b>`electron-packager "[path/to/app]" "[app_name]" --platform="[linux]" --arch="[x64]"`<br><b>Package an application for ARM macOS</b>`electron-packager "[path/to/app]" "[app_name]" --platform="[darwin]" --arch="[arm64]"`


title: TLDR
content:
<b>Initialize an .rspec configuration and a spec helper file</b>`rspec --init`<br><b>Run all tests</b>`rspec`<br><b>Run a specific directory of tests</b>`rspec [path/to/directory]`<br><b>Run one or more test files</b>`rspec [path/to/file1 path/to/file2 ...]`<br><b>Run a specific test in a file (e.g. the test starts on line 83)</b>`rspec [path/to/file]:[83]`<br><b>Run specs with a specific seed</b>`rspec --seed [seed_number]`


title: TLDR
content:
<b>Run without splash screen during startup</b>`matlab -nosplash`<br><b>Execute a MATLAB statement</b>`matlab -r "[matlab_statement]"`<br><b>Run a MATLAB script</b>`matlab -r "run([path/to/script.m])"`


title: TLDR
content:
<b>Display certificate information</b>`openssl x509 -in [filename.crt] -noout -text`<br><b>Display a certificate's expiration date</b>`openssl x509 -enddate -noout -in [filename.pem]`<br><b>Convert a certificate between binary DER encoding and textual PEM encoding</b>`openssl x509 -inform [der] -outform [pem] -in [original_certificate_file] -out [converted_certificate_file]`<br><b>Store a certificate's public key in a file</b>`openssl x509 -in [certificate_file] -noout -pubkey -out [output_file]`


title: TLDR
content:
<b>Build a project with default build file build.xml</b>`ant`<br><b>Build a project using build file other than build.xml</b>`ant [[-f|-buildfile]] [buildfile.xml]`<br><b>Print information on possible targets for this project</b>`ant [[-p|-projecthelp]]`<br><b>Print debugging information</b>`ant [[-d|-debug]]`<br><b>Execute all targets that do not depend on fail target(s)</b>`ant [[-k|-keep-going]]`


title: TLDR
content:
<b>Show details of pods in a namespace</b>`kubectl describe [[po|pods]] [[-n|--namespace]] [namespace]`<br><b>Show details of nodes in a namespace</b>`kubectl describe [[no|nodes]] [[-n|--namespace]] [namespace]`<br><b>Show the details of a specific pod in a namespace</b>`kubectl describe [[po|pods]] [pod_name] [[-n|--namespace]] [namespace]`<br><b>Show the details of a specific node in a namespace</b>`kubectl describe [[no|nodes]] [node_name] [[-n|--namespace]] [namespace]`<br><b>Show details of Kubernetes objects defined in a YAML manifest file</b>`kubectl describe [[-f|--filename]] [path/to/manifest.yaml]`


title: TLDR
content:
<b>Run updates</b>`topgrade`<br><b>Say yes to all updates</b>`topgrade [[-y|--yes]]`<br><b>Cleanup temporary/old files</b>`topgrade [[-c|--cleanup]]`<br><b>Disable a certain update operation</b>`topgrade --disable [operation]`<br><b>Only perform a certain update operation</b>`topgrade --only [operation]`<br><b>Edit the configuration file with default editor</b>`topgrade --edit-config`


title: TLDR
content:
<b>Fix issues in the specified directory (defaults to the PEAR standard)</b>`phpcbf [path/to/directory]`<br><b>Display a list of installed coding standards</b>`phpcbf -i`<br><b>Specify a coding standard to validate against</b>`phpcbf [path/to/directory] --standard [standard]`<br><b>Specify comma-separated file extensions to include when sniffing</b>`phpcbf [path/to/directory] --extensions [file_extension1,file_extension2,...]`<br><b>A comma-separated list of files to load before processing</b>`phpcbf [path/to/directory] --bootstrap [path/to/file1,path/to/file2,...]`<br><b>Don't recurse into subdirectories</b>`phpcbf [path/to/directory] -l`


title: TLDR
content:
<b>Display filesystems and their disk usage in human-readable form with colors and graphs</b>`dfc`<br><b>Display all filesystems including pseudo, duplicate and inaccessible filesystems</b>`dfc -a`<br><b>Display filesystems without color</b>`dfc -c never`<br><b>Display filesystems containing "ext" in the filesystem type</b>`dfc -t ext`


title: TLDR
content:
<b>Display the content of a Parquet file</b>`parquet-tools cat [path/to/parquet]`<br><b>Display the first few lines of a Parquet file</b>`parquet-tools head [path/to/parquet]`<br><b>Print the schema of a Parquet file</b>`parquet-tools schema [path/to/parquet]`<br><b>Print the metadata of a Parquet file</b>`parquet-tools meta [path/to/parquet]`<br><b>Print the content and metadata of a Parquet file</b>`parquet-tools dump [path/to/parquet]`<br><b>Concatenate several Parquet files into the target one</b>`parquet-tools merge [path/to/parquet1] [path/to/parquet2] [path/to/target_parquet]`<br><b>Print the count of rows in a Parquet file</b>`parquet-tools rowcount [path/to/parquet]`<br><b>Print the column and offset indexes of a Parquet file</b>`parquet-tools column-index [path/to/parquet]`


title: TLDR
content:
<b>Calculate the SHA256 digest for a file, saving the result to a specific file</b>`openssl dgst -sha256 -binary -out [output_file] [input_file]`<br><b>Sign a file using an RSA key, saving the result to a specific file</b>`openssl dgst -sign [private_key_file] -sha256 -sigopt rsa_padding_mode:pss -out [output_file] [input_file]`<br><b>Verify an RSA signature</b>`openssl dgst -verify [public_key_file] -signature [signature_file] -sigopt rsa_padding_mode:pss [signature_message_file]`<br><b>Sign a file using and ECDSA key</b>`openssl dgst -sign [private_key_file] -sha256 -out [output_file] [input_file]`<br><b>Verify an ECDSA signature</b>`openssl dgst -verify [public_key_file] -signature [signature_file] [signature_message_file]`


title: TLDR
content:
<b>List all performed enumerations in the database</b><br>`amass db -dir [path/to/database_directory] -list`<br><br><b>Show results for a specified enumeration index and domain name</b><br>`amass db -dir [path/to/database_directory] -d [domain_name] -enum [index_from_list] -show`<br><br><b>List all found subdomains of a domain within an enumeration</b><br>`amass db -dir [path/to/database_directory] -d [domain_name] -enum [index_from_list] -names`<br><br><b>Show a summary of the found subdomains within an enumeration</b><br>`amass db -dir [path/to/database_directory] -d [domain_name] -enum [index_from_list] -summary`<br>


title: TLDR
content:
<b>Compile a lilypond file into a PDF</b>`lilypond [path/to/file]`<br><b>Compile into the specified format</b>`lilypond [[-f|--format]] [format_dump] [path/to/file]`<br><b>Compile the specified file, suppressing progress updates</b>`lilypond [[-s|--silent]] [path/to/file]`<br><b>Compile the specified file, and also specify the output filename</b>`lilypond [[-o|--output]] [path/to/output_file] [path/to/input_file]`<br><b>Display version</b>`lilypond [[-v|--version]]`


title: TLDR
content:
<b>Look for security issues in the project dependencies (based on the composer.lock file in the current directory)</b>`security-checker security:check`<br><b>Use a specific composer.lock file</b>`security-checker security:check [path/to/composer.lock]`<br><b>Return results as a JSON object</b>`security-checker security:check --format=json`


title: TLDR
content:
<b>Display information about a specific instance</b>`aws ec2 describe-instances --instance-ids [instance_id]`<br><b>Display information about all instances</b>`aws ec2 describe-instances`<br><b>Display information about all EC2 volumes</b>`aws ec2 describe-volumes`<br><b>Delete an EC2 volume</b>`aws ec2 delete-volume --volume-id [volume_id]`<br><b>Create a snapshot from an EC2 volume</b>`aws ec2 create-snapshot --volume-id [volume_id]`<br><b>List available AMIs (Amazon Machine Images)</b>`aws ec2 describe-images`<br><b>Show list of all available EC2 commands</b>`aws ec2 help`<br><b>Display help for specific EC2 subcommand</b>`aws ec2 [subcommand] help`


title: TLDR
content:
<b>Add a single target file to the index</b>`dvc add [path/to/file]`<br><b>Add a target directory to the index</b>`dvc add [path/to/directory]`<br><b>Recursively add all the files in a given target directory</b>`dvc add --recursive [path/to/directory]`<br><b>Add a target file with a custom .dvc filename</b>`dvc add --file [custom_name.dvc] [path/to/file]`


title: TLDR
content:
<b>Display a calendar for the current month</b>`jcal`<br><b>Display the previous, current, and next months</b>`jcal -3`<br><b>Display a calendar for a specific year (4 digits)</b>`jcal [year]`<br><b>Display a calendar for a specific month and year</b>`jcal [year] [month]`


title: TLDR
content:
<b>Initialize a standard Pest configuration in the current directory</b>`pest --init`<br><b>Run tests in the current directory</b>`pest`<br><b>Run tests annotated with the given group</b>`pest --group [name]`<br><b>Run tests and print the coverage report to stdout</b>`pest --coverage`<br><b>Run tests with coverage and fail if the coverage is less than the minimum percentage</b>`pest --coverage --min=[80]`<br><b>Run tests in parallel</b>`pest --parallel`<br><b>Run tests with mutations</b>`pest --mutate`


title: TLDR
content:
<b>Build the package or packages defined by the Cargo.toml manifest file in the local path</b>`cargo [[b|build]]`<br><b>Build artifacts in release mode, with optimizations</b>`cargo [[b|build]] [[-r|--release]]`<br><b>Require that Cargo.lock is up to date</b>`cargo [[b|build]] --locked`<br><b>Build all packages in the workspace</b>`cargo [[b|build]] --workspace`<br><b>Build a specific package</b>`cargo [[b|build]] [[-p|--package]] [package]`<br><b>Build only the specified binary</b>`cargo [[b|build]] --bin [name]`<br><b>Build only the specified test target</b>`cargo [[b|build]] --test [test_name]`


title: TLDR
content:
<b>Execute a DVC subcommand</b>`dvc [subcommand]`<br><b>Display help</b>`dvc [[-h|--help]]`<br><b>Display help about a specific subcommand</b>`dvc [subcommand] [[-h|--help]]`<br><b>Display version</b>`dvc --version`


title: TLDR
content:
<b>Check the code in a specific directory for deprecations</b>`drupal-check [path/to/directory]`<br><b>Check the code excluding a comma-separated list of directories</b>`drupal-check [[-e|--exclude-dir]] [path/to/excluded_directory],[path/to/excluded_files/*.php] [path/to/directory]`<br><b>Don't show a progress bar</b>`drupal-check --no-progress [path/to/directory]`<br><b>Perform static analysis to detect bad coding practices</b>`drupal-check [[-a|--analysis]] [path/to/directory]`


title: TLDR
content:
<b>Run checks over the code in the current directory</b>`cargo clippy`<br><b>Require that Cargo.lock is up to date</b>`cargo clippy --locked`<br><b>Run checks on all packages in the workspace</b>`cargo clippy --workspace`<br><b>Run checks for a package</b>`cargo clippy --package [package]`<br><b>Run checks for a lint group (see <https://rust-lang.github.io/rust-clippy/stable/index.html#?groups=cargo,complexity,correctness,deprecated,nursery,pedantic,perf,restriction,style,suspicious>)</b>`cargo clippy -- [[-W|--warn]] clippy::[lint_group]`<br><b>Treat warnings as errors</b>`cargo clippy -- [[-D|--deny]] warnings`<br><b>Run checks and ignore warnings</b>`cargo clippy -- [[-A|--allow]] warnings`<br><b>Apply Clippy suggestions automatically</b>`cargo clippy --fix`


title: TLDR
content:
<b>List available action plugins (modules)</b>`ansible-doc [[-l|--list]]`<br><b>List available plugins of a specific type</b>`ansible-doc [[-t|--type]] [become|cache|callback|cliconf|connection|...] [[-l|--list]]`<br><b>Show information about a specific action plugin (module)</b>`ansible-doc [plugin_name]`<br><b>Show information about a plugin with a specific type</b>`ansible-doc [[-t|--type]] [become|cache|callback|cliconf|connection|...] [plugin_name]`<br><b>Show the playbook snippet for action plugin (modules)</b>`ansible-doc [[-s|--snippet]] [plugin_name]`<br><b>Show information about an action plugin (module) as JSON</b>`ansible-doc [[-j|--json]] [plugin_name]`


title: TLDR
content:
<b>Create a new feed database that sends email to an email address</b>`r2e new [email_address]`<br><b>Subscribe to a feed</b>`r2e add [feed_name] [feed_URI]`<br><b>Send new stories to an email address</b>`r2e run`<br><b>List all feeds</b>`r2e list`<br><b>Delete a feed at a specified index</b>`r2e delete [index]`<br><b>Display help</b>`r2e [[-h|--help]]`


title: TLDR
content:
<b>Find root domains in an IP [addr]ess range</b>`amass intel -addr [192.168.0.1-254]`<br><b>Use active recon methods</b>`amass intel -active -addr [192.168.0.1-254]`<br><b>Find root domains related to a [d]omain</b>`amass intel -whois -d [domain_name]`<br><b>Find ASNs belonging to an [org]anisation</b>`amass intel -org [organisation_name]`<br><b>Find root domains belonging to a given Autonomous System Number</b>`amass intel -asn [asn]`<br><b>Save results to a text file</b>`amass intel -o [output_file] -whois -d [domain_name]`<br><b>List all available data sources</b>`amass intel -list`


title: TLDR
content:
<b>Only run tests containing a specific string in their names</b>`cargo [[t|test]] [test_name]`<br><b>Set the number of simultaneous running test cases</b>`cargo [[t|test]] -- --test-threads [count]`<br><b>Test artifacts in release mode, with optimizations</b>`cargo [[t|test]] [[-r|--release]]`<br><b>Test all packages in the workspace</b>`cargo [[t|test]] --workspace`<br><b>Run tests for a specific package</b>`cargo [[t|test]] [[-p|--package]] [package]`<br><b>Run tests without hiding output from test executions</b>`cargo [[t|test]] -- --nocapture`


title: TLDR
content:
<b>Convert a DocBook XML document to PDF format</b>`xmlto pdf [document.xml]`<br><b>Convert a DocBook XML document to HTML format and store the resulting files in a separate directory</b>`xmlto -o [path/to/html_files] html [document.xml]`<br><b>Convert a DocBook XML document to a single HTML file</b>`xmlto [html-nochunks] [document.xml]`<br><b>Specify a stylesheet to use while converting a DocBook XML document</b>`xmlto -x [stylesheet.xsl] [output_format] [document.xml]`


title: TLDR
content:
<b>Start a wizard to choose what kind of code (e.g. module, service, form, etc.) to generate</b>`dcg`<br><b>Directly specify the kind of code to generate</b>`dcg [service|plugin|theme|module|form]`<br><b>Generate the code in a specific directory</b>`dcg --directory [path/to/directory]`


title: TLDR
content:
<b>Connect to a server</b>`openconnect [vpn.example.org]`<br><b>Connect to a server, forking into the background</b>`openconnect --background [vpn.example.org]`<br><b>Terminate the connection that is running in the background</b>`killall -SIGINT openconnect`<br><b>Connect to a server, reading options from a configuration file</b>`openconnect --config=[path/to/file] [vpn.example.org]`<br><b>Connect to a server and authenticate with a specific SSL client certificate</b>`openconnect --certificate=[path/to/file] [vpn.example.org]`


title: TLDR
content:
<b>Create a new secret from stdin</b>`[command] | docker secret create [secret_name] -`<br><b>Create a new secret from a file</b>`docker secret create [secret_name] [path/to/file]`<br><b>List all secrets</b>`docker secret ls`<br><b>Display detailed information on one or multiple secrets in a human friendly format</b>`docker secret inspect --pretty [secret_name1 secret_name2 ...]`<br><b>Remove one or more secrets</b>`docker secret rm [secret_name1 secret_name2 ...]`


title: TLDR
content:
<b>Commit changes to all DVC-tracked files and directories</b>`dvc commit`<br><b>Commit changes to a specified DVC-tracked target</b>`dvc commit [target]`<br><b>Recursively commit all DVC-tracked files in a directory</b>`dvc commit [[-R|--recursive]] [path/to/directory]`


title: TLDR
content:
<b>Start Khal on interactive mode</b>`ikhal`<br><b>Print all events scheduled in personal calendar for the next seven days</b>`khal list -a [personal] [today] [7d]`<br><b>Print all events scheduled not in personal calendar for tomorrow at 10:00</b>`khal at -d [personal] [tomorrow] [10:00]`<br><b>Print a calendar with a list of events for the next three months</b>`khal calendar`<br><b>Add new event to personal calendar</b>`khal new -a [personal] [2020-09-08] [18:00] [18:30] "[Dentist appointment]"`


title: TLDR
content:
<b>Display help</b>`docker rmi`<br><b>Remove one or more images given their names</b>`docker rmi [image1 image2 ...]`<br><b>Force remove an image</b>`docker rmi [[-f|--force]] [image]`<br><b>Remove an image without deleting untagged parents</b>`docker rmi --no-prune [image]`


title: TLDR
content:
<b>Register a runner</b>`sudo gitlab-runner register --url [https://gitlab.example.com] --registration-token [token] --name [name]`<br><b>Register a runner with a Docker executor</b>`sudo gitlab-runner register --url [https://gitlab.example.com] --registration-token [token] --name [name] --executor [docker]`<br><b>Unregister a runner</b>`sudo gitlab-runner unregister --name [name]`<br><b>Display the status of the runner service</b>`sudo gitlab-runner status`<br><b>Restart the runner service</b>`sudo gitlab-runner restart`<br><b>Check if the registered runners can connect to GitLab</b>`sudo gitlab-runner verify`


title: TLDR
content:
<b>Compile a source file</b>`ocamlopt -o [path/to/binary] [path/to/source_file.ml]`<br><b>Compile with debugging enabled</b>`ocamlopt -g -o [path/to/binary] [path/to/source_file.ml]`


title: TLDR
content:
<b>Install a specific version of Node.js</b>`nodenv install [version]`<br><b>Display a list of available versions</b>`nodenv install --list`<br><b>Use a specific version of Node.js across the whole system</b>`nodenv global [version]`<br><b>Use a specific version of Node.js with a directory</b>`nodenv local [version]`<br><b>Display the Node.js version for the current directory</b>`nodenv version`<br><b>Display the location of a Node.js installed command (e.g. npm)</b>`nodenv which [command]`


title: TLDR
content:
<b>Send the last commit in the current branch interactively</b>`git send-email -1`<br><b>Send a given commit</b>`git send-email -1 [commit]`<br><b>Send multiple (e.g. 10) commits in the current branch</b>`git send-email [-10]`<br><b>Send an introductory email message for the patch series</b>`git send-email -[number_of_commits] --compose`<br><b>Review and edit the email message for each patch you're about to send</b>`git send-email -[number_of_commits] --annotate`


title: TLDR
content:
<b>Capture traffic on all interfaces</b>`httpflow -i [any]`<br><b>Use a bpf-style capture to filter the results</b>`httpflow [host httpbin.org or host baidu.com]`<br><b>Use a regex to filter requests by URLs</b>`httpflow -u '[regex]'`<br><b>Read packets from PCAP format binary file</b>`httpflow -r [out.cap]`<br><b>Write the output to a directory</b>`httpflow -w [path/to/directory]`


title: TLDR
content:
<b>Authenticate and associate the connection to a domain in the Cloudflare account</b>`cloudflared tunnel login`<br><b>Create a tunnel with a specific name</b>`cloudflared tunnel create [name]`<br><b>Establish a tunnel to a host in Cloudflare from the local server</b>`cloudflared tunnel --hostname [hostname] localhost:[port_number]`<br><b>Establish a tunnel to a host in Cloudflare from the local server, without verifying the local server's certificate</b>`cloudflared tunnel --hostname [hostname] localhost:[port_number] --no-tls-verify`<br><b>Save logs to a file</b>`cloudflared tunnel --hostname [hostname] http://localhost:[port_number] --loglevel [panic|fatal|error|warn|info|debug] --logfile [path/to/file]`<br><b>Install cloudflared as a system service</b>`cloudflared service install`


title: TLDR
content:
<b>Display help</b>`docker start --help`<br><b>Start a Docker container</b>`docker start [container]`<br><b>Start a container, attaching stdout and stderr and forwarding signals</b>`docker start [[-a|--attach]] [container]`<br><b>Start one or more containers</b>`docker start [container1 container2 ...]`


title: TLDR
content:
<b>Show the default layout (CPU, memory, temperatures, disk, network, and processes)</b>`btm`<br><b>Enable basic mode, removing charts and condensing data (similar to top)</b>`btm [[-b|--basic]]`<br><b>Use big dots instead of small ones in charts</b>`btm [[-m|--dot_marker]]`<br><b>Show also battery charge and health status</b>`btm --battery`<br><b>Refresh every 250 milliseconds and show the last 30 seconds in the charts</b>`btm [[-r|--rate]] 250 [[-t|--default_time_value]] 30000`


title: TLDR
content:
<b>List all reverse socket connections from emulators and devices</b>`adb reverse --list`<br><b>Reverse a TCP port from the only connected emulator or device to localhost</b>`adb reverse tcp:[remote_port] tcp:[local_port]`<br><b>Reverse a TCP port from a specific emulator or device (by device ID / [s]erial number) to localhost</b>`adb -s [device_ID] adb reverse tcp:[remote_port] tcp:[local_port]`<br><b>Remove a reverse socket connections from an emulator or device</b>`adb reverse --remove tcp:[remote_port]`<br><b>Remove all reverse socket connections from all emulators and devices</b>`adb reverse --remove-all`


title: TLDR
content:
<h2>Gather information on a domain using Google</h2>`theHarvester --domain [domain_name] --source google`<br><h2>Gather information on a domain using multiple sources</h2>`theHarvester --domain [domain_name] --source [google,bing,crtsh]`<br><h2>Change the limit of results to work with</h2>`theHarvester --domain [domain_name] --source [google] --limit [200]`<br><h2>Save the output to two files in xml and html format</h2>`theHarvester --domain [domain_name] --source [google] --file [output_file_name]`<br><h2>Output all available options</h2>`theHarvester --help`


title: TLDR
content:
<b>Display the MIME type of a file</b>`xdg-mime query filetype [path/to/file]`<br><b>Display the default application for opening PNGs</b>`xdg-mime query default [image/png]`<br><b>Display the default application for opening a specific file</b>`xdg-mime query default $(xdg-mime query filetype [path/to/file])`<br><b>Set imv as the default application for opening PNG and JPEG images</b>`xdg-mime default [imv.desktop] [image/png] [image/jpeg]`


title: TLDR
content:
<b>List wireless devices and their statuses</b>`sudo airmon-ng`<br><b>Turn on monitor mode for a specific device</b>`sudo airmon-ng start [wlan0]`<br><b>Kill disturbing processes that use wireless devices</b>`sudo airmon-ng check kill`<br><b>Turn off monitor mode for a specific network interface</b>`sudo airmon-ng stop [wlan0mon]`


title: TLDR
content:
<b>Visit a website</b>`lynx [example.com]`<br><b>Apply restrictions for anonymous account</b>`lynx -anonymous [example.com]`<br><b>Turn on mouse support, if available</b>`lynx -use_mouse [example.com]`<br><b>Force color mode on, if available</b>`lynx -color [example.com]`<br><b>Open a link, using a specific file to read and write cookies</b>`lynx -cookie_file=[path/to/file] [example.com]`<br><b>Navigate forwards and backwards through the links on a page</b>`[<ArrowUp>|<ArrowDown>]`<br><b>Go back to the previously displayed page</b>`[<ArrowLeft>|<u>]`<br><b>Exit</b>`<q><y>`


title: TLDR
content:
<b>List currently installed modules</b>`dkms status`<br><b>Rebuild all modules for the currently running kernel</b>`sudo dkms autoinstall`<br><b>Install version 1.2.1 of the acpi_call module for the currently running kernel</b>`sudo dkms install -m [acpi_call] -v [1.2.1]`<br><b>Remove version 1.2.1 of the acpi_call module from all kernels</b>`sudo dkms remove -m [acpi_call] -v [1.2.1] --all`


title: TLDR
content:
<b>Read an image from a file and print in ASCII</b>`asciiart [path/to/image.jpg]`<br><b>Read an image from a URL and print in ASCII</b>`asciiart [www.example.com/image.jpg]`<br><b>Choose the output width (default is 100)</b>`asciiart [[-w|--width]] [50] [path/to/image.jpg]`<br><b>Colorize the ASCII output</b>`asciiart [[-c|--color]] [path/to/image.jpg]`<br><b>Choose the output format (default format is text)</b>`asciiart [[-f|--format]] [text|html] [path/to/image.jpg]`<br><b>Invert the character map</b>`asciiart [[-i|--invert-chars]] [path/to/image.jpg]`


title: TLDR
content:
<b>Display information about a specific undo file</b>`e2undo -h [path/to/undo_file] [/dev/sdXN]`<br><b>Perform a dry-run and display the candidate blocks for replaying</b>`e2undo -nv [path/to/undo_file] [/dev/sdXN]`<br><b>Perform an undo operation</b>`e2undo [path/to/undo_file] [/dev/sdXN]`<br><b>Perform an undo operation and display [v]erbose information</b>`e2undo -v [path/to/undo_file] [/dev/sdXN]`<br><b>Write the old contents of the block to an undo file before overwriting a file system block</b>`e2undo -z [path/to/file.e2undo] [path/to/undo_file] [/dev/sdXN]`


title: TLDR
content:
<b>List partitions on all block devices</b>`sudo parted [[-l|--list]]`<br><b>Create a new partition table of the specified label-type</b>`sudo parted [/dev/sdX] mklabel [aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun]`<br><b>Create a new gpt partition table with a 500MiB boot partition and give the rest for the system partition (--script skips user intervention prompts)</b>`sudo parted [/dev/sdX] [[-s|--script]] mklabel gpt mkpart "[boot_partition_name]" 0% 500MiB mkpart "[system_partition_name]" 500MiB 100%`<br><b>Set a partition to have its boot flag turned on</b>`sudo parted [/dev/sdX] set [1] boot on`<br><b>Start interactive mode with the specified disk selected</b>`sudo parted [/dev/sdX]`<br><b>Display help</b>`parted [[-h|--help]]`


title: TLDR
content:
<b>Launch finch</b>`finch`<br><b>Quit</b>`[<Alt q>|<Ctrl c>]`<br><b>Show actions menu</b>`<Alt a>`<br><b>Jump to n-th window</b>`<Alt [Number]>`<br><b>Close current window</b>`<Alt c>`<br><b>Start moving a window, use <ArrowKeys> to move, press <Esc> when done</b>`<Alt m>`<br><b>Start resizing a window, use <ArrowKeys> to resize, press <Esc> when done</b>`<Alt r>`


title: TLDR
content:
<b>Download a file from a server</b>`smbget [smb://server/share/file]`<br><b>Download a share or directory recursively</b>`smbget --recursive [smb://server/share]`<br><b>Connect with a username and password</b>`smbget [smb://server/share/file] [[-U|--user]] [username%password]`<br><b>Require encrypted transfers</b>`smbget [smb://server/share/file] [[-e|--encrypt]]`


title: TLDR
content:
<b>Start a VNC server using a passwordfile</b>`x0vncserver -display [:0] -passwordfile [path/to/file]`<br><b>Start a VNC server using a specific port</b>`x0vncserver -display [:0] -rfbport [port]`


title: TLDR
content:
<b>Display books</b>`kjv -l`<br><b>Open a specific book</b>`kjv [Genesis]`<br><b>Open a specific chapter of a book</b>`kjv [Genesis] [2]`<br><b>Open a specific verse of a specific chapter of a book</b>`kjv [John] [3]:[16]`<br><b>Open a specific range of verses of a book's chapter</b>`kjv [Proverbs] [3]:[1-6]`<br><b>Display a specific range of verses of a book from different chapters</b>`kjv [Matthew] [1]:[7]-[2]:[6]`<br><b>Display all verses that match a pattern</b>`kjv /[Plagues]`<br><b>Display all verses that match a pattern in a specific book</b>`kjv [1Jn]/[antichrist]`


title: TLDR
content:
<b>Install local .deb packages resolving and installing its dependencies</b>`gdebi [path/to/package.deb]`<br><b>Do not show progress information</b>`gdebi [path/to/package.deb] [[-q|--quiet]]`<br><b>Set an APT configuration option</b>`gdebi [path/to/package.deb] [[-o|--option]] [APT_OPTS]`<br><b>Use alternative root dir</b>`gdebi [path/to/package.deb] --root [path/to/root_directory]`<br><b>Display version</b>`gdebi --version`


title: TLDR
content:
<b>Create a new volume through a text user interface and use /dev/urandom as a source of random data</b>`veracrypt [[-t|--text]] [[-c|--create]] --random-source=[/dev/urandom]`<br><b>Decrypt a volume interactively through a text user interface and mount it to a directory</b>`veracrypt [[-t|--text]] [path/to/volume] [path/to/mount_point]`<br><b>Decrypt a partition using a keyfile and mount it to a directory</b>`veracrypt [[-k|--keyfiles]] [path/to/keyfile] [/dev/sdXN] [path/to/mount_point]`<br><b>Dismount a volume on the directory it is mounted to</b>`veracrypt [[-d|--dismount]] [path/to/mounted_point]`


title: TLDR
content:
<b>Start a graphical setup at the default Wine location</b>`winetricks`<br><b>Specify a custom Wine directory to run Winetricks in</b>`WINEPREFIX=[path/to/wine_directory] winetricks`<br><b>Install a Windows DLL or component to the default Wine directory</b>`winetricks [package]`


title: TLDR
content:
<b>Start a new game</b>`cuyo`<br><b>Navigate the piece horizontally</b>`[<a>|<d>|<ArrowLeft>|<ArrowRight>]`<br><b>Turn the piece</b>`[<w>|<ArrowUp>]`<br><b>Hard drop the piece</b>`[<s>|<ArrowDown>]`


title: TLDR
content:
<b>List the partitions on a block device or disk image</b>`sudo partx [[-l|--list]] [path/to/device_or_disk_image]`<br><b>Add all the partitions found in a given block device to the kernel</b>`sudo partx [[-a|--add]] [[-v|--verbose]] [path/to/device_or_disk_image]`<br><b>Delete all the partitions found from the kernel (does not alter partitions on disk)</b>`sudo partx [[-d|--delete]] [path/to/device_or_disk_image]`


title: TLDR
content:
<b>Start i3 (Note that a pre-existing window manager must not be open when this command is run)</b>`i3`<br><b>Open a new terminal window</b>`<Super Enter>`<br><b>Move the focused window to a workspace</b>`<Super Shift [Number]>`<br><b>Switch to a workspace</b>`<Super [Number]>`<br><b>Split the next window horizontally</b>`<Super h>`<br><b>Split the next window vertically</b>`<Super v>`<br><b>Open an application launcher</b>`<Super d>`


title: TLDR
content:
<b>Create a Debian stable release system inside the debian-root directory</b>`sudo debootstrap stable [path/to/debian-root]/ http://deb.debian.org/debian`<br><b>Create a minimal system including only required packages</b>`sudo debootstrap --variant=minbase stable [path/to/debian-root]/`<br><b>Create a Debian Unstable system inside the sid-root directory with a local mirror</b>`sudo debootstrap sid [path/to/sid-root]/ [file:///path/to/mirror]/`<br><b>Switch to a bootstrapped system</b>`sudo chroot [path/to/root]`<br><b>List available releases</b>`ls /usr/share/debootstrap/scripts/`


title: TLDR
content:
<b>Look up the canonical name associated with an email address</b>`git check-mailmap "<[email@example.com]>"`


title: TLDR
content:
<b>Display credential information, retrieving the username and password from configuration files</b>`echo "[url=http://example.com]" | git credential fill`<br><b>Send credential information to all configured credential helpers to store for later use</b>`echo "[url=http://example.com]" | git credential approve`<br><b>Erase the specified credential information from all the configured credential helpers</b>`echo "[url=http://example.com]" | git credential reject`


title: TLDR
content:
<b>Print the value of a Git logical variable</b>`git var [GIT_AUTHOR_IDENT|GIT_COMMITTER_IDENT|GIT_EDITOR|GIT_PAGER]`<br><b>[l]ist all Git logical variables</b>`git var -l`


title: TLDR
content:
<b>Trim whitespace from a file</b>`cat [path/to/file] | git stripspace`<br><b>Trim whitespace and Git comments from a file</b>`cat [path/to/file] | git stripspace [[-s|--strip-comments]]`<br><b>Convert all lines in a file into Git comments</b>`git < [path/to/file] stripspace [[-c|--comment-lines]]`


title: TLDR
content:
<b>Create a commit object with the specified message</b>`git commit-tree [tree] -m "[message]"`<br><b>Create a commit object reading the message from a file (use - for stdin)</b>`git commit-tree [tree] -F [path/to/file]`<br><b>Create a GPG-signed commit object</b>`git commit-tree [tree] -m "[message]" [[-S|--gpg-sign]]`<br><b>Create a commit object with the specified parent commit object</b>`git commit-tree [tree] -m "[message]" -p [parent_commit_sha]`


title: TLDR
content:
<b>Trigger a pipeline to run from a Git branch, commit or tag</b>`vela add deployment --org [organization] --repo [repository_name] --target [environment] --ref [branch|commit|refs/tags/git_tag] --description "[deploy_description]"`<br><b>List deployments for a repository</b>`vela get deployment --org [organization] --repo [repository_name]`<br><b>Inspect a specific deployment</b>`vela view deployment --org [organization] --repo [repository_name] --deployment [deployment_number]`


title: TLDR
content:
<b>Check the format of the specified reference name</b>`git check-ref-format [refs/head/refname]`<br><b>Print the name of the last branch checked out</b>`git check-ref-format --branch @{-1}`<br><b>Normalize a refname</b>`git check-ref-format --normalize [refs/head/refname]`


title: TLDR
content:
<b>Check the values of all attributes on a file</b>`git check-attr [[-a|--all]] [path/to/file]`<br><b>Check the value of a specific attribute on a file</b>`git check-attr [attribute] [path/to/file]`<br><b>Check the values of all attributes on specific files</b>`git check-attr [[-a|--all]] [path/to/file1 path/to/file2 ...]`<br><b>Check the value of a specific attribute on one or more files</b>`git check-attr [attribute] [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>Count all objects and display the total disk usage</b>`git count-objects`<br><b>Display a count of all objects and their total disk usage, displaying sizes in human-readable units</b>`git count-objects [[-H|--human-readable]]`<br><b>Display more verbose information</b>`git count-objects [[-v|--verbose]]`<br><b>Display more verbose information, displaying sizes in human-readable units</b>`git count-objects [[-H|--human-readable]] [[-v|--verbose]]`


title: TLDR
content:
<b>Display a live stream for the statistics of all running containers</b>`docker stats`<br><b>Display a live stream of statistics for one or more containers</b>`docker stats [container1 container2 ...]`<br><b>Change the columns format to display container's CPU usage percentage</b>`docker stats --format "[.Name]:\t[.CPUPerc]"`<br><b>Display statistics for all containers (both running and stopped)</b>`docker stats [[-a|--all]]`<br><b>Disable streaming stats and only pull the current stats</b>`docker stats --no-stream`


title: TLDR
content:
<h2>Start an R interactive shell (REPL)</h2>`R`<br><h2>Check R version</h2>`R --version`<br><h2>Start R in vanilla mode (i.e. a blank session that doesn't save the workspace at the end)</h2>`R --vanilla`<br><h2>Execute a file</h2>`R -f [path/to/file.R]`<br><h2>Execute an R expression and then exit</h2>`R -e [expr]`<br><h2>Run R with a debugger</h2>`R -d [debugger]`<br><h2>Check R packages from package sources</h2>`R CMD check [path/to/package_source]`


title: TLDR
content:
<b>Start a new game</b>`blockout2`<br><b>Navigate the current piece on a 2D plane</b>`[<ArrowUp>|<ArrowDown>|<ArrowLeft>|<ArrowRight>]`<br><b>Rotate the piece on its axis</b>`[<q>|<w>|<e>|<a>|<s>|<d>]`<br><b>Hard drop the current piece</b>`<Space>`<br><b>Pause/unpause the game</b>`<p>`


title: TLDR
content:
<b>Print a file with the author name and commit hash prepended to each line</b>`git annotate [path/to/file]`<br><b>Print a file with the author email and commit hash prepended to each line</b>`git annotate [[-e|--show-email]] [path/to/file]`<br><b>Print only rows that match a regex</b>`git annotate -L :[regexp] [path/to/file]`


title: TLDR
content:
<b>Format stdin as multiple columns</b>`ls | git column --mode=[column]`<br><b>Format stdin as multiple columns with a maximum width of 100</b>`ls | git column --mode=column --width=[100]`<br><b>Format stdin as multiple columns with a maximum padding of 30</b>`ls | git column --mode=column --padding=[30]`


title: TLDR
content:
<b>Restore any files deleted since the last commit</b>`git checkout-index [[-a|--all]]`<br><b>Restore any files deleted or changed since the last commit</b>`git checkout-index [[-a|--all]] [[-f|--force]]`<br><b>Restore any files changed since the last commit, ignoring any files that were deleted</b>`git checkout-index [[-a|--all]] [[-f|--force]] [[-n|--no-create]]`<br><b>Export a copy of the entire tree at the last commit to the specified directory (the trailing slash is important)</b>`git checkout-index [[-a|--all]] [[-f|--force]] --prefix [path/to/export_directory]/`


title: TLDR
content:
<b>Resolve a hostname to an IP address</b>`resolveip [example.org]`<br><b>Resolve an IP address to a hostname</b>`resolveip [1.1.1.1]`<br><b>Resolve a hostname to an IP address with less output</b>`resolveip [[-s|--silent]] [example.org]`


title: TLDR
content:
<b>Show filesystem usage (optionally run as root to show detailed information)</b>`btrfs [[f|filesystem]] [[u|usage]] [path/to/btrfs_mount]`<br><b>Show usage by individual devices</b>`sudo btrfs [[f|filesystem]] [[sh|show]] [path/to/btrfs_mount]`<br><b>Defragment a single file on a btrfs filesystem (avoid while a deduplication agent is running)</b>`sudo btrfs [[f|filesystem]] [[de|defragment]] [[-v|--verbose]] [path/to/file]`<br><b>Defragment a directory recursively (does not cross subvolume boundaries)</b>`sudo btrfs [[f|filesystem]] [[de|defragment]] [[-v|--verbose]] -r [path/to/directory]`<br><b>Force syncing unwritten data blocks to disk(s)</b>`sudo btrfs [[f|filesystem]] [[sy|sync]] [path/to/btrfs_mount]`<br><b>Summarize disk usage for the files in a directory recursively</b>`sudo btrfs [[f|filesystem]] du [[-s|--summarize]] [path/to/directory]`<br><b>Create a swap file</b>`sudo btrfs [[f|filesystem]] [[m|mkswapfile]] --size [8g] --uuid [clear|random|time|UUID_value] [path/to/swapfile]`


title: TLDR
content:
<b>Check status of currently active interfaces</b>`sudo wg`<br><b>Generate a new private key</b>`wg genkey`<br><b>Generate a public key from a private key</b>`wg < [path/to/private_key] pubkey > [path/to/public_key]`<br><b>Generate a public and private key</b>`wg genkey | tee [path/to/private_key] | wg pubkey > [path/to/public_key]`<br><b>Show the current configuration of a wireguard interface</b>`sudo wg showconf [wg0]`


title: TLDR
content:
<b>Run a command on node 0 with memory allocated on node 0 and 1</b>`numactl --cpunodebind=[0] --membind=[0,1] -- [command] [command_arguments]`<br><b>Run a command on CPUs (cores) 0-4 and 8-12 of the current cpuset</b>`numactl --physcpubind=[+0-4,8-12] -- [command] [command_arguments]`<br><b>Run a command with its memory interleaved on all CPUs</b>`numactl --interleave=[all] -- [command] [command_arguments]`


title: TLDR
content:
<b>Add one or more devices to a btrfs filesystem</b>`sudo btrfs [[d|device]] [[a|add]] [path/to/block_device1 path/to/block_device2 ...] [path/to/btrfs_filesystem]`<br><b>Remove a device from a btrfs filesystem</b>`sudo btrfs [[d|device]] [[rem|remove]] [path/to/device1|device_id1 path/to/device2|device_id2 ...]`<br><b>Display error statistics</b>`sudo btrfs [[d|device]] [[st|stats]] [path/to/btrfs_filesystem]`<br><b>Scan all disks and inform the kernel of all detected btrfs filesystems</b>`sudo btrfs [[d|device]] [[sc|scan]] [[-d|--all-devices]]`<br><b>Display detailed per-disk allocation statistics</b>`sudo btrfs [[d|device]] [[u|usage]] [path/to/btrfs_filesystem]`


title: TLDR
content:
<b>Update the list of available slackbuilds and versions</b>`slapt-src [[-u|--update]]`<br><b>List all available slackbuilds</b>`slapt-src [[-l|--list]]`<br><b>Fetch, build and install the specified slackbuild(s)</b>`slapt-src [[-i|--install]] [slackbuild_name]`<br><b>Locate slackbuilds by their name or description</b>`slapt-src [[-s|--search]] [search_term]`<br><b>Display information about a slackbuild</b>`slapt-src [[-w|--show]] [slackbuild_name]`


title: TLDR
content:
<b>Create a new empty subvolume</b>`sudo btrfs [[su|subvolume]] [[c|create]] [path/to/new_subvolume]`<br><b>List all subvolumes and snapshots in the specified filesystem</b>`sudo btrfs [[su|subvolume]] [[l|list]] [path/to/btrfs_filesystem]`<br><b>Delete a subvolume</b>`sudo btrfs [[su|subvolume]] [[d|delete]] [path/to/subvolume]`<br><b>Create a [r]ead-only snapshot of an existing subvolume</b>`sudo btrfs [[su|subvolume]] [[sn|snapshot]] -r [path/to/source_subvolume] [path/to/target]`<br><b>Create a read-write snapshot of an existing subvolume</b>`sudo btrfs [[su|subvolume]] [[sn|snapshot]] [path/to/source_subvolume] [path/to/target]`<br><b>Show detailed information about a subvolume</b>`sudo btrfs [[su|subvolume]] [[sh|show]] [path/to/subvolume]`


title: TLDR
content:
<b>Rank a mirror list</b>`rankmirrors [/etc/pacman.d/mirrorlist]`<br><b>Output only a given number of the top ranking servers</b>`rankmirrors -n [number] [/etc/pacman.d/mirrorlist]`<br><b>Be verbose when generating the mirrorlist</b>`rankmirrors [[-v|--verbose]] [/etc/pacman.d/mirrorlist]`<br><b>Test only a specific URL</b>`rankmirrors [[-u|--url]] [url]`<br><b>Output only the response times instead of a full mirrorlist</b>`rankmirrors [[-t|--times]] [/etc/pacman.d/mirrorlist]`


title: TLDR
content:
<b>Inhibit power management</b>`kde-inhibit --power [command] [command_arguments]`<br><b>Inhibit screen saver</b>`kde-inhibit --screenSaver [command] [command_arguments]`<br><b>Launch VLC, and inhibit color correction (night mode) while it's running</b>`kde-inhibit --colorCorrect [vlc]`


title: TLDR
content:
<b>Generate the /etc/fstab file using volume UUIDs during an Arch Linux installation (requires root permissions)</b>`genfstab -U [/mnt] >> [/mnt/etc/fstab]`<br><b>Display fstab-compatible output based on volume labels</b>`genfstab -L [path/to/mount_point]`<br><b>Display fstab-compatible output based on volume UUIDs</b>`genfstab -U [path/to/mount_point]`<br><b>Display fstab-compatible output based on the specified identifier</b>`genfstab -t [LABEL|UUID|PARTLABEL|PARTUUID]`<br><b>Append a volume into the /etc/fstab file to mount it automatically</b>`genfstab -U [path/to/mount_point] | sudo tee -a /etc/fstab`


title: TLDR
content:
<b>Set up a VPN tunnel</b>`wg-quick up [interface_name]`<br><b>Delete a VPN tunnel</b>`wg-quick down [interface_name]`


title: TLDR
content:
<b>Update the list of available packages and slackbuilds</b>`spi [[-u|--update]]`<br><b>Install a package or slackbuild</b>`spi [[-i|--install]] [package/slackbuild_name]`<br><b>Upgrade all installed packages to the latest versions available</b>`spi [[-U|--upgrade]]`<br><b>Locate packages or slackbuilds by package name or description</b>`spi [search_terms]`<br><b>Display information about a package or slackbuild</b>`spi --show [package/slackbuild_name]`<br><b>Purge the local package and slackbuild caches</b>`spi --clean`


title: TLDR
content:
<b>Install the base package, the Linux kernel and firmware for common hardware</b>`pacstrap [path/to/new_root] [base] [linux] [linux-firmware]`<br><b>Install the base package, the Linux LTS kernel and base-devel build tools</b>`pacstrap [path/to/new_root] [base] [base-devel] [linux-lts]`<br><b>Install packages and copy the host's Pacman config to the target</b>`pacstrap -P [path/to/new_root] [packages]`<br><b>Install packages without copying the host's mirrorlist to the target</b>`pacstrap -M [path/to/new_root] [packages]`<br><b>Use an alternate configuration file for Pacman</b>`pacstrap -C [path/to/pacman.conf] [path/to/new_root] [packages]`<br><b>Install packages using the package cache on the host instead of on the target</b>`pacstrap -c [path/to/new_root] [packages]`<br><b>Initialize an empty pacman keyring in the target without copying it from the host</b>`pacstrap -K [path/to/new_root] [packages]`<br><b>Install packages in interactive mode (prompts for confirmation)</b>`pacstrap -i [path/to/new_root] [packages]`


title: TLDR
content:
<b>Start a scrub</b>`sudo btrfs [[sc|scrub]] start [path/to/btrfs_mount]`<br><b>Show the status of an ongoing or last completed scrub</b>`sudo btrfs [[sc|scrub]] status [path/to/btrfs_mount]`<br><b>Cancel an ongoing scrub</b>`sudo btrfs [[sc|scrub]] [[c|cancel]] [path/to/btrfs_mount]`<br><b>Resume a previously cancelled scrub</b>`sudo btrfs [[sc|scrub]] [[r|resume]] [path/to/btrfs_mount]`<br><b>Start a scrub, but do not put the program in the [B]ackground</b>`sudo btrfs [[sc|scrub]] start -B [path/to/btrfs_mount]`<br><b>Start a scrub in quiet mode (does not print errors or statistics)</b>`sudo btrfs [[sc|scrub]] start [[-q|--quiet]] [path/to/btrfs_mount]`


title: TLDR
content:
<b>Display the changes that would be performed without performing them (dry-run)</b>`2to3 [path/to/file.py]`<br><b>Convert a Python 2 file to Python 3</b>`2to3 --write [path/to/file.py]`<br><b>Convert specific Python 2 language features to Python 3</b>`2to3 --write [path/to/file.py] --fix [raw_input] --fix [print]`<br><b>Convert all Python 2 language features except the specified ones to Python 3</b>`2to3 --write [path/to/file.py] --nofix [has_key] --nofix [isinstance]`<br><b>List all available language features that can be converted from Python 2 to Python 3</b>`2to3 --list-fixes`<br><b>Convert all Python 2 files in a directory to Python 3</b>`2to3 --output-dir [path/to/python3_directory] --write-unchanged-files --nobackups [path/to/python2_directory]`<br><b>Run 2to3 with multiple threads</b>`2to3 --processes [4] --output-dir [path/to/python3_directory] --write --nobackups --no-diff [path/to/python2_directory]`


title: TLDR
content:
<b>Print a completion script</b>`gh completion [[-s|--shell]] [bash|zsh|fish|powershell]`<br><b>Append the gh completion script to ~/.bashrc</b>`gh completion [[-s|--shell]] bash >> ~/.bashrc`<br><b>Append the gh completion script to ~/.zshrc</b>`gh completion [[-s|--shell]] zsh >> ~/.zshrc`<br><b>Display the subcommand help</b>`gh completion`


title: TLDR
content:
<b>Add a to-do to a specific project with a given context</b>`topydo add "[todo_message] +[project_name] @[context_name]"`<br><b>Add a to-do with a due date of tomorrow with a priority of A</b>`topydo add "(A) [todo _message] due:[1d]"`<br><b>Add a to-do with a due date of Friday</b>`topydo add "[todo_message] due:[fri]"`<br><b>Add a non-strict repeating to-do (next due = now + rec)</b>`topydo add "water flowers due:[mon] rec:[1w]"`<br><b>Add a strict repeating to-do (next due = current due + rec)</b>`topydo add "[todo_message] due:[2020-01-01] rec:[+1m]"`<br><b>Revert the last topydo command executed</b>`topydo revert`


title: TLDR
content:
<b>Migrate project dependencies to the AndroidX format</b>`jetifier`<br><b>Migrate project dependencies from the AndroidX format</b>`jetifier reverse`


title: TLDR
content:
<b>Create a new Laravel application</b>`lambo new [app_name]`<br><b>Install the application in a specific path</b>`lambo new --path=[path/to/directory] [app_name]`<br><b>Include authentication scaffolding</b>`lambo new --auth [app_name]`<br><b>Include a specific frontend</b>`lambo new --[vue|bootstrap|react] [app_name]`<br><b>Install npm dependencies after the project has been created</b>`lambo new --node [app_name]`<br><b>Create a Valet site after the project has been created</b>`lambo new --link [app_name]`<br><b>Create a new MySQL database with the same name as the project</b>`lambo new --create-db --dbuser=[user] --dbpassword=[password] [app_name]`<br><b>Open a specific editor after the project has been created</b>`lambo new --editor="[editor]" [app_name]`


title: TLDR
content:
<b>Display an annotated skeleton configuration XML file</b>`phpdox --skel`<br><b>Generate documentation for the current working directory</b>`phpdox`<br><b>Generate documentation using a specific configuration file</b>`phpdox [[-f|--file]] [path/to/phpdox.xml]`<br><b>Only run the metadata collection process</b>`phpdox [[-c|--collector]]`<br><b>Only run the documentation generator process</b>`phpdox [[-g|--generator]]`


title: TLDR
content:
<b>Create a temporary inbox</b>`tmpmail [[-g|--generate]]`<br><b>List messages and their numeric ID</b>`tmpmail`<br><b>Display the most recent received email</b>`tmpmail [[-r|--recent]]`<br><b>Open a specific message</b>`tmpmail [email_id]`<br><b>View email as raw text without HTML tags</b>`tmpmail [[-t|--text]]`<br><b>Open email with a specific browser (default is w3m)</b>`tmpmail [[-b|--browser]] [browser]`


title: TLDR
content:
<b>Display a list of installed versions</b>`exenv versions`<br><b>Use a specific version of Elixir across the whole system</b>`exenv global [version]`<br><b>Use a specific version of Elixir for the current application/project directory</b>`exenv local [version]`<br><b>Show the currently selected Elixir version</b>`exenv [version]`<br><b>Install a version of Elixir (requires elixir-build plugin <https://github.com/mururu/elixir-build>)</b>`exenv install [version]`


title: TLDR
content:
<b>Generate a Psalm configuration</b>`psalm --init`<br><b>Analyze the current working directory</b>`psalm`<br><b>Analyze a specific directory or file</b>`psalm [path/to/file_or_directory]`<br><b>Analyze a project with a specific configuration file</b>`psalm --config [path/to/psalm.xml]`<br><b>Include informational findings in the output</b>`psalm --show-info`<br><b>Analyze a project and display statistics</b>`psalm --stats`<br><b>Analyze a project in parallel with 4 threads</b>`psalm --threads [4]`


title: TLDR
content:
<b>Send coverage information to Coveralls</b>`php-coveralls`<br><b>Send coverage information to Coveralls for a specific directory</b>`php-coveralls [[-r|--root_dir]] [path/to/directory]`<br><b>Send coverage information to Coveralls with a specific config</b>`php-coveralls [[-c|--config]] [path/to/.coveralls.yml]`<br><b>Send coverage information to Coveralls with verbose output</b>`php-coveralls [[-v|--verbose]]`<br><b>Send coverage information to Coveralls excluding source files with no executable statements</b>`php-coveralls --exclude-no-stmt`<br><b>Send coverage information to Coveralls with a specific environment name</b>`php-coveralls [[-e|--env]] [test|dev|prod]`<br><b>Specify multiple Coverage Clover XML files to upload</b>`php-coveralls [[-x|--coverage_clover]] [path/to/first_clover.xml] --coverage_clover [path/to/second_clover.xml]`<br><b>Output the JSON that will be sent to Coveralls to a specific file</b>`php-coveralls [[-o|--json_path]] [path/to/coveralls-upload.json]`


title: TLDR
content:
<b>Start monitoring time in project</b>`watson start [project]`<br><b>Start monitoring time in project with tags</b>`watson start [project] +[tag]`<br><b>Stop monitoring time for the current project</b>`watson stop`<br><b>Display the latest working sessions</b>`watson log`<br><b>Edit most recent frame</b>`watson edit`<br><b>Remove most recent frame</b>`watson remove`


title: TLDR
content:
<b>Install packages based on conanfile.txt</b>`conan install [.]`<br><b>Install packages and create configuration files for a specific generator</b>`conan install -g [generator]`<br><b>Install packages, building from source</b>`conan install [.] --build`<br><b>Search for locally installed packages</b>`conan search [package]`<br><b>Search for remote packages</b>`conan search [package] -r [remote]`<br><b>List remotes</b>`conan remote list`


title: TLDR
content:
<b>Install a package</b>`pip install [package]`<br><b>Install a specific version of a package</b>`pip install [package]==[version]`<br><b>Install packages listed in a file</b>`pip install [[-r|--requirement]] [path/to/requirements.txt]`<br><b>Install packages from an URL or local file archive (e.g. .tar.gz, .whl)</b>`pip install [[-f|--find-links]] [url|path/to/file]`<br><b>Install the local package in the current directory in develop (editable) mode</b>`pip install [[-e|--editable]] .`


title: TLDR
content:
<b>Discover directories and files that match in the wordlist</b>`gobuster dir [[-u|--url]] [https://example.com/] [[-w|--wordlist]] [path/to/file]`<br><b>Discover subdomains</b>`gobuster dns [[-d|--domain]] [example.com] [[-w|--wordlist]] [path/to/file]`<br><b>Discover Amazon S3 buckets</b>`gobuster s3 [[-w|--wordlist]] [path/to/file]`<br><b>Discover other virtual hosts on the server</b>`gobuster vhost [[-u|--url]] [https://example.com/] [[-w|--wordlist]] [path/to/file]`<br><b>Fuzz the value of a parameter</b>`gobuster fuzz [[-u|--url]] [https://example.com/?parameter=FUZZ] [[-w|--wordlist]] [path/to/file]`<br><b>Fuzz the name of a parameter</b>`gobuster fuzz [[-u|--url]] [https://example.com/?FUZZ=value] [[-w|--wordlist]] [path/to/file]`


title: TLDR
content:
<b>Generate a 2048bit prime number and display it in hexadecimal</b>`openssl prime -generate -bits 2048 -hex`<br><b>Check if a given number is prime</b>`openssl prime [number]`


title: TLDR
content:
<b>Start the interactive TUI</b>`ghcup tui`<br><b>List available GHC/Cabal versions</b>`ghcup list`<br><b>Install the recommended GHC version</b>`ghcup install ghc`<br><b>Install a specific GHC version</b>`ghcup install ghc [version]`<br><b>Activate a specific GHC version</b>`ghcup set ghc [version]`<br><b>Install cabal-install</b>`ghcup install cabal`<br><b>Update ghcup itself</b>`ghcup upgrade`


title: TLDR
content:
<b>Display general help</b>`gh help`<br><b>Display help for the gh help subcommand</b>`gh help [[-h|--help]]`<br><b>Display help about environment variables that can be used with gh</b>`gh help environment`<br><b>Display a markdown reference of all gh commands</b>`gh help reference`<br><b>Display help about formatting JSON output from gh using jq</b>`gh help formatting`<br><b>Display help about using gh with MinTTY</b>`gh help mintty`<br><b>Display help for a subcommand</b>`gh help [subcommand]`<br><b>Display help for a subcommand action</b>`gh help [pr] [create]`


title: TLDR
content:
<b>Start a single-node etcd cluster</b>`etcd`<br><b>Start a single-node etcd cluster, listening for client requests on a custom URL</b>`etcd --advertise-client-urls [http://127.0.0.1:1234] --listen-client-urls [http://127.0.0.1:1234]`<br><b>Start a single-node etcd cluster with a custom name</b>`etcd --name [my_etcd_cluster]`<br><b>Start a single-node etcd cluster with extensive metrics available at <http://localhost:2379/debug/pprof/></b>`etcd --enable-pprof --metrics extensive`


title: TLDR
content:
<b>Convert numeric bytes value to a human-readable string</b>`pretty-bytes [1337]`<br><b>Convert numeric bytes value from stdin to a human-readable string</b>`echo [1337] | pretty-bytes`<br><b>Display help</b>`pretty-bytes --help`


title: TLDR
content:
<b>Start the commit wizard</b>`gitmoji --commit`<br><b>Initialize the Git hook (so gitmoji will be run every time git commit is run)</b>`gitmoji --init`<br><b>Remove the Git hook</b>`gitmoji --remove`<br><b>List all available emojis and their descriptions</b>`gitmoji --list`<br><b>Search emoji list for a list of keywords</b>`gitmoji --search [keyword1] [keyword2]`<br><b>Update cached list of emojis from main repository</b>`gitmoji --update`<br><b>Configure global preferences</b>`gitmoji --config`


title: TLDR
content:
<b>Compress a file, creating a compressed version next to the file</b>`brotli [path/to/file]`<br><b>Decompress a file, creating an uncompressed version next to the file</b>`brotli [[-d|--decompress]] [path/to/file.br]`<br><b>Compress a file specifying the output filename</b>`brotli [path/to/file] [[-o|--output]] [path/to/compressed_output_file.br]`<br><b>Decompress a Brotli file specifying the output filename</b>`brotli [[-d|--decompress]] [path/to/compressed_file.br] [[-o|--output]] [path/to/output_file]`<br><b>Specify the compression quality (1=fastest (worst), 11=slowest (best))</b>`brotli [[-q|--quality]] [11] [path/to/file] [[-o|--output]] [path/to/compressed_output_file.br]`


title: TLDR
content:
<b>List all the aliases gh is configured to use</b>`gh alias [[ls|list]]`<br><b>Create a gh subcommand alias</b>`gh alias set [pv] '[pr view]'`<br><b>Set a shell command as a gh subcommand</b>`gh alias set [[-s|--shell]] [alias_name] [command]`<br><b>Delete a command shortcut</b>`gh alias delete [alias_name]`<br><b>Display the subcommand help</b>`gh alias`


title: TLDR
content:
<b>Display information for the current directory</b>`dust`<br><b>Display information about one or more directories</b>`dust [path/to/directory1 path/to/directory2 ...]`<br><b>Display 30 directories (defaults to 21)</b>`dust [[-n|--number-of-lines]] 30`<br><b>Display information for the current directory, up to 3 levels deep</b>`dust [[-d|--depth]] 3`<br><b>Display the largest directories at the top in descending order</b>`dust [[-r|--reverse]]`<br><b>Ignore a file or directory</b>`dust [[-X|--ignore-directory]] [path/to/file_or_directory]`<br><b>Do not display percent bars and percentages</b>`dust [[-b|--no-percent-bars]]`


title: TLDR
content:
<b>Bundle a JavaScript application and print to stdout</b>`esbuild --bundle [path/to/file.js]`<br><b>Bundle a JSX application from stdin</b>`esbuild < [path/to/file.jsx] --bundle --outfile=[path/to/out.js]`<br><b>Bundle and minify a JSX application with source maps in production mode</b>`esbuild --bundle --define:[process.env.NODE_ENV=\"production\"] --minify --sourcemap [path/to/file.js]`<br><b>Bundle a JSX application for a comma-separated list of browsers</b>`esbuild --bundle --minify --sourcemap --target=[chrome58,firefox57,safari11,edge16] [path/to/file.jsx]`<br><b>Bundle a JavaScript application for a specific node version</b>`esbuild --bundle --platform=[node] --target=[node12] [path/to/file.js]`<br><b>Bundle a JavaScript application enabling JSX syntax in .js files</b>`esbuild --bundle app.js --loader:[.js=jsx] [path/to/file.js]`<br><b>Bundle and serve a JavaScript application on an HTTP server</b>`esbuild --bundle --serve=[port] --outfile=[index.js] [path/to/file.js]`<br><b>Bundle a list of files to an output directory</b>`esbuild --bundle --outdir=[path/to/output_directory] [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>List secret keys for the current repository</b>`gh secret [[ls|list]]`<br><b>List secret keys for a specific organization</b>`gh secret [[ls|list]] [[-o|--org]] [organization]`<br><b>List secret keys for a specific repository</b>`gh secret [[ls|list]] [[-R|--repo]] [owner]/[repository]`<br><b>Set a secret for the current repository (user will be prompted for the value)</b>`gh secret set [name]`<br><b>Set a secret from a file for the current repository</b>`gh < [path/to/file] secret set [name]`<br><b>Set an organization secret for specific repositories</b>`gh secret set [name] [[-o|--org]] [organization] [[-r|--repos]] [repository1,repository2]`<br><b>Remove a secret for the current repository</b>`gh secret remove [name]`<br><b>Remove a secret for a specific organization</b>`gh secret remove [name] [[-o|--org]] [organization]`


title: TLDR
content:
<b>View documentation for the traditional shell</b>`tldr nix-shell.2`<br><b>View documentation for nix3 shell</b>`tldr nix shell.3`


title: TLDR
content:
<b>List currently running Docker containers</b>`docker container ls`<br><b>Start one or more stopped containers</b>`docker container start [container1_name] [container2_name]`<br><b>Kill one or more running containers</b>`docker container kill [container_name]`<br><b>Stop one or more running containers</b>`docker container stop [container_name]`<br><b>Pause all processes within one or more containers</b>`docker container pause [container_name]`<br><b>Display detailed information on one or more containers</b>`docker container inspect [container_name]`<br><b>Export a container's filesystem as a tar archive</b>`docker container export [container_name]`<br><b>Create a new image from a container's changes</b>`docker container commit [container_name]`


title: TLDR
content:
<b>Analyze a Composer JSON file</b>`composer-require-checker check [path/to/composer.json]`<br><b>Analyze a Composer JSON file with a specific configuration</b>`composer-require-checker check --config-file [path/to/config.json] [path/to/composer.json]`


title: TLDR
content:
<b>Build and sign the iOS application in the current directory</b>`fastlane run build_app`<br><b>Run pod install for the project in the current directory</b>`fastlane run cocoapods`<br><b>Delete the derived data from Xcode</b>`fastlane run clear_derived_data`<br><b>Remove the cache for pods</b>`fastlane run clean_cocoapods_cache`


title: TLDR
content:
<b>Display the value associated with a specified key</b>`etcdctl get [my/key]`<br><b>Store a key-value pair</b>`etcdctl put [my/key] [my_value]`<br><b>Delete a key-value pair</b>`etcdctl del [my/key]`<br><b>Store a key-value pair, reading the value from a file</b>`etcdctl < [path/to/file.txt] put [my/file]`<br><b>Save a snapshot of the etcd keystore</b>`etcdctl snapshot save [path/to/snapshot.db]`<br><b>Restore a snapshot of an etcd keystore (restart the etcd server afterwards)</b>`etcdctl snapshot restore [path/to/snapshot.db]`<br><b>Add a user</b>`etcdctl user add [my_user]`<br><b>Watch a key for changes</b>`etcdctl watch [my/key]`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b>`clj`<br><b>Execute a function</b>`clj -X [namespace/function_name]`<br><b>Run the main function of a specified namespace</b>`clj -M [[-m|--main]] [namespace] [args]`<br><b>Prepare a project by resolving dependencies, downloading libraries, and making/caching classpaths</b>`clj -P`<br><b>Start an nREPL server with the CIDER middleware</b>`clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"]}' [[-m|--main]] nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactive`<br><b>Start a REPL for ClojureScript and open a web browser</b>`clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.758"]}' [[-m|--main]] cljs.main [[-r|--repl]]`


title: TLDR
content:
<b>Initialize a new React Native project in a directory of the same name</b>`react-native init [project_name]`<br><b>Start the metro bundler</b>`react-native start`<br><b>Start the metro bundler with a clean cache</b>`react-native start --reset-cache`<br><b>Build the current application and start it on a connected Android device or emulator</b>`react-native run-android`<br><b>Build the current application and start it on an iOS simulator</b>`react-native run-ios`<br><b>Build the current application in release mode and start it on a connected Android device or emulator</b>`react-native run-android --variant=[release]`<br><b>Start logkitty and print logs to stdout</b>`react-native log-android`<br><b>Start tail system.log for an iOS simulator and print logs to stdout</b>`react-native log-ios`


title: TLDR
content:
<b>Output a YAML file, in pretty-print format (v4+)</b>`yq eval [path/to/file.yaml]`<br><b>Output a YAML file, in pretty-print format (v3)</b>`yq read [path/to/file.yaml] [[-C|--colors]]`<br><b>Output the first element in a YAML file that contains only an array (v4+)</b>`yq eval '.[0]' [path/to/file.yaml]`<br><b>Output the first element in a YAML file that contains only an array (v3)</b>`yq read [path/to/file.yaml] '[0]'`<br><b>Set (or overwrite) a key to a value in a file (v4+)</b>`yq eval '.[key] = "[value]"' [[-i|--inplace]] [path/to/file.yaml]`<br><b>Set (or overwrite) a key to a value in a file (v3)</b>`yq write [[-i|--inplace]] [path/to/file.yaml] '[key]' '[value]'`<br><b>Merge two files and print to stdout (v4+)</b>`yq eval-all 'select(filename == "[path/to/file1.yaml]") * select(filename == "[path/to/file2.yaml]")' [path/to/file1.yaml] [path/to/file2.yaml]`<br><b>Merge two files and print to stdout (v3)</b>`yq merge [path/to/file1.yaml] [path/to/file2.yaml] [[-C|--colors]]`


title: TLDR
content:
<b>Create a new bug report file in the current directory</b>`git bugreport`<br><b>Create a new bug report file in the specified directory, creating it if it does not exist</b>`git bugreport [[-o|--output-directory]] [path/to/directory]`<br><b>Create a new bug report file with the specified filename suffix in strftime format</b>`git bugreport [[-s|--suffix]] [%m%d%y]`


title: TLDR
content:
<b>Parse a project</b>`doctum parse`<br><b>Render a project</b>`doctum render`<br><b>Parse then render a project</b>`doctum update`<br><b>Parse and render only a specific version of a project</b>`doctum update --only-version=[version]`<br><b>Parse and render a project using a specific configuration</b>`doctum update [path/to/config.php]`


title: TLDR
content:
<b>Bring up the default Hyperledger Fabric network</b>`minifab up [[-i|--fabric-release]] [minifab_version]`<br><b>Bring down the Hyperledger Fabric network</b>`minifab down`<br><b>Install chaincode onto a specified channel</b>`minifab install [[-n|--chaincode-name]] [chaincode_name]`<br><b>Install a specific chaincode version onto a channel</b>`minifab install [[-n|--chaincode-name]] [chaincode_name] [[-v|--chaincode-version]] [chaincode_version]`<br><b>Initialize the chaincode after installation/upgrade</b>`minifab approve,commit,initialize,discover`<br><b>Invoke a chaincode method with the specified arguments</b>`minifab invoke [[-n|--chaincode-name]] [chaincode_name] [[-p|--chaincode-parameters]] '"[method_name]", ["argument1", "argument2", ...]'`<br><b>Make a query on the ledger</b>`minifab blockquery [block_number]`<br><b>Quickly run an application</b>`minifab apprun [[-l|--chaincode-language]] [app_programming_language]`


title: TLDR
content:
<b>Test a URL with default settings</b>`siege [https://example.com]`<br><b>Test a list of URLs</b>`siege [[-f|--file]] [path/to/url_list.txt]`<br><b>Test list of URLs in a random order (Simulates internet traffic)</b>`siege [[-i|--internet]] [[-f|--file]] [path/to/url_list.txt]`<br><b>Benchmark a list of URLs (without waiting between requests)</b>`siege [[-b|--benchmark]] [[-f|--file]] [path/to/url_list.txt]`<br><b>Set the amount of concurrent connections</b>`siege [[-c|--concurrent]] [50] [[-f|--file]] [path/to/url_list.txt]`<br><b>Set how long for the siege to run for</b>`siege [[-t|--time]] [30s] [[-f|--file]] [path/to/url_list.txt]`


title: TLDR
content:
<b>List mail</b>`from`<br><b>Display the number of messages stored</b>`from --count`<br><b>List mail in the specified mailbox directory</b>`MAIL=[path/to/mailbox] from`<br><b>Print the mail from the specified address</b>`from --sender=[me@example.com]`


title: TLDR
content:
<b>Move files using a regex-like pattern</b>`zmv '[(*).log]' '[$1.txt]'`<br><b>Preview the result of a move, without making any actual changes</b>`zmv -n '[(*).log]' '[$1.txt]'`<br><b>Interactively move files, with a prompt before every change</b>`zmv -i '[(*).log]' '[$1.txt]'`<br><b>Verbosely print each action as it's being executed</b>`zmv -v '[(*).log]' '[$1.txt]'`


title: TLDR
content:
<b>Start the GUI</b>`lmms`<br><b>Start the GUI and load external config</b>`lmms --config [path/to/config.xml]`<br><b>Start the GUI and import MIDI or Hydrogen file</b>`lmms --import [path/to/midi_or_hydrogen_file]`<br><b>Start the GUI with a specified window size</b>`lmms --geometry [x_size]x[y_size]+[x_offset]+[y_offset]`<br><b>Dump a .mmpz file</b>`lmms dump [path/to/mmpz_file.mmpz]`<br><b>Render a project file</b>`lmms render [path/to/mmpz_or_mmp_file]`<br><b>Render the individual tracks of a project file</b>`lmms rendertracks [path/to/mmpz_or_mmp_file] [path/to/dump_directory]`<br><b>Render with custom samplerate, format, and as a loop</b>`lmms render --samplerate [88200] --format [ogg] --loop --output [path/to/output_file.ogg]`


title: TLDR
content:
<b>Display a list of available services</b>`takeout enable`<br><b>Enable a specific service</b>`takeout enable [name]`<br><b>Enable a specific service with the default parameters</b>`takeout enable --default [name]`<br><b>Display a list of enabled services</b>`takeout disable`<br><b>Disable a specific service</b>`takeout disable [name]`<br><b>Disable all services</b>`takeout disable --all`<br><b>Start a specific container</b>`takeout start [container_id]`<br><b>Stop a specific container</b>`takeout stop [container_id]`


title: TLDR
content:
<b>Start the Mixxx GUI in fullscreen</b>`mixxx --fullScreen`<br><b>Start in safe developer mode to debug a crash</b>`mixxx --developer --safeMode`<br><b>Debug a malfunction</b>`mixxx --debugAssertBreak --developer --loglevel trace`<br><b>Start Mixxx using the specified settings file</b>`mixxx --resourcePath [mixxx/res/controllers] --settingsPath [path/to/settings-file]`<br><b>Debug a custom controller mapping</b>`mixxx --controllerDebug --resourcePath [path/to/mapping-directory]`<br><b>Display help</b>`mixxx --help`


title: TLDR
content:
<b>Open a PDF on the first page</b>`mupdf [path/to/file]`<br><b>Open a PDF on page 3</b>`mupdf [path/to/file] [3]`<br><b>Open a password secured PDF</b>`mupdf -p [password] [path/to/file]`<br><b>Open a PDF with an initial zoom level, specified as DPI, of 72</b>`mupdf -r [72] [path/to/file]`<br><b>Open a PDF with inverted color</b>`mupdf -I [path/to/file]`<br><b>Open a PDF tinted red #FF0000 (hexadecimal color syntax RRGGBB)</b>`mupdf -C [FF0000]`<br><b>Open a PDF without anti-aliasing (0 = off, 8 = best)</b>`mupdf -A [0]`


title: TLDR
content:
<b>Write a commit-graph file for the packed commits in the repository's local .git directory</b>`git commit-graph write`<br><b>Write a commit-graph file containing all reachable commits</b>`git show-ref [[-s|--hash]] | git commit-graph write --stdin-commits`<br><b>Write a commit-graph file containing all commits in the current commit-graph file along with those reachable from HEAD</b>`git rev-parse [HEAD] | git commit-graph write --stdin-commits --append`


title: TLDR
content:
<b>Launch tuir</b>`tuir`<br><b>Open a subreddit</b>`</>[subreddit_name]`<br><b>Open a link</b>`<o>`<br><b>Open a specific subreddit on launch</b>`tuir -s [subreddit_name]`<br><b>Open external links using programs defined in the mailcap config</b>`tuir --enable-media`


title: TLDR
content:
<b>Display the releases for the current repository in JSON format</b>`gh api repos/:owner/:repo/releases`<br><b>Create a reaction for a specific issue</b>`gh api [[-H|--header]] [Accept:application/vnd.github.squirrel-girl-preview+json] [[-f|--raw-field]] '[content=+1]' [repos/:owner/:repo/issues/123/reactions]`<br><b>Display the result of a GraphQL query in JSON format</b>`gh api graphql [[-f|--field]] [name=':repo'] [[-f|--raw-field]] '[query]'`<br><b>Send a request using a custom HTTP method</b>`gh api [[-X|--method]] [POST] [endpoint]`<br><b>Include the HTTP response headers in the output</b>`gh api [[-i|--include]] [endpoint]`<br><b>Do not print the response body</b>`gh api --silent [endpoint]`<br><b>Send a request to a specific GitHub Enterprise Server</b>`gh api --hostname [github.example.com] [endpoint]`<br><b>Display the subcommand help</b>`gh api --help`


title: TLDR
content:
<b>Check if the configuration files are valid or not (if present report errors)</b>`promtool check config [config_file.yml]`<br><b>Check if the rule files are valid or not (if present report errors)</b>`promtool check rules [rules_file.yml]`<br><b>Pass Prometheus metrics over stdin to check them for consistency and correctness</b>`curl --silent [http://example.com:9090/metrics/] | promtool check metrics`<br><b>Unit tests for rules config</b>`promtool test rules [test_file.yml]`


title: TLDR
content:
<b>Start the server that communicates with connected devices</b>`react-native start`<br><b>Start the metro bundler with a clean cache</b>`react-native start --reset-cache`<br><b>Start the server in a custom port (defaults to 8081)</b>`react-native start --port [3000]`<br><b>Start the server in verbose mode</b>`react-native start --verbose`<br><b>Specify the maximum number of workers for transforming files (default is the number of CPU cores)</b>`react-native start --max-workers [count]`<br><b>Disable interactive mode</b>`react-native start --no-interactive`


title: TLDR
content:
<b>Add files to a changelist, creating the changelist if it does not exist</b>`svn [[cl|changelist]] [changelist_name] [path/to/file1 path/to/file2 ...]`<br><b>Remove files from a changelist</b>`svn [[cl|changelist]] --remove [path/to/file1 path/to/file2 ...]`<br><b>Remove the whole changelist at once</b>`svn [[cl|changelist]] --remove [[-R|--recursive]] --changelist [changelist_name] .`<br><b>Add the contents of a space-separated list of directories to a changelist</b>`svn [[cl|changelist]] [[-R|--recursive]] [changelist_name] [path/to/directory1 path/to/directory2 ...]`<br><b>Commit a changelist</b>`svn commit --changelist [changelist_name]`


title: TLDR
content:
<b>Create a new Laravel application</b>`lambo new [app_name]`<br><b>Open the configuration in your default editor</b>`lambo edit-config`<br><b>Open the configuration in a specific editor</b>`lambo edit-config [[-e|--editor]] "[path/to/editor]"`<br><b>Open the configuration file that is run after new applications have been scaffolded</b>`lambo edit-after`


title: TLDR
content:
<b>Run a flow check</b>`flow`<br><b>Check which files are being checked by flow</b>`flow ls`<br><b>Run a type coverage check on all files in a directory</b>`flow batch-coverage --show-all --strip-root [path/to/directory]`<br><b>Display line-by-line type coverage stats</b>`flow coverage --color [path/to/file.jsx]`


title: TLDR
content:
<b>Do a dry run and print the configuration to stdout</b>`sudo grub-mkconfig`<br><b>Generate the configuration file</b>`sudo grub-mkconfig [[-o|--output]] [/boot/grub/grub.cfg]`<br><b>Display help</b>`grub-mkconfig [[-h|--help]]`


title: TLDR
content:
<b>Install GRUB on a BIOS system</b>`sudo grub-install [path/to/device]`<br><b>Install GRUB on a BIOS system while specifying architecture</b>`sudo grub-install --target [i386-pc] [path/to/device]`<br><b>Install GRUB on an UEFI system</b>`sudo grub-install --efi-directory [path/to/efi_directory]`<br><b>Install GRUB on an UEFI system while specifying architecture and boot menu text</b>`sudo grub-install --target [x86_64-efi] --efi-directory [path/to/efi_directory] --bootloader-id [GRUB]`<br><b>Install GRUB pre-loading specific modules</b>`sudo grub-install --target [x86_64-efi] --efi-directory [path/to/efi_directory] --modules "[part_gpt part_msdos]"`<br><b>Display help</b>`grub-install [[-?|--help]]`


title: TLDR
content:
<b>Run a speed test</b>`speedtest`<br><b>Run a speed test and specify the unit of the output</b>`speedtest [[-u|--unit]] [auto-decimal-bits|auto-decimal-bytes|auto-binary-bits|auto-binary-bytes]`<br><b>Run a speed test and specify the output format</b>`speedtest [[-f|--format]] [human-readable|csv|tsv|json|jsonl|json-pretty]`<br><b>Run a speed test and specify the number of decimal points to use (0 to 8, defaults to 2)</b>`speedtest [[-P|--precision]] [precision]`<br><b>Run a speed test and print its progress (only available for output format human-readable and json)</b>`speedtest [[-p|--progress]] [yes|no]`<br><b>List all speedtest.net servers, sorted by distance</b>`speedtest [[-L|--servers]]`<br><b>Run a speed test to a specific speedtest.net server</b>`speedtest [[-s|--server-id]] [server_id]`


title: TLDR
content:
<b>Update the package database</b>`sudo pacman -Fy`<br><b>Find the package that owns a specific [F]ile</b>`pacman -F [filename]`<br><b>Find the package that owns a specific [F]ile, using a rege[x]</b>`pacman -Fx '[regex]'`<br><b>List only the package names</b>`pacman -Fq [filename]`<br><b>[l]ist the [F]iles owned by a specific package</b>`pacman -Fl [package]`<br><b>Display [h]elp</b>`pacman -Fh`


title: TLDR
content:
<b>Generate a mirrorlist using the default settings</b>`sudo pacman-mirrors --fasttrack`<br><b>Get the status of the current mirrors</b>`pacman-mirrors --status`<br><b>Display the current branch</b>`pacman-mirrors --get-branch`<br><b>Switch to a different branch</b>`sudo pacman-mirrors --api --set-branch [stable|unstable|testing]`<br><b>Generate a mirrorlist, only using mirrors in your country</b>`sudo pacman-mirrors --geoip`


title: TLDR
content:
<b>Print the package names of the dependencies that are not installed</b>`pacman -T [package1 package2 ...]`<br><b>Check if the installed package satisfies the given minimum version</b>`pacman -T "[bash>=5]"`<br><b>Check if a later version of a package is installed</b>`pacman -T "[bash>5]"`<br><b>Display [h]elp</b>`pacman -Th`


title: TLDR
content:
<b>Display help</b>`kwriteconfig5 --help`<br><b>Set a global configuration key</b>`kwriteconfig5 --group [group_name] --key [key] [value]`<br><b>Set a key in a specific configuration file</b>`kwriteconfig5 --file [path/to/file] --group [group_name] --key [key] [value]`<br><b>Delete a key</b>`kwriteconfig5 --group [group_name] --key [key] --delete`<br><b>Use systemd to start the Plasma session when available</b>`kwriteconfig5 --file [startkderc] --group [General] --key [systemdBoot] [true]`<br><b>Hide the title bar when a window is maximized (like Ubuntu)</b>`kwriteconfig5 --file [~/.config/kwinrc] --group [Windows] --key [BorderlessMaximizedWindows] [true]`<br><b>Configure KRunner to open with the Meta (Command/Windows) global hotkey</b>`kwriteconfig5 --file [~/.config/kwinrc] --group [ModifierOnlyShortcuts] --key [Meta] "[org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch]"`


title: TLDR
content:
<b>Install one or more packages from files</b>`sudo pacman -U [path/to/package1.pkg.tar.zst path/to/package2.pkg.tar.zst ...]`<br><b>Install a package without prompting</b>`sudo pacman -U --noconfirm [path/to/package.pkg.tar.zst]`<br><b>Overwrite conflicting files during a package installation</b>`sudo pacman -U --overwrite [path/to/file] [path/to/package.pkg.tar.zst]`<br><b>Install a package, skipping the [d]ependency version checks</b>`sudo pacman -Ud [path/to/package.pkg.tar.zst]`<br><b>Fetch and [p]rint packages that would be affected by upgrade (does not install any packages)</b>`pacman -Up [path/to/package.pkg.tar.zst]`<br><b>Display [h]elp</b>`pacman -Uh`


title: TLDR
content:
<b>[Q]uery the local package database and list installed packages and versions</b>`pacman -Q`<br><b>List only packages and versions that were [e]xplicitly installed</b>`pacman -Qe`<br><b>Find which package [o]wns a file</b>`pacman -Qo [filename]`<br><b>Display information about an [i]nstalled package</b>`pacman -Qi [package]`<br><b>Display the [l]ist of files owned by a specific package</b>`pacman -Ql [package]`<br><b>List orphan packages (installed as [d]ependencies but unrequired ([t]) by any package and print in [q]uiet mode (only package name is displayed))</b>`pacman -Qdtq`<br><b>List installed packages foreign ([m]) to the repository database</b>`pacman -Qm`<br><b>List packages that can be [u]pgraded</b>`pacman -Qu`


title: TLDR
content:
<b>Make a search using Google</b>`tuxi [search_terms]`<br><b>Display the search results in [r]aw format (no pretty output, no colors)</b>`tuxi -r [search_terms]`<br><b>Display only search results (silences "Did you mean?", greetings and usage)</b>`tuxi -q [search_terms]`<br><b>Display help</b>`tuxi -h`


title: TLDR
content:
<b>Display the status of the indexer</b>`balooctl status`<br><b>Enable/Disable the file indexer</b>`balooctl [enable|disable]`<br><b>Clean the index database</b>`balooctl purge`<br><b>Suspend the file indexer</b>`balooctl suspend`<br><b>Resume the file indexer</b>`balooctl resume`<br><b>Display the disk space used by Baloo</b>`balooctl indexSize`<br><b>Check for any unindexed files and index them</b>`balooctl check`<br><b>Display help</b>`balooctl [[-h|--help]]`


title: TLDR
content:
<b>[R]emove a package and its dependencies recur[s]ively</b>`sudo pacman -Rs [package]`<br><b>[R]emove a package and its dependencies. Also do [n]ot save backups of configuration files</b>`sudo pacman -Rsn [package]`<br><b>[R]emove a package without prompting</b>`sudo pacman -R --noconfirm [package]`<br><b>[R]emove orphan packages (installed as [d]ependencies but no[t] required by any package)</b>`sudo pacman -Rsn $(pacman -Qdtq)`<br><b>[R]emove a package and [c]ascade that to all packages that depend on it</b>`sudo pacman -Rc [package]`<br><b>List and [p]rint packages that would be affected (does not [R]emove any packages)</b>`pacman -Rp [package]`<br><b>Display [h]elp</b>`pacman -Rh`


title: TLDR
content:
<b>Read a key from the global configuration</b>`kreadconfig5 --group [group_name] --key [key_name]`<br><b>Read a key from a specific configuration file</b>`kreadconfig5 --file [path/to/file] --group [group_name] --key [key_name]`<br><b>Check if systemd is used to start the Plasma session</b>`kreadconfig5 --file [startkderc] --group [General] --key [systemdBoot]`


title: TLDR
content:
<b>Mark a package as implicitly installed</b>`sudo pacman -D --asdeps [package]`<br><b>Mark a package as explicitly installed</b>`sudo pacman -D --asexplicit [package]`<br><b>Chec[k] that all the package dependencies are installed</b>`pacman -Dk`<br><b>Chec[k] the sync [D]atabase to ensure all specified dependencies of downloadable packages are available</b>`pacman -Dkk`<br><b>Chec[k] and display in [q]uiet mode (only error messages are displayed)</b>`pacman -Dkq`<br><b>Display [h]elp</b>`pacman -Dh`


title: TLDR
content:
<b>Install a new package</b>`sudo pacman -S [package]`<br><b>[S]ynchronize and refresh ([y]) the package database along with a sys[u]pgrade (add --downloadonly to only download the packages and not update them)</b>`sudo pacman -Syu`<br><b>Update and [u]pgrade all packages and install a new one without prompting</b>`sudo pacman -Syu --noconfirm [package]`<br><b>[s]earch the package database for a regex or keyword</b>`pacman -Ss "[search_pattern]"`<br><b>Display [i]nformation about a package</b>`pacman -Si [package]`<br><b>Overwrite conflicting files during a package update</b>`sudo pacman -Syu --overwrite [path/to/file]`<br><b>Remove not installed packages and unused repositories from the cache (use the flags Scc to [c]lean all packages)</b>`sudo pacman -Sc`<br><b>Specify the package version that should be installed</b>`sudo pacman -S [package]=[version]`


title: TLDR
content:
<b>Perform a dry run (print what would be done without actually doing it)</b>`mkinitcpio`<br><b>Generate ramdisk environments based on all existing presets (used to regenerate all the initramfs images after a change in /etc/mkinitcpio.conf)</b>`sudo mkinitcpio [[-P|--allpresets]]`<br><b>Generate a ramdisk environment based on the linux preset</b>`sudo mkinitcpio [[-p|--preset]] linux`<br><b>Generate a ramdisk environment based on the linux-lts preset</b>`sudo mkinitcpio [[-p|--preset]] linux-lts`<br><b>Generate an initramfs image using an alternative configuration file</b>`sudo mkinitcpio [[-c|--config]] [path/to/mkinitcpio.conf] [[-g|--generate]] [path/to/initramfs.img]`<br><b>Generate an initramfs image for a kernel other than the one currently running (the installed kernel releases can be found in /usr/lib/modules/)</b>`sudo mkinitcpio [[-k|--kernel]] [kernel_version] [[-g|--generate]] [path/to/initramfs.img]`<br><b>List all available hooks</b>`mkinitcpio [[-L|--listhooks]]`<br><b>Display help for a specific hook</b>`mkinitcpio [[-H|--hookhelp]] [hook_name]`


title: TLDR
content:
<b>Start an interactive shell (Bash, by default) in a new root directory</b>`arch-chroot [path/to/new_root]`<br><b>Specify the user (other than the current user) to run the shell as</b>`arch-chroot -u [user] [path/to/new_root]`<br><b>Run a custom command (instead of the default Bash) in the new root directory</b>`arch-chroot [path/to/new_root] [command] [command_arguments]`<br><b>Specify the shell, other than the default Bash (in this case, the zsh package should have been installed in the target system)</b>`arch-chroot [path/to/new_root] [zsh]`


title: TLDR
content:
<b>Send a WoL packet to a device</b>`wol [mac_address]`<br><b>Send a WoL packet to a device in another subnet based on its IP</b>`wol [[-i|--ipaddr]] [ip_address] [mac_address]`<br><b>Send a WoL packet to a device in another subnet based on its hostname</b>`wol [[-h|--host]] [hostname] [mac_address]`<br><b>Send a WoL packet to a specific port on a host</b>`wol [[-p|--port]] [port_number] [mac_address]`<br><b>Read hardware addresses, IP addresses/hostnames, optional ports and SecureON passwords from a file</b>`wol [[-f|--file]] [path/to/file]`<br><b>Turn on verbose output</b>`wol [[-v|--verbose]] [mac_address]`


title: TLDR
content:
<b>Generate all possible strings that match a regex</b>`exrex '[regex]'`<br><b>Generate a random string that matches a regex</b>`exrex [[-r|--random]] '[regex]'`<br><b>Generate at most 100 strings that match a regex</b>`exrex [[-m|--max-number]] [100] '[regex]'`<br><b>Generate all possible strings that match a regex, joined by a custom delimiter string</b>`exrex [[-d|--delimiter]] "[, ]" '[regex]'`<br><b>Print count of all possible strings that match a regex</b>`exrex [[-c|--count]] '[regex]'`<br><b>Simplify a regex</b>`exrex [[-s|--simplify]] '[ab|ac]'`<br><b>Print eyes</b>`exrex '[[oO0](_)[oO0]]'`<br><b>Print a boat</b>`exrex '[( {20}(\| *\\|-{22}|\|)|\.={50}| ( ){0,5}\\\.| {12}~{39})]'`


title: TLDR
content:
<b>Display the AndroidManifest.xml of the base module</b>`bundletool dump manifest --bundle [path/to/bundle.aab]`<br><b>Display a specific value from the AndroidManifest.xml using XPath</b>`bundletool dump manifest --bundle [path/to/bundle.aab] --xpath [/manifest/@android:versionCode]`<br><b>Display the AndroidManifest.xml of a specific module</b>`bundletool dump manifest --bundle [path/to/bundle.aab] --module [name]`<br><b>Display all the resources in the application bundle</b>`bundletool dump resources --bundle [path/to/bundle.aab]`<br><b>Display the configuration for a specific resource</b>`bundletool dump resources --bundle [path/to/bundle.aab] --resource [type/name]`<br><b>Display the configuration and values for a specific resource using the ID</b>`bundletool dump resources --bundle [path/to/bundle.aab] --resource [0x7f0e013a] --values`<br><b>Display the contents of the bundle configuration file</b>`bundletool dump config --bundle [path/to/bundle.aab]`


title: TLDR
content:
<b>Install a package and its dependencies</b>`tlmgr install [package]`<br><b>Remove a package and its dependencies</b>`tlmgr remove [package]`<br><b>Display information about a package</b>`tlmgr info [package]`<br><b>Update all packages</b>`tlmgr update --all`<br><b>Show possible updates without updating anything</b>`tlmgr update --list`<br><b>Start a GUI version of tlmgr</b>`tlmgr gui`<br><b>List all TeX Live configurations</b>`tlmgr conf`


title: TLDR
content:
<b>Ask Betty something</b>`betty [what time is it]`<br><b>Download a file</b>`betty download [https://example.com/file.ext] to [path/to/output_file.ext]`<br><b>Compress a file or directory to one of the support archive formats</b>`betty [zip] [path/to/file_or_directory]`<br><b>Extract an archive into the current directory</b>`betty [unzip] [archive.tar.gz]`<br><b>Extract an archive into a specific directory</b>`betty unarchive [archive.tar.gz] to [path/to/directory]`<br><b>Play Spotify</b>`betty play [Spotify]`<br><b>Drive Betty to madness</b>`betty go crazy`<br><b>Display version</b>`betty version`


title: TLDR
content:
<b>Add a command to the task list</b>`pueue add -- "[command]"`<br><b>List tasks in the task list</b>`pueue status`<br><b>Send data to a task's stdin</b>`pueue send [task_id] "[hello]"`<br><b>View a task's stdout and stderr, as well as basic information about that task</b>`pueue log [task_id]`<br><b>Create a task group</b>`pueue group --add [group_name]`<br><b>Kill a task</b>`pueue kill [task_id]`<br><b>Set maximum amount of parallel tasks (queued tasks are started as needed to meet this limit)</b>`pueue parallel [number_of_parallel_tasks]`<br><b>Edit the command line of a stopped task in the default editor (as specified by $EDITOR)</b>`pueue edit [task_id]`


title: TLDR
content:
<b>List SSH keys for the currently authenticated user</b>`gh ssh-key [[ls|list]]`<br><b>Add an SSH key to the currently authenticated user's account</b>`gh ssh-key add [path/to/key.pub]`<br><b>Add an SSH key to the currently authenticated user's account with a specific title</b>`gh ssh-key add [[-t|--title]] [title] [path/to/key.pub]`<br><b>Display help</b>`gh ssh-key`


title: TLDR
content:
<b>Compile a DVI document</b>`tex [source.tex]`<br><b>Compile a DVI document, specifying an output directory</b>`tex -output-directory=[path/to/directory] [source.tex]`<br><b>Compile a DVI document, exiting on each error</b>`tex -halt-on-error [source.tex]`


title: TLDR
content:
<b>Deploy the current directory</b>`vercel`<br><b>Deploy the current directory to production</b>`vercel --prod`<br><b>Deploy a directory</b>`vercel [path/to/project]`<br><b>Initialize an example project</b>`vercel init`<br><b>Deploy with environment variables</b>`vercel [[-e|--env]] [ENV]=[var]`<br><b>Build with environment variables</b>`vercel [[-b|--build-env]] [ENV]=[var]`<br><b>Set default regions to enable the deployment on</b>`vercel --regions [region_id]`<br><b>Remove a deployment</b>`vercel remove [project_name]`


title: TLDR
content:
<b>Open the first search result in the default PDF viewer</b>`texdoc [search]`<br><b>List the best search results</b>`texdoc [[-l|--list]] [search]`<br><b>Open full documentation of texdoc</b>`texdoc [texdoc]`


title: TLDR
content:
<b>Install pre-commit into your Git hooks</b>`pre-commit install`<br><b>Run pre-commit hooks on all staged files</b>`pre-commit run`<br><b>Run pre-commit hooks on all files, staged or unstaged</b>`pre-commit run --all-files`<br><b>Clean pre-commit cache</b>`pre-commit clean`<br><b>Update pre-commit configuration file to the latest repos' versions</b>`pre-commit autoupdate`


title: TLDR
content:
<b>Compile a DVI document</b>`latex [source.tex]`<br><b>Compile a DVI document, specifying an output directory</b>`latex -output-directory=[path/to/directory] [source.tex]`<br><b>Compile a DVI document, exiting on each error</b>`latex -halt-on-error [source.tex]`


title: TLDR
content:
<b>Test your internet connection and ping speed</b>`speed-test`<br><b>Print the results as JSON</b>`speed-test --json`<br><b>Print the results in megabytes per second (MBps)</b>`speed-test --bytes`<br><b>Print more detailed information</b>`speed-test --verbose`


title: TLDR
content:
<b>Start the current application in development mode</b>`next dev`<br><b>Start the current application and listen on a specific port</b>`next dev [[-p|--port]] [port]`<br><b>Build the current application optimized for production</b>`next build`<br><b>Start the compiled application in production mode</b>`next start`<br><b>Start the compiled application and listen on a specific port</b>`next start [[-p|--port]] [port]`<br><b>Export the current application to static HTML pages</b>`next export`<br><b>Display the Next.js telemetry status</b>`next telemetry`<br><b>Display help for a subcommand</b>`next [build|dev|export|start|telemetry] [[-h|--help]]`


title: TLDR
content:
<b>Gather information on a domain using Google</b>`theHarvester --domain [domain_name] --source google`<br><b>Gather information on a domain using multiple sources</b>`theHarvester --domain [domain_name] --source [duckduckgo,bing,crtsh]`<br><b>Change the limit of results to work with</b>`theHarvester --domain [domain_name] --source [google] --limit [200]`<br><b>Save the output to two files in XML and HTML format</b>`theHarvester --domain [domain_name] --source [google] --file [output_file_name]`<br><b>Display help</b>`theHarvester --help`


title: TLDR
content:
<b>Measure the current download speed</b>`fast`<br><b>Measure the current upload speed in addition to download speed</b>`fast [[-u|--upload]]`<br><b>Display results on a single line to reduce spacing</b>`fast --single-line`<br><b>Display complete results - download/upload speeds, latency, and ISP info</b>`fast --verbose`


title: TLDR
content:
<b>Download missing packages while compiling</b>`texliveonfly [source.tex]`<br><b>Use a specific compiler (defaults to pdflatex)</b>`texliveonfly [[-c|--compiler]] [compiler] [source.tex]`<br><b>Use a custom TeX Live bin folder</b>`texliveonfly --texlive_bin=[path/to/texlive_bin] [source.tex]`


title: TLDR
content:
<b>Verify the integrity of an image file (width, height, and color depth)</b>`pngcheck [path/to/image.png]`<br><b>Print information for an image with [c]olorized output</b>`pngcheck -c [path/to/image.png]`<br><b>Print [v]erbose information for an image</b>`pngcheck -cvt [path/to/image.png]`<br><b>Receive an image from stdin and display detailed information</b>`cat [path/to/image.png] | pngcheck -cvt`<br><b>[s]earch for PNGs within a specific file and display information about them</b>`pngcheck -s [path/to/image.png]`<br><b>Search for PNGs within another file and e[x]tract them</b>`pngcheck -x [path/to/image.png]`


title: TLDR
content:
<b>Set the MP3 output bitrate in kbit/s</b>`musescore [[-b|--bitrate]] [bitrate]`<br><b>Start MuseScore in debug mode</b>`musescore [[-d|--debug]]`<br><b>Enable experimental features, such as layers</b>`musescore [[-e|--experimental]]`<br><b>Export the given file to the specified output file. The file type depends on the given extension</b>`musescore [[-o|--export-to]] [output_file] [input_file]`<br><b>Print a diff between the given scores</b>`musescore --diff [path/to/file1] [path/to/file2]`<br><b>Specify a MIDI import operations file</b>`musescore [[-M|--midi-operations]] [path/to/file]`


title: TLDR
content:
<b>Convert a PNG to a vector image format</b>`vectorize-pixelart [path/to/input.png] [path/to/output.svg|.eps]`


title: TLDR
content:
<b>Compile a PDF document</b>`pdftex [source.tex]`<br><b>Compile a PDF document, specifying an output directory</b>`pdftex -output-directory=[path/to/directory] [source.tex]`<br><b>Compile a PDF document, exiting on each error</b>`pdftex -halt-on-error [source.tex]`


title: TLDR
content:
<b>Display attributes of a process</b>`chrt [[-p|--pid]] [PID]`<br><b>Display attributes of all threads of a process</b>`chrt [[-a|--all-tasks]] [[-p|--pid]] [PID]`<br><b>Display the min/max priority values that can be used with chrt</b>`chrt [[-m|--max]]`<br><b>Set the scheduling priority of a process</b>`chrt [[-p|--pid]] [priority] [PID]`<br><b>Set the scheduling policy of a process</b>`chrt --[deadline|idle|batch|rr|fifo|other] [[-p|--pid]] [priority] [PID]`


title: TLDR
content:
<b>Build a sketch</b>`arduino --verify [path/to/file.ino]`<br><b>Build and upload a sketch</b>`arduino --upload [path/to/file.ino]`<br><b>Build and upload a sketch to an Arduino Nano with an Atmega328p CPU, connected on port /dev/ttyACM0</b>`arduino --board [arduino:avr:nano:cpu=atmega328p] --port [/dev/ttyACM0] --upload [path/to/file.ino]`<br><b>Set the preference name to a given value</b>`arduino --pref [name]=[value]`<br><b>Build a sketch, put the build results in the build directory, and reuse any previous build results in that directory</b>`arduino --pref build.path=[path/to/build_directory] --verify [path/to/file.ino]`<br><b>Save any (changed) preferences to preferences.txt</b>`arduino --save-prefs`<br><b>Install the latest SAM board</b>`arduino --install-boards "[arduino:sam]"`<br><b>Install Bridge and Servo libraries</b>`arduino --install-library "[Bridge:1.0.0,Servo:1.2.0]"`


title: TLDR
content:
<b>List available service names</b>`qdbus`<br><b>List object paths for a specific service</b>`qdbus [service_name]`<br><b>List methods, signals and properties available on a specific object</b>`qdbus [service_name] /[path/to/object]`<br><b>Execute a specific method passing arguments and display the returned value</b>`qdbus [service_name] /[path/to/object] [method_name] [argument1 argument2 ...]`<br><b>Display the current brightness value in a KDE Plasma session</b>`qdbus [org.kde.Solid.PowerManagement] [/org/kde/Solid/PowerManagement/Actions/BrightnessControl] [org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness]`<br><b>Set a specific brightness to a KDE Plasma session</b>`qdbus [org.kde.Solid.PowerManagement] [/org/kde/Solid/PowerManagement/Actions/BrightnessControl] [org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness] [5000]`<br><b>Invoke volume up shortcut in a KDE Plasma session</b>`qdbus [org.kde.kglobalaccel] [/component/kmix] [invokeShortcut] "[increase_volume]"`<br><b>Gracefully log out and then do nothing, reboot or shut down</b>`qdbus [org.kde.Shutdown] [/Shutdown] [logout|logoutAndReboot|logoutAndShutdown]`


title: SYNOPSIS
content:
<p><b>python</b> [ <b>-B</b> ] [ <b>-d</b> ] [ <b>-E</b> ] [ <b>-h</b> ] [ <b>-i</b> ] [ <b>-m</b> <em>module-name</em> ]<br />[ <b>-O</b> ] [ <b>-OO</b> ] [ <b>-R</b> ] [ <b>-Q</b> <em>argument</em> ] [ <b>-s</b> ] [ <b>-S</b> ] [ <b>-t</b> ] [ <b>-u</b> ]<br />[ <b>-v</b> ] [ <b>-V</b> ] [ <b>-W</b> <em>argument</em> ] [ <b>-x</b> ] [ <b>-3</b> ] [ <b>-?</b> ]<br />[ <b>-c</b> <em>command</em> | <em>script</em> | - ] [ <em>arguments</em> ]</p>


title: DESCRIPTION
content:
<p>Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction to programming in Python, see the Python Tutorial. The Python Library Reference documents built-in and standard types, constants, functions and modules. Finally, the Python Reference Manual describes the syntax and semantics of the core language in (perhaps too) much detail. (These documents may be located via the <b>INTERNET RESOURCES</b> below; they may be installed on your system as well.)</p><p>Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an extension language for existing applications. See the internal documentation for hints.</p><p>Documentation for installed Python modules and packages can be viewed by running the <b>pydoc</b> program.</p>


title: COMMAND LINE OPTIONS
content:
<dl><dt><b>-B</b></dt><dd><p>Don't write <em>.py[co]</em> files on import. See also PYTHONDONTWRITEBYTECODE.</p></dd><dt><b>-c </b><em>command</em></dt><dd><p>Specify the command to execute (see next section). This terminates the option list (following options are passed as arguments to the command).</p></dd><dt><b>-d</b></dt><dd><p>Turn on parser debugging output (for wizards only, depending on compilation options).</p></dd><dt><b>-E</b></dt><dd><p>Ignore environment variables like PYTHONPATH and PYTHONHOME that modify the behavior of the interpreter.</p></dd><dt><b>-h , -? , --help</b></dt><dd><p>Prints the usage for the interpreter executable and exits.</p></dd><dt><b>-i</b></dt><dd><p>When a script is passed as first argument or the <b>-c</b> option is used, enter interactive mode after executing the script or the command. It does not read the $PYTHONSTARTUP file. This can be useful to inspect global variables or a stack trace when a script raises an exception.</p></dd><dt><b>-m </b><em>module-name</em></dt><dd><p>Searches <em>sys.path</em> for the named module and runs the corresponding <em>.py</em> file as a script.</p></dd><dt><b>-O</b></dt><dd><p>Turn on basic optimizations. This changes the filename extension for compiled (bytecode) files from <em>.pyc</em> to <em>.pyo</em>. Given twice, causes docstrings to be discarded.</p></dd><dt><b>-OO</b></dt><dd><p>Discard docstrings in addition to the <b>-O</b> optimizations.</p></dd><dt><b>-R</b></dt><dd><p>Turn on "hash randomization", so that the hash() values of str, bytes and datetime objects are "salted" with an unpredictable pseudo-random value. Although they remain constant within an individual Python process, they are not predictable between repeated invocations of Python.</p><p>This is intended to provide protection against a denial of service caused by carefully-chosen inputs that exploit the worst case performance of a dict construction, O(n^2) complexity. See http://www.ocert.org/advisories/ocert-2011-003.html for details.</p></dd><dt><b>-Q </b><em>argument</em></dt><dd><p>Division control; see PEP 238. The argument must be one of "old" (the default, int/int and long/long return an int or long), "new" (new division semantics, i.e. int/int and long/long returns a float), "warn" (old division semantics with a warning for int/int and long/long), or "warnall" (old division semantics with a warning for all use of the division operator). For a use of "warnall", see the Tools/scripts/fixdiv.py script.</p></dd><dt><b>-s</b></dt><dd><p>Don't add user site directory to sys.path.</p></dd><dt><b>-S</b></dt><dd><p>Disable the import of the module <em>site</em> and the site-dependent manipulations of <em>sys.path</em> that it entails.</p></dd><dt><b>-t</b></dt><dd><p>Issue a warning when a source file mixes tabs and spaces for indentation in a way that makes it depend on the worth of a tab expressed in spaces. Issue an error when the option is given twice.</p></dd><dt><b>-u</b></dt><dd><p>Force stdin, stdout and stderr to be totally unbuffered. On systems where it matters, also put stdin, stdout and stderr in binary mode. Note that there is internal buffering in xreadlines(), readlines() and file-object iterators ("for line in sys.stdin") which is not influenced by this option. To work around this, you will want to use "sys.stdin.readline()" inside a "while 1:" loop.</p></dd><dt><b>-v</b></dt><dd><p>Print a message each time a module is initialized, showing the place (filename or built-in module) from which it is loaded. When given twice, print a message for each file that is checked for when searching for a module. Also provides information on module cleanup at exit.</p></dd><dt><b>-V , --version</b></dt><dd><p>Prints the Python version number of the executable and exits.</p></dd><dt><b>-W </b><em>argument</em></dt><dd><p>Warning control. Python sometimes prints warning message to <em>sys.stderr</em>. A typical warning message has the following form: <em>file</em><b>:</b><em>line</em><b>: </b><em>category</em><b>: </b><em>message.</em> By default, each warning is printed once for each source line where it occurs. This option controls how often warnings are printed. Multiple <b>-W</b> options may be given; when a warning matches more than one option, the action for the last matching option is performed. Invalid <b>-W</b> options are ignored (a warning message is printed about invalid options when the first warning is issued). Warnings can also be controlled from within a Python program using the <em>warnings</em> module.</p></dd></dl><p>The simplest form of <em>argument</em> is one of the following <em>action</em> strings (or a unique abbreviation): <b>ignore</b> to ignore all warnings; <b>default</b> to explicitly request the default behavior (printing each warning once per source line); <b>all</b> to print a warning each time it occurs (this may generate many messages if a warning is triggered repeatedly for the same source line, such as inside a loop); <b>module</b> to print each warning only the first time it occurs in each module; <b>once</b> to print each warning only the first time it occurs in the program; or <b>error</b> to raise an exception instead of printing a warning message.</p><p>The full form of <em>argument</em> is <em>action</em><b>:</b><em>message</em><b>:</b><em>category</em><b>:</b><em>module</em><b>:</b><em>line.</em> Here, <em>action</em> is as explained above but only applies to messages that match the remaining fields. Empty fields match all values; trailing empty fields may be omitted. The <em>message</em> field matches the start of the warning message printed; this match is case-insensitive. The <em>category</em> field matches the warning category. This must be a class name; the match test whether the actual warning category of the message is a subclass of the specified warning category. The full class name must be given. The <em>module</em> field matches the (fully-qualified) module name; this match is case-sensitive. The <em>line</em> field matches the line number, where zero matches all line numbers and is thus equivalent to an omitted line number.</p><dl><dt><b>-x</b></dt><dd><p>Skip the first line of the source. This is intended for a DOS specific hack only. Warning: the line numbers in error messages will be off by one!</p></dd><dt><b>-3</b></dt><dd><p>Warn about Python 3.x incompatibilities that 2to3 cannot trivially fix.</p></dd></dl>


title: INTERPRETER INTERFACE
content:
<p>The interpreter interface resembles that of the UNIX shell: when called with standard input connected to a tty device, it prompts for commands and executes them until an EOF is read; when called with a file name argument or with a file as standard input, it reads and executes a <em>script</em> from that file; when called with <b>-c</b> <em>command</em>, it executes the Python statement(s) given as <em>command</em>. Here <em>command</em> may contain multiple statements separated by newlines. Leading whitespace is significant in Python statements! In non-interactive mode, the entire input is parsed before it is executed.</p><p>If available, the script name and additional arguments thereafter are passed to the script in the Python variable <em>sys.argv</em>, which is a list of strings (you must first <em>import sys</em> to be able to access it). If no script name is given, <em>sys.argv[0]</em> is an empty string; if <b>-c</b> is used, <em>sys.argv[0]</em> contains the string <em>'-c'.</em> Note that options interpreted by the Python interpreter itself are not placed in <em>sys.argv</em>.</p><p>In interactive mode, the primary prompt is `&gt;&gt;&gt;'; the second prompt (which appears when a command is not complete) is `...'. The prompts can be changed by assignment to <em>sys.ps1</em> or <em>sys.ps2</em>. The interpreter quits when it reads an EOF at a prompt. When an unhandled exception occurs, a stack trace is printed and control returns to the primary prompt; in non-interactive mode, the interpreter exits after printing the stack trace. The interrupt signal raises the <em>KeyboardInterrupt</em> exception; other UNIX signals are not caught (except that SIGPIPE is sometimes ignored, in favor of the <em>IOError</em> exception). Error messages are written to stderr.</p>


title: FILES AND DIRECTORIES
content:
<p>These are subject to difference depending on local installation conventions; ${prefix} and ${exec_prefix} are installation-dependent and should be interpreted as for GNU software; they may be the same. The default for both is <em>/usr/local</em>.</p><dl><dt>${exec_prefix}/bin/python</dt><dd><p>Recommended location of the interpreter.</p></dd></dl><p><em>${prefix}/lib/python&lt;version&gt;</em><br /><em>${exec_prefix}/lib/python&lt;version&gt;</em></p><blockquote><p>Recommended locations of the directories containing the standard modules.</p></blockquote><p><em>${prefix}/include/python&lt;version&gt;</em><br /><em>${exec_prefix}/include/python&lt;version&gt;</em></p><blockquote><p>Recommended locations of the directories containing the include files needed for developing Python extensions and embedding the interpreter.</p></blockquote><dl><dt>~/.pythonrc.py</dt><dd><p>User-specific initialization file loaded by the <em>user</em> module; not used by default or by most applications.</p></dd></dl>


title: ENVIRONMENT VARIABLES
content:
<dl><dt>PYTHONHOME</dt><dd><p>Change the location of the standard Python libraries. By default, the libraries are searched in ${prefix}/lib/python&lt;version&gt; and ${exec_prefix}/lib/python&lt;version&gt;, where ${prefix} and ${exec_prefix} are installation-dependent directories, both defaulting to <em>/usr/local</em>. When $PYTHONHOME is set to a single directory, its value replaces both ${prefix} and ${exec_prefix}. To specify different values for these, set $PYTHONHOME to ${prefix}:${exec_prefix}.</p></dd><dt>PYTHONPATH</dt><dd><p>Augments the default search path for module files. The format is the same as the shell's $PATH: one or more directory pathnames separated by colons. Non-existent directories are silently ignored. The default search path is installation dependent, but generally begins with ${prefix}/lib/python&lt;version&gt; (see PYTHONHOME above). The default search path is always appended to $PYTHONPATH. If a script argument is given, the directory containing the script is inserted in the path in front of $PYTHONPATH. The search path can be manipulated from within a Python program as the variable <em>sys.path</em>.</p></dd><dt>PYTHONSTARTUP</dt><dd><p>If this is the name of a readable file, the Python commands in that file are executed before the first prompt is displayed in interactive mode. The file is executed in the same name space where interactive commands are executed so that objects defined or imported in it can be used without qualification in the interactive session. You can also change the prompts <em>sys.ps1</em> and <em>sys.ps2</em> in this file.</p></dd><dt>PYTHONY2K</dt><dd><p>Set this to a non-empty string to cause the <em>time</em> module to require dates specified as strings to include 4-digit years, otherwise 2-digit years are converted based on rules described in the <em>time</em> module documentation.</p></dd><dt>PYTHONOPTIMIZE</dt><dd><p>If this is set to a non-empty string it is equivalent to specifying the <b>-O</b> option. If set to an integer, it is equivalent to specifying <b>-O</b> multiple times.</p></dd><dt>PYTHONDEBUG</dt><dd><p>If this is set to a non-empty string it is equivalent to specifying the <b>-d</b> option. If set to an integer, it is equivalent to specifying <b>-d</b> multiple times.</p></dd><dt>PYTHONDONTWRITEBYTECODE</dt><dd><p>If this is set to a non-empty string it is equivalent to specifying the <b>-B</b> option (don't try to write <em>.py[co]</em> files).</p></dd><dt>PYTHONINSPECT</dt><dd><p>If this is set to a non-empty string it is equivalent to specifying the <b>-i</b> option.</p></dd><dt>PYTHONIOENCODING</dt><dd><p>If this is set before running the interpreter, it overrides the encoding used for stdin/stdout/stderr, in the syntax <em>encodingname</em><b>:</b><em>errorhandler</em> The <em>errorhandler</em> part is optional and has the same meaning as in str.encode. For stderr, the <em>errorhandler</em> part is ignored; the handler will always be 'backslashreplace'.</p></dd><dt>PYTHONNOUSERSITE</dt><dd><p>If this is set to a non-empty string it is equivalent to specifying the <b>-s</b> option (Don't add the user site directory to sys.path).</p></dd><dt>PYTHONUNBUFFERED</dt><dd><p>If this is set to a non-empty string it is equivalent to specifying the <b>-u</b> option.</p></dd><dt>PYTHONVERBOSE</dt><dd><p>If this is set to a non-empty string it is equivalent to specifying the <b>-v</b> option. If set to an integer, it is equivalent to specifying <b>-v</b> multiple times. </p></dd><dt>PYTHONWARNINGS</dt><dd><p>If this is set to a comma-separated string it is equivalent to specifying the <b>-W</b> option for each separate value.</p></dd><dt>PYTHONHASHSEED</dt><dd><p>If this variable is set to "random", the effect is the same as specifying the <b>-R</b> option: a random value is used to seed the hashes of str, bytes and datetime objects.</p></dd></dl><p>If PYTHONHASHSEED is set to an integer value, it is used as a fixed seed for generating the hash() of the types covered by the hash randomization. Its purpose is to allow repeatable hashing, such as for selftests for the interpreter itself, or to allow a cluster of python processes to share hash values.</p><p>The integer must be a decimal number in the range [0,4294967295]. Specifying the value 0 will lead to the same hash values as when hash randomization is disabled.</p>


title: INTERNET RESOURCES
content:
<p>Main website: https://www.python.org/<br />Documentation: https://docs.python.org/2/<br />Developer resources: https://docs.python.org/devguide/<br />Downloads: https://www.python.org/downloads/<br />Module repository: https://pypi.python.org/<br />Newsgroups: comp.lang.python, comp.lang.python.announce</p>


title: LICENSING
content:
<p>Python is distributed under an Open Source license. See the file "LICENSE" in the Python source distribution for information on terms &amp; conditions for accessing and otherwise using Python and for a DISCLAIMER OF ALL WARRANTIES.</p>


title: TLDR
content:
<b>Launch the GUI</b>`virt-manager`<br><b>Connect to a hypervisor</b>`virt-manager --connect [hypervisor_uri]`<br><b>Don't fork virt-manager process into background on startup</b>`virt-manager --no-fork`<br><b>Print debug output</b>`virt-manager --debug`<br><b>Open the "New VM" wizard</b>`virt-manager --show-domain-creator`<br><b>Show domain details window for a specific virtual machine/container</b>`virt-manager --show-domain-editor [name|id|uuid]`<br><b>Show domain performance window for a specific virtual machine/container</b>`virt-manager --show-domain-performance [name|id|uuid]`<br><b>Show connection details window</b>`virt-manager --show-host-summary`


title: TLDR
content:
<b>Synchronize the pkgfile database</b>`sudo pkgfile --update`<br><b>Search for a package that owns a specific file</b>`pkgfile [filename]`<br><b>List all files provided by a package</b>`pkgfile --list [package]`<br><b>List executables provided by a package</b>`pkgfile --list --binaries [package]`<br><b>Search for a package that owns a specific file using case-insensitive matching</b>`pkgfile --ignorecase [filename]`<br><b>Search for a package that owns a specific file in the bin or sbin directory</b>`pkgfile --binaries [filename]`<br><b>Search for a package that owns a specific file, displaying the package version</b>`pkgfile --verbose [filename]`<br><b>Search for a package that owns a specific file in a specific repository</b>`pkgfile --repo [repository_name] [filename]`


title: TLDR
content:
<b>List all captured core dumps</b>`coredumpctl`<br><b>List captured core dumps for a program</b>`coredumpctl list [program]`<br><b>Show information about the core dumps matching a program with PID</b>`coredumpctl info [PID]`<br><b>Invoke debugger using the last core dump</b>`coredumpctl debug`<br><b>Invoke debugger using the last core dump of a program</b>`coredumpctl debug [program]`<br><b>Extract the last core dump of a program to a file</b>`coredumpctl [[-o|--output]] [path/to/file] dump [program]`<br><b>Skip debuginfod and pagination prompts and then print the backtrace when using gdb</b>`coredumpctl debug [[-A|--debugger-arguments]] "-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt"`


title: TLDR
content:
<b>Create a Btrfs filesystem on an empty partition</b>`sudo mkfs.btrfs [/dev/sdXY]`<br><b>Create a btrfs filesystem on a single device</b>`sudo mkfs.btrfs [[-m|--metadata]] single [[-d|--data]] single [/dev/sdX]`<br><b>Create a btrfs filesystem on multiple devices with raid1</b>`sudo mkfs.btrfs [[-m|--metadata]] raid1 [[-d|--data]] raid1 [/dev/sdX /dev/sdY /dev/sdZ ...]`<br><b>Set a label for the filesystem</b>`sudo mkfs.btrfs [[-L|--label]] "[label]" [/dev/sdX /dev/sdY ...]`<br><b>Overwrite existing filesystem if one is detected</b>`sudo mkfs.btrfs [[-f|--force]] [/dev/sdX]`


title: TLDR
content:
<b>View information about an MP3 file</b>`eyeD3 [filename.mp3]`<br><b>Set the title of an MP3 file</b>`eyeD3 [[-t|--title]] "[A Title]" [filename.mp3]`<br><b>Set the album of all the MP3 files in a directory</b>`eyeD3 [[-A|--album]] "[Album Name]" [*.mp3]`<br><b>Set the front cover art for an MP3 file</b>`eyeD3 --add-image [front_cover.jpeg]:FRONT_COVER: [filename.mp3]`


title: TLDR
content:
<b>Copy a file or directory from the host to a container</b>`docker cp [path/to/file_or_directory_on_host] [container_name]:[path/to/file_or_directory_in_container]`<br><b>Copy a file or directory from a container to the host</b>`docker cp [container_name]:[path/to/file_or_directory_in_container] [path/to/file_or_directory_on_host]`<br><b>Copy a file or directory from the host to a container, following symlinks (copies the symlinked files directly, not the symlinks themselves)</b>`docker cp [[-L|--follow-link]] [path/to/symlink_on_host] [container_name]:[path/to/file_or_directory_in_container]`


title: TLDR
content:
<b>Scan a network for NetBIOS names</b>`nbtscan [192.168.0.1/24]`<br><b>Scan a single IP address</b>`nbtscan [192.168.0.1]`<br><b>Display verbose output</b>`nbtscan -v [192.168.0.1/24]`<br><b>Display output in /etc/hosts format</b>`nbtscan -e [192.168.0.1/24]`<br><b>Read IP addresses/networks to scan from a file</b>`nbtscan -f [path/to/file.txt]`


title: TLDR
content:
<b>Bundle a Node.js application</b>`ncc build [path/to/file.js]`<br><b>Bundle and minify a Node.js application</b>`ncc build [[-m|--minify]] [path/to/file.js]`<br><b>Bundle and minify a Node.js application and generate source maps</b>`ncc build [[-s|--source-map]] [path/to/file.js]`<br><b>Automatically recompile on changes to source files</b>`ncc build [[-w|--watch]] [path/to/file.js]`<br><b>Bundle a Node.js application into a temporary directory and run it for testing</b>`ncc run [path/to/file.js]`<br><b>Clean the ncc cache</b>`ncc clean cache`


title: TLDR
content:
<b>List all available boards</b>`pio boards`<br><b>List only boards from installed platforms</b>`pio boards --installed`


title: TLDR
content:
<b>Start GIMP</b>`gimp`<br><b>Open specific files</b>`gimp [path/to/image1 path/to/image2 ...]`<br><b>Open specific files in a new window</b>`gimp --new-instance [path/to/image1 path/to/image2 ...]`<br><b>Start without a splash screen</b>`gimp --no-splash`<br><b>Print errors and warnings to the console instead of showing them in a dialog box</b>`gimp --console-messages`<br><b>Enable debugging signal handlers</b>`gimp --debug-handlers`


title: TLDR
content:
<b>Display the latest commit for each row of a table</b>`dolt blame [table]`<br><b>Display the latest commits for each row of a table when the specified commit was made</b>`dolt blame [commit] [table]`<br><b>Display help</b>`dolt blame --help`


title: TLDR
content:
<b>Verify a bundle and display detailed information about it</b>`bundletool validate --bundle [path/to/bundle.aab]`


title: TLDR
content:
<b>Register the current repository in the user's list of repositories to daily have maintenance run</b>`git maintenance register`<br><b>Schedule maintenance tasks to run on the current repository every hour</b>`git maintenance start`<br><b>Halt the background maintenance schedule for the current repository</b>`git maintenance stop`<br><b>Remove the current repository from the user's maintenance repository list</b>`git maintenance unregister`<br><b>Run a specific maintenance task on the current repository</b>`git maintenance run --task [commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch]`


title: TLDR
content:
<b>Start the MySQL database server</b>`mysqld`<br><b>Start the server, printing error messages to the console</b>`mysqld --console`<br><b>Start the server, saving logging output to a custom log file</b>`mysqld --log=[path/to/file.log]`<br><b>Print the default arguments and their values and exit</b>`mysqld --print-defaults`<br><b>Start the server, reading arguments and values from a file</b>`mysqld --defaults-file=[path/to/file]`<br><b>Start the server and listen on a custom port</b>`mysqld --port=[port]`<br><b>Display help</b>`mysqld --verbose --help`


title: TLDR
content:
<b>View all network traffic (use the <ArrowKeys> to switch interfaces)</b>`nload`<br><b>View network traffic on specific interfaces (use the <ArrowKeys> to switch interfaces)</b>`nload devices [interface1 interface2 ...]`


title: TLDR
content:
<b>Compile a sketch</b>`arduino-builder -compile [path/to/sketch.ino]`<br><b>Specify the debug level (default: 5)</b>`arduino-builder -debug-level [1..10]`<br><b>Specify a custom build directory</b>`arduino-builder -build-path [path/to/build_directory]`<br><b>Use a build option file, instead of specifying -hardware, -tools, etc. manually every time</b>`arduino-builder -build-options-file [path/to/build.options.json]`<br><b>Enable verbose mode</b>`arduino-builder -verbose [true]`


title: TLDR
content:
<b>Check for typos in all text files in the current directory, recursively</b>`codespell`<br><b>Correct all typos found in-place</b>`codespell --write-changes`<br><b>Skip files with names that match the specified pattern (accepts a comma-separated list of patterns using wildcards)</b>`codespell --skip "[pattern]"`<br><b>Use a custom dictionary file when checking (--dictionary can be used multiple times)</b>`codespell --dictionary [path/to/file.txt]`<br><b>Do not check words that are listed in the specified file</b>`codespell --ignore-words [path/to/file.txt]`<br><b>Do not check the specified words</b>`codespell --ignore-words-list [ignored_word1,ignored_word2,...]`<br><b>Print 3 lines of context around, before or after each match</b>`codespell --[context|before-context|after-context] [3]`<br><b>Check file names for typos, in addition to file contents</b>`codespell --check-filenames`


title: TLDR
content:
<b>Show information about the system firmware and the bootloaders</b>`bootctl`<br><b>Show all available bootloader entries</b>`bootctl list`<br><b>Set a flag to boot into the system firmware on the next boot (similar to sudo systemctl reboot --firmware-setup)</b>`sudo bootctl reboot-to-firmware true`<br><b>Specify the path to the EFI system partition (defaults to /efi/, /boot/ or /boot/efi)</b>`bootctl --esp-path /[path/to/efi_system_partition]/`<br><b>Install systemd-boot into the EFI system partition</b>`sudo bootctl install`<br><b>Remove all installed versions of systemd-boot from the EFI system partition</b>`sudo bootctl remove`


title: TLDR
content:
<b>Display help for a subcommand</b>`bundletool help [subcommand]`<br><b>Generate APKs from an application bundle (prompts for keystore password)</b>`bundletool build-apks --bundle [path/to/bundle.aab] --ks [path/to/key.keystore] --ks-key-alias [key_alias] --output [path/to/file.apks]`<br><b>Generate APKs from an application bundle giving the keystore password</b>`bundletool build-apks --bundle [path/to/bundle.aab] --ks [path/to/key.keystore] --ks-key-alias [key_alias] --ks-pass [pass:the_password] --output [path/to/file.apks]`<br><b>Generate APKs including only one single APK for universal usage</b>`bundletool build-apks --bundle [path/to/bundle.aab] --mode [universal] --ks [path/to/key.keystore] --ks-key-alias [key_alias] --output [path/to/file.apks]`<br><b>Install the right combination of APKs to an emulator or device</b>`bundletool install-apks --apks [path/to/file.apks]`<br><b>Estimate the download size of an application</b>`bundletool get-size total --apks [path/to/file.apks]`<br><b>Generate a device specification JSON file for an emulator or device</b>`bundletool get-device-spec --output [path/to/file.json]`<br><b>Verify a bundle and display detailed information about it</b>`bundletool validate --bundle [path/to/bundle.aab]`


title: TLDR
content:
<b>Display help and list subcommands</b>`pio [[-h|--help]]`<br><b>Display help for a specific subcommand</b>`pio [subcommand] [[-h|--help]]`<br><b>Display version</b>`pio --version`


title: TLDR
content:
<b>Display a diff of the changes that would be made, without making them (dry-run)</b>`yapf [[-d|--diff]] [path/to/file]`<br><b>Recursively format all Python files in a directory, concurrently</b>`yapf [[-ri|--recursive --in-place]] --style [pep8] [[-p|--parallel]] [path/to/directory]`


title: TLDR
content:
<b>Browse for VNC servers</b>`bvnc`<br><b>Browse for SSH servers</b>`bvnc --ssh`<br><b>Browse for both VNC and SSH servers</b>`bvnc --shell`<br><b>Browse for VNC servers in a specified domain</b>`bvnc --domain [domain]`


title: TLDR
content:
<b>Switch to a branch</b>`dolt checkout [branch_name]`<br><b>Revert unstaged changes to a table</b>`dolt checkout [table]`<br><b>Create new branch and switch to it</b>`dolt checkout -b [branch_name]`<br><b>Create new branch based on a specified commit and switch to it</b>`dolt checkout -b [branch_name] [commit]`


title: TLDR
content:
<b>Register a new PlatformIO account</b>`pio account register [[-u|--username]] [username] [[-e|--email]] [email] [[-p|--password]] [password] --firstname [firstname] --lastname [lastname]`<br><b>Permanently delete your PlatformIO account and related data</b>`pio account destroy`<br><b>Log in to your PlatformIO account</b>`pio account login [[-u|--username]] [username] [[-p|--password]] [password]`<br><b>Log out of your PlatformIO account</b>`pio account logout`<br><b>Update your PlatformIO profile</b>`pio account update [[-u|--username]] [username] [[-e|--email]] [email] --firstname [firstname] --lastname [lastname] --current-password [password]`<br><b>Show detailed information about your PlatformIO account</b>`pio account show`<br><b>Reset your password using your username or email</b>`pio account forgot [[-u|--username]] [username_or_email]`


title: TLDR
content:
<b>List local branches (current branch is highlighted by *)</b>`dolt branch`<br><b>List all local and remote branches</b>`dolt branch [[-A|--all]]`<br><b>Create a new branch based on the current branch</b>`dolt branch [branch_name]`<br><b>Create a new branch with the specified commit as the latest</b>`dolt branch [branch_name] [commit]`<br><b>Rename a branch</b>`dolt branch [[-m|--move]] [branch_name1] [branch_name2]`<br><b>Duplicate a branch</b>`dolt branch [[-c|--copy]] [branch_name1] [branch_name2]`<br><b>Delete a branch</b>`dolt branch [[-d|--delete]] [branch_name]`<br><b>Display the name of the current branch</b>`dolt branch --show-current`


title: TLDR
content:
<b>Analyze live traffic from a network interface</b>`sudo zeek --iface [interface]`<br><b>Analyze live traffic from a network interface and load custom scripts</b>`sudo zeek --iface [interface] [script1 script2 ...]`<br><b>Analyze live traffic from a network interface, without loading any scripts</b>`sudo zeek --bare-mode --iface [interface]`<br><b>Analyze live traffic from a network interface, applying a tcpdump filter</b>`sudo zeek --filter [path/to/filter] --iface [interface]`<br><b>Analyze live traffic from a network interface using a watchdog timer</b>`sudo zeek --watchdog --iface [interface]`<br><b>Analyze traffic from a PCAP file</b>`zeek --readfile [path/to/file.trace]`


title: TLDR
content:
<b>Initialize a database with a scale factor of 50 times the default size</b>`pgbench --initialize --scale=[50] [database_name]`<br><b>Benchmark a database with 10 clients, 2 worker threads, and 10,000 transactions per client</b>`pgbench --client=[10] --jobs=[2] --transactions=[10000] [database_name]`


title: TLDR
content:
<b>Browse for both SSH and VNC servers</b>`bshell`<br><b>Browse for SSH servers only</b>`bshell --ssh`<br><b>Browse for VNC servers only</b>`bshell --vnc`<br><b>Browse for both SSH and VNC servers in a specified domain</b>`bshell --domain [domain]`


title: TLDR
content:
<b>Browse for SSH servers</b>`bssh`<br><b>Browse for VNC servers</b>`bssh --vnc`<br><b>Browse for both SSH and VNC servers</b>`bssh --shell`<br><b>Browse for SSH servers in a specified domain</b>`bssh --domain [domain]`


title: TLDR
content:
<b>Add a table to the list of staged tables (stage a table)</b>`dolt add [table]`<br><b>Stage all tables</b>`dolt add [[-A|--all]]`


title: TLDR
content:
<h2>Test if a given variable is equal to a given string</h2>`[ "[$MY_VAR]" == "[/bin/zsh]" ]`<br><h2>Test if a given variable is empty</h2>`[ -z "[$GIT_BRANCH]" ]`<br><h2>Test if a file exists</h2>`[ -f "[path/to/file_or_directory]" ]`<br><h2>Test if a directory does not exist</h2>`[ ! -d "[path/to/directory]" ]`<br><h2>If-else statement</h2>`[ [condition] ] && [echo "true"] || [echo "false"]`


title: TLDR
content:
<b>Remove the first positional parameter</b>`shift`<br><b>Remove the first n positional parameters</b>`shift [n]`


title: TLDR
content:
<b>Lint a single page or all pages in a directory</b>`tldr-lint [path/to/page_or_directory]`<br><b>Ignore specific tldr-lint error codes while linting</b>`tldr-lint [[-I|--ignore]] [TLDR001,TLDR002,...]`<br><b>Format a specific page to stdout</b>`tldr-lint [[-f|--format]] [path/to/page.md]`<br><b>Format a page in place</b>`tldr-lint [[-f|--format]] [[-i|--in-place]] [path/to/page.md]`


title: TLDR
content:
<b>Start the Logical Volume Manager interactive shell</b>`sudo lvm`<br><b>Initialize a drive or partition to be used as a physical volume</b>`sudo lvm pvcreate [/dev/sdXY]`<br><b>Display information about physical volumes</b>`sudo lvm pvdisplay`<br><b>Create a volume group called vg1 from the physical volume on /dev/sdXY</b>`sudo lvm vgcreate [vg1] [/dev/sdXY]`<br><b>Display information about volume groups</b>`sudo lvm vgdisplay`<br><b>Create a logical volume with size 10G from volume group vg1</b>`sudo lvm lvcreate [[-L|--size]] [10G] [vg1]`<br><b>Display information about logical volumes</b>`sudo lvm lvdisplay`<br><b>Display help for a specific command</b>`lvm help [command]`


title: TLDR
content:
<b>Open the current directory in the default file explorer</b>`xdg-open .`<br><b>Open a URL in the default browser</b>`xdg-open [https://example.com]`<br><b>Open an image in the default image viewer</b>`xdg-open [path/to/image]`<br><b>Open a PDF in the default PDF viewer</b>`xdg-open [path/to/pdf]`<br><b>Display help</b>`xdg-open --help`


title: TLDR
content:
<b>Display information about all volume groups</b>`sudo vgdisplay`<br><b>Display information about volume group vg1</b>`sudo vgdisplay [vg1]`


title: TLDR
content:
<b>Display information about all physical volumes</b>`sudo pvdisplay`<br><b>Display information about the physical volume on drive /dev/sdXY</b>`sudo pvdisplay [/dev/sdXY]`


title: TLDR
content:
<b>Unmount a FUSE filesystem</b>`fusermount -u [path/to/mount_point]`<br><b>Unmount a FUSE filesystem as soon as it becomes unused</b>`fusermount -z [path/to/mount_point]`<br><b>Display version</b>`fusermount --version`


title: TLDR
content:
<b>Synchronize and update all packages</b>`aurman [[-S|--sync]] [[-y|--refresh]] [[-u|--sysupgrade]]`<br><b>Synchronize and update all packages without show changes of PKGBUILD files</b>`aurman [[-S|--sync]] [[-y|--refresh]] [[-u|--sysupgrade]] --noedit`<br><b>Install a new package</b>`aurman [[-S|--sync]] [package]`<br><b>Install a new package without show changes of PKGBUILD files</b>`aurman [[-S|--sync]] --noedit [package]`<br><b>Install a new package without prompting</b>`aurman [[-S|--sync]] --noedit --noconfirm [package]`<br><b>Search the package database for a keyword from the official repositories and AUR</b>`aurman [[-S|--sync]] [[-s|--search]] [keyword]`<br><b>Remove a package and its dependencies</b>`aurman --remove --recursive --nosave [package]`<br><b>Clear the package cache (use two --clean flags to clean all packages)</b>`aurman [[-S|--sync]] [[-c|--clean]]`


title: TLDR
content:
<b>Display information about all logical volumes</b>`sudo lvdisplay`<br><b>Display the information in a short format (same as running lvs)</b>`sudo lvdisplay [[-C|--columns]]`<br><b>Display information about all logical volumes in volume group vg1</b>`sudo lvdisplay [vg1]`<br><b>Display information about logical volume lv1 in volume group vg1</b>`sudo lvdisplay [vg1/lv1]`


title: TLDR
content:
<b>Open PlatformIO Home in the default web browser</b>`pio home`<br><b>Use a specific HTTP port (defaults to 8008)</b>`pio home --port [port]`<br><b>Bind to a specific IP address (defaults to 127.0.0.1)</b>`pio home --host [ip_address]`<br><b>Do not automatically open PlatformIO Home in the default web browser</b>`pio home --no-open`<br><b>Automatically shutdown the server on timeout (in seconds) when no clients are connected</b>`pio home --shutdown-timeout [time]`<br><b>Specify a unique session identifier to keep PlatformIO Home isolated from other instances and protected from 3rd party access</b>`pio home --session-id [id]`


title: TLDR
content:
<b>Perform a basic analysis check on the current project</b>`pio check`<br><b>Perform a basic analysis check on a specific project</b>`pio check [[-d|--project-dir]] [project_directory]`<br><b>Perform an analysis check for a specific environment</b>`pio check [[-e|--environment]] [environment]`<br><b>Perform an analysis check and only report a specified defect severity type</b>`pio check --severity [low|medium|high]`<br><b>Perform an analysis check and show detailed information when processing environments</b>`pio check [[-v|--verbose]]`


title: TLDR
content:
<b>Add any command to the default queue</b>`pueue add [command]`<br><b>Pass a list of flags or arguments to a command when enqueuing</b>`pueue add -- [command --arg -f]`<br><b>Add a command but do not start it if it's the first in a queue</b>`pueue add [[-s|--stashed]] -- [rsync --archive --compress /local/directory /remote/directory]`<br><b>Add a command to a group and start it immediately, see pueue group to manage groups</b>`pueue add [[-i|--immediate]] [[-g|--group]] "[CPU_intensive]" -- [ffmpeg -i input.mp4 frame_%d.png]`<br><b>Add a command and start it after commands 9 and 12 finish successfully</b>`pueue add [[-a|--after]] [9] [12] [[-g|--group]] "[torrents]" -- [transmission-cli torrent_file.torrent]`<br><b>Add a command with a label after some delay has passed, see pueue enqueue for valid datetime formats</b>`pueue add [[-l|--label]] "[compressing large file]" [[-d|--delay]] "[wednesday 10:30pm]" -- "[7z a compressed_file.7z large_file.xml]"`


title: TLDR
content:
<b>Pause all tasks in the default group</b>`pueue pause`<br><b>Pause a running task</b>`pueue pause [task_id]`<br><b>Pause a running task and stop all its direct children</b>`pueue pause --children [task_id]`<br><b>Pause all tasks in a group and prevent it from starting new tasks</b>`pueue pause [[-g|--group]] [group_name]`<br><b>Pause all tasks and prevent all groups from starting new tasks</b>`pueue pause [[-a|--all]]`


title: TLDR
content:
<b>Update PlatformIO to the latest version</b>`pio upgrade`<br><b>Update PlatformIO to the latest development (unstable) version</b>`pio upgrade --dev`


title: TLDR
content:
<b>Restart a specific task</b>`pueue restart [task_id]`<br><b>Restart multiple tasks at once, and start them immediately (do not enqueue)</b>`pueue restart [[-k|--immediately]] [task_id] [task_id]`<br><b>Restart a specific task from a different path</b>`pueue restart --edit-path [task_id]`<br><b>Edit a command before restarting</b>`pueue restart [[-e|--edit]] [task_id]`<br><b>Restart a task in-place (without enqueuing as a separate task)</b>`pueue restart [[-i|--in-place]] [task_id]`<br><b>Restart all failed tasks and stash them</b>`pueue restart [[-a|--all-failed]] --stashed`


title: TLDR
content:
<b>Display the names, values and descriptions of all PlatformIO settings</b>`pio settings get`<br><b>Display the name, value and description of a specific PlatformIO setting</b>`pio settings get [setting]`<br><b>Set a specific setting value</b>`pio settings set [setting] [value]`<br><b>Reset the values of all modified settings to their factory defaults</b>`pio settings reset`


title: TLDR
content:
<b>Enqueue multiple stashed tasks at once</b>`pueue enqueue [task_id] [task_id]`<br><b>Enqueue a stashed task after 60 seconds</b>`pueue enqueue [[-d|--delay]] [60] [task_id]`<br><b>Enqueue a stashed task next Wednesday</b>`pueue enqueue [[-d|--delay]] [wednesday] [task_id]`<br><b>Enqueue a stashed task after four months</b>`pueue enqueue [[-d|--delay]] "4 months" [task_id]`<br><b>Enqueue a stashed task on 2021-02-19</b>`pueue enqueue [[-d|--delay]] [2021-02-19] [task_id]`<br><b>List all available date/time formats</b>`pueue enqueue [[-h|--help]]`


title: TLDR
content:
<b>Export an SVG file executing the specified Inkfile</b>`inkmake [path/to/Inkfile]`<br><b>Execute an Inkfile and show detailed information</b>`inkmake --verbose [path/to/Inkfile]`<br><b>Execute an Inkfile, specifying SVG input file(s) and an output file</b>`inkmake --svg [path/to/file.svg] --out [path/to/output_image] [path/to/Inkfile]`<br><b>Use a custom Inkscape binary as the backend</b>`inkmake --inkscape [/Applications/Inkscape.app/Contents/Resources/bin/inkscape] [path/to/Inkfile]`<br><b>Display help</b>`inkmake --help`


title: TLDR
content:
<b>Create a new team with the specified description</b>`pio team create --description [description] [organization_name]:[team_name]`<br><b>Delete a team</b>`pio team destroy [organization_name]:[team_name]`<br><b>Add a new user to a team</b>`pio team add [organization_name]:[team_name] [username]`<br><b>Remove a user from a team</b>`pio team remove [organization_name]:[team_name] [username]`<br><b>List all teams that the user is part of and their members</b>`pio team list`<br><b>List all teams in an organization</b>`pio team list [organization_name]`<br><b>Rename a team</b>`pio team update --name [new_team_name] [organization_name]:[team_name]`<br><b>Change the description of a team</b>`pio team update --description [new_description] [organization_name]:[team_name]`


title: TLDR
content:
<b>Initialize a new PlatformIO project</b>`pio project init`<br><b>Initialize a new PlatformIO project in a specific directory</b>`pio project init [[-d|--project-dir]] [path/to/project_directory]`<br><b>Initialize a new PlatformIO project, specifying a board ID</b>`pio project init [[-b|--board]] [ATmega328P|uno|...]`<br><b>Initialize a new PlatformIO based project, specifying one or more project options</b>`pio project init [[-O|--project-option]] "[option]=[value]" [[-O|--project-option]] "[option]=[value]"`<br><b>Print the configuration of a project</b>`pio project config`


title: TLDR
content:
<b>Run maintenance on each of a list of repositories stored in the maintenance.repo user configuration variable</b>`git for-each-repo --config maintenance.repo [maintenance run]`<br><b>Run git pull on each repository listed in a global configuration variable</b>`git for-each-repo --config [global_configuration_variable] [pull]`


title: TLDR
content:
<b>Kill all tasks in the default group</b>`pueue kill`<br><b>Kill a specific task</b>`pueue kill [task_id]`<br><b>Kill a task and terminate all its child processes</b>`pueue kill --children [task_id]`<br><b>Kill all tasks in a group and pause the group</b>`pueue kill [[-g|--group]] [group_name]`<br><b>Kill all tasks across all groups and pause all groups</b>`pueue kill [[-a|--all]]`


title: TLDR
content:
<b>Generate a new Hakyll sample blog</b>`hakyll-init [path/to/directory]`<br><b>Display help</b>`hakyll-init --help`


title: TLDR
content:
<b>Create a new organization</b>`pio org create [organization_name]`<br><b>Delete an organization</b>`pio org destroy [organization_name]`<br><b>Add a user to an organization</b>`pio org add [organization_name] [username]`<br><b>Remove a user from an organization</b>`pio org remove [organization_name] [username]`<br><b>List all organizations the current user is a member of and their owners</b>`pio org list`<br><b>Update the name, email or display name of an organization</b>`pio org update --orgname [new_organization_name] --email [new_email] --displayname [new_display_name] [organization_name]`


title: TLDR
content:
<b>Decrypt text after a keystroke</b>`echo "[Hello, World!]" | nms`<br><b>Decrypt output immediately, without waiting for a keystroke</b>`[ls -la] | nms -a`<br><b>Decrypt the content of a file, with a custom output color</b>`cat [path/to/file] | nms -a -f [blue|white|yellow|black|magenta|green|red]`<br><b>Clear the screen before decrypting</b>`[command] | nms -a -c`


title: TLDR
content:
<b>Generate completions for Bash</b>`sudo pueue completions bash [/usr/share/bash-completion/completions/pueue.bash]`<br><b>Generate completions for Zsh</b>`sudo pueue completions zsh [/usr/share/zsh/site-functions]`<br><b>Generate completions for fish</b>`sudo pueue completions fish [/usr/share/fish/completions]`


title: TLDR
content:
<b>Set the maximum number of tasks allowed to run in parallel, in the default group</b>`pueue parallel [max_number_of_parallel_tasks]`<br><b>Set the maximum number of tasks allowed to run in parallel, in a specific group</b>`pueue parallel [[-g|--group]] [group_name] [maximum_number_of_parallel_tasks]`


title: TLDR
content:
<b>Show all available subcommands and flags</b>`pueue help`<br><b>Display help for a specific subcommand</b>`pueue help [subcommand]`


title: TLDR
content:
<b>Remove finished tasks and clear logs</b>`pueue clean`<br><b>Only clean commands that finished successfully</b>`pueue clean [[-s|--successful-only]]`


title: TLDR
content:
<b>Remove a killed or finished task</b>`pueue remove [task_id]`<br><b>Remove multiple tasks at once</b>`pueue remove [task_id] [task_id]`


title: TLDR
content:
<b>Follow the output of a task (stdout + stderr)</b>`pueue follow [task_id]`<br><b>Follow stderr of a task</b>`pueue follow --err [task_id]`


title: TLDR
content:
<b>Edit a task, see pueue status to get the task ID</b>`pueue edit [task_id]`<br><b>Edit the path from which a task is executed</b>`pueue edit [task_id] --path`<br><b>Edit a command with the specified editor</b>`EDITOR=[nano] pueue edit [task_id]`


title: TLDR
content:
<b>Perform a full update of all packages, development platforms and global libraries</b>`pio update`<br><b>Update core packages only (skips platforms and libraries)</b>`pio update --core-packages`<br><b>Check for new versions of packages, platforms and libraries but do not actually update them</b>`pio update --dry-run`


title: TLDR
content:
<b>Show the last few lines of output from all tasks</b>`pueue log`<br><b>Show the full output of a task</b>`pueue log [task_id]`<br><b>Show the last few lines of output from several tasks</b>`pueue log [task_id] [task_id]`<br><b>Print a specific number of lines from the tail of output</b>`pueue log [[-l|--lines]] [number_of_lines] [task_id]`


title: TLDR
content:
<b>Install shell completion for the current shell (supports Bash, fish, Zsh and PowerShell)</b>`pio system completion install`<br><b>Uninstall shell completion for the current shell</b>`pio system completion uninstall`<br><b>Display system-wide PlatformIO information</b>`pio system info`<br><b>Remove unused PlatformIO data</b>`pio system prune`<br><b>Remove only cached data</b>`pio system prune --cache`<br><b>List unused PlatformIO data that would be removed but do not actually remove it</b>`pio system prune --dry-run`


title: TLDR
content:
<b>Start a synchronization session between a local directory and a remote host</b>`mutagen sync create --name=[session_name] /[path/to/local_directory]/ [user]@[host]:/[path/to/remote_directory]/`<br><b>Start a synchronization session between a local directory and a Docker container</b>`mutagen sync create --name=[session_name] /[path/to/local_directory]/ docker://[user]@[container_name]/[path/to/remote_directory]/`<br><b>Stop a running session</b>`mutagen sync terminate [session_name]`<br><b>Start a project</b>`mutagen project start`<br><b>Stop a project</b>`mutagen project terminate`<br><b>List running sessions for the current project</b>`mutagen project list`


title: TLDR
content:
<b>Stash an enqueued task</b>`pueue stash [task_id]`<br><b>Stash multiple tasks at once</b>`pueue stash [task_id] [task_id]`<br><b>Start a stashed task immediately</b>`pueue start [task_id]`<br><b>Enqueue a task to be executed when preceding tasks finish</b>`pueue enqueue [task_id]`


title: TLDR
content:
<b>Commit all staged changes, opening the editor specified by $EDITOR to enter the commit message</b>`dolt commit`<br><b>Commit all staged changes with the specified message</b>`dolt commit [[-m|--message]] "[commit_message]"`<br><b>Stage all unstaged changes to tables before committing</b>`dolt commit [[-a|--all]]`<br><b>Use the specified ISO 8601 commit date (defaults to current date and time)</b>`dolt commit --date "[2021-12-31T00:00:00]"`<br><b>Use the specified author for the commit</b>`dolt commit --author "[author_name] <[author_email]>"`<br><b>Allow creating an empty commit, with no changes</b>`dolt commit --allow-empty`<br><b>Ignore foreign key warnings</b>`dolt commit [[-f|--force]]`


title: TLDR
content:
<b>Show the status of all tasks</b>`pueue status`<br><b>Show the status of a specific group</b>`pueue status [[-g|--group]] [group_name]`


title: TLDR
content:
<b>Send input to a running command</b>`pueue send [task_id] "[input]"`<br><b>Send confirmation to a task expecting y/N (e.g. APT, cp)</b>`pueue send [task_id] [y]`


title: TLDR
content:
<b>Resume all tasks in the default group</b>`pueue start`<br><b>Resume a specific task</b>`pueue start [task_id]`<br><b>Resume multiple tasks at once</b>`pueue start [task_id] [task_id]`<br><b>Resume all tasks and start their children</b>`pueue start [[-a|--all]] --children`<br><b>Resume all tasks in a specific group</b>`pueue start group [group_name]`


title: TLDR
content:
<b>Show all groups with their statuses and number of parallel jobs</b>`pueue group`<br><b>Add a custom group</b>`pueue group add "[group_name]"`<br><b>Remove a group and move its tasks to the default group</b>`pueue group remove "[group_name]"`


title: TLDR
content:
<b>Kill all tasks and remove everything (logs, status, groups, task IDs)</b>`pueue reset`<br><b>Kill all tasks, terminate their children, and reset everything</b>`pueue reset --children`<br><b>Reset without asking for confirmation</b>`pueue reset [[-f|--force]]`


title: TLDR
content:
<b>Grant a user access to a resource</b>`pio access grant [guest|maintainer|admin] [username] [resource_urn]`<br><b>Remove a user's access to a resource</b>`pio access revoke [username] [resource_urn]`<br><b>Show all resources that a user or team has access to and the access level</b>`pio access list [username]`<br><b>Restrict access to a resource to specific users or team members</b>`pio access private [resource_urn]`<br><b>Allow all users access to a resource</b>`pio access public [resource_urn]`


title: DESCRIPTION
content:
<p><b>xfreerdp</b> is an X11 Remote Desktop Protocol (RDP) client which is part of the FreeRDP project. An RDP server is built-in to many editions of Windows. Alternative servers included xrdp and VRDP (VirtualBox).</p>


title: OPTIONS
content:
<p><b>/a</b>:<em>addin</em>[,<em>options</em>], <b>/addin</b>:<em>addin</em>[,<em>options</em>]</p>
<blockquote>
<p>Addin</p>
</blockquote>
<p><b>/action-script</b>:<em>file-name</em></p>
<blockquote>
<p>Action script (default:~/.config/freerdp/action.sh)</p>
</blockquote>
<p><b>/admin</b>, <b>/console</b></p>
<blockquote>
<p>Admin (or console) session</p>
</blockquote>
<p><b>+aero</b></p>
<blockquote>
<p>desktop composition (default:off)</p>
</blockquote>
<p><b>/app</b>:<em>path</em> or ||<em>alias</em></p>
<blockquote>
<p>Remote application program</p>
</blockquote>
<p><b>/app-cmd</b>:<em>parameters</em></p>
<blockquote>
<p>Remote application command-line parameters</p>
</blockquote>
<p><b>/app-file</b>:<em>file-name</em></p>
<blockquote>
<p>File to open with remote application</p>
</blockquote>
<p><b>/app-guid</b>:<em>app-guid</em></p>
<blockquote>
<p>Remote application GUID</p>
</blockquote>
<p><b>/app-icon</b>:<em>icon-path</em></p>
<blockquote>
<p>Remote application icon for user interface</p>
</blockquote>
<p><b>/app-name</b>:<em>app-name</em></p>
<blockquote>
<p>Remote application name for user interface</p>
</blockquote>
<p><b>/app-workdir</b>:<em>workspace path</em></p>
<blockquote>
<p>Remote application workspace path</p>
</blockquote>
<p><b>/assistance</b>:<em>password</em></p>
<blockquote>
<p>Remote assistance password</p>
</blockquote>
<p><b>/auto-request-control</b>:</p>
<blockquote>
<p>Automatically request remote assistance input control</p>
</blockquote>
<p><b>+async-channels</b></p>
<blockquote>
<p>Asynchronous channels (experimental) (default:off)</p>
</blockquote>
<p><b>+async-input</b></p>
<blockquote>
<p>Asynchronous input (default:off)</p>
</blockquote>
<p><b>+async-update</b></p>
<blockquote>
<p>Asynchronous update (default:off)</p>
</blockquote>
<p><b>/audio-mode</b>:<em>mode</em></p>
<blockquote>
<p>Audio output mode</p>
</blockquote>
<p><b>+auth-only</b></p>
<blockquote>
<p>Authenticate only (default:off)</p>
</blockquote>
<p><b>-authentication</b></p>
<blockquote>
<p>Authentication (experimental) (default:on)</p>
</blockquote>
<p><b>+auto-reconnect</b></p>
<blockquote>
<p>Automatic reconnection (default:off)</p>
</blockquote>
<p><b>/auto-reconnect-max-retries</b>:<em>retries</em></p>
<blockquote>
<p>Automatic reconnection maximum retries, 0 for unlimited [0,1000]</p>
</blockquote>
<p><b>+bitmap-cache</b></p>
<blockquote>
<p>bitmap cache (default:off)</p>
</blockquote>
<p><b>/bpp</b>:<em>depth</em></p>
<blockquote>
<p>Session bpp (color depth) (default:16)</p>
</blockquote>
<p><b>/buildconfig</b></p>
<blockquote>
<p>Print the build configuration</p>
</blockquote>
<p><b>/cert</b>:[deny,ignore,name:<em>name</em>,tofu,fingerprint:<em>hash</em>:<em>hash as hex</em>[,fingerprint:<em>hash</em>:<em>another hash</em>]]</p>
<blockquote>
<p>Certificate accept options. Use with care! * deny ... Automatically abort connection if the certificate does not match, no user interaction. * ignore ... Ignore the certificate checks altogether (overrules all other options) * name ... Use the alternate &lt;name&gt; instead of the certificate subject to match locally stored certificates * tofu ... Accept certificate unconditionally on first connect and deny on subsequent connections if the certificate does not match * fingerprints ... A list of certificate hashes that are accepted unconditionally for a connection</p>
</blockquote>
<p><b>/cert-deny</b></p>
<blockquote>
<p>[deprecated, use /cert:deny] Automatically abort connection for any certificate that can not be validated.</p>
</blockquote>
<p><b>/cert-ignore</b></p>
<blockquote>
<p>[deprecated, use /cert:ignore] Ignore certificate</p>
</blockquote>
<p><b>/cert-name</b>:<em>name</em></p>
<blockquote>
<p>[deprecated, use /cert:name:&lt;name&gt;] Certificate name</p>
</blockquote>
<p><b>/cert-tofu</b></p>
<blockquote>
<p>[deprecated, use /cert:tofu] Automatically accept certificate on first connect</p>
</blockquote>
<p><b>/client-build-number</b>:<em>number</em></p>
<blockquote>
<p>Client Build Number sent to server (influences smartcard behaviour, see [MS-RDPESC])</p>
</blockquote>
<p><b>/client-hostname</b>:<em>name</em></p>
<blockquote>
<p>Client Hostname to send to server</p>
</blockquote>
<p><b>/clipboard</b>:[use-selection:<em>atom</em>]</p>
<blockquote>
<p>Redirect clipboard. * use-selection:&lt;atom&gt; ... (X11) Specify which X selection to access. Default is CLIPBOARD. PRIMARY is the X-style middle-click selection. (default:on)</p>
</blockquote>
<p><b>/codec-cache</b>:[rfx|nsc|jpeg]</p>
<blockquote>
<p>Bitmap codec cache</p>
</blockquote>
<p><b>-compression</b>, <b>-z</b></p>
<blockquote>
<p>compression (default:on)</p>
</blockquote>
<p><b>/compression-level</b>:<em>level</em></p>
<blockquote>
<p>Compression level (0,1,2)</p>
</blockquote>
<p><b>+credentials-delegation</b></p>
<blockquote>
<p>credentials delegation (default:off)</p>
</blockquote>
<p><b>/d</b>:<em>domain</em></p>
<blockquote>
<p>Domain</p>
</blockquote>
<p><b>-decorations</b></p>
<blockquote>
<p>Window decorations (default:on)</p>
</blockquote>
<p><b>/disp</b></p>
<blockquote>
<p>Display control</p>
</blockquote>
<p><b>/drive</b>:<em>name</em>,<em>path</em></p>
<blockquote>
<p>Redirect directory &lt;path&gt; as named share &lt;name&gt;. Hotplug support is enabled with /drive:hotplug,*. This argument provides the same function as "Drives that I plug in later" option in MSTSC.</p>
</blockquote>
<p><b>+drives</b></p>
<blockquote>
<p>Redirect all mount points as shares (default:off)</p>
</blockquote>
<p><b>/dvc</b>:<em>channel</em>[,<em>options</em>]</p>
<blockquote>
<p>Dynamic virtual channel</p>
</blockquote>
<p><b>/dynamic-resolution</b></p>
<blockquote>
<p>Send resolution updates when the window is resized</p>
</blockquote>
<p><b>/echo</b>, <b>/echo</b></p>
<blockquote>
<p>Echo channel</p>
</blockquote>
<p><b>-encryption</b></p>
<blockquote>
<p>Encryption (experimental) (default:on)</p>
</blockquote>
<p><b>/encryption-methods</b>:[40,][56,][128,][FIPS]</p>
<blockquote>
<p>RDP standard security encryption methods</p>
</blockquote>
<p><b>/f</b></p>
<blockquote>
<p>Fullscreen mode (&lt;Ctrl&gt;+&lt;Alt&gt;+&lt;Enter&gt; toggles fullscreen)</p>
</blockquote>
<p><b>-fast-path</b></p>
<blockquote>
<p>fast-path input/output (default:on)</p>
</blockquote>
<p><b>+fipsmode</b></p>
<blockquote>
<p>FIPS mode (default:off)</p>
</blockquote>
<p><b>/floatbar</b>[:sticky:[on|off],default:[visible|hidden],show:[always|fullscreen||window]]</p>
<blockquote>
<p>floatbar is disabled by default (when enabled defaults to sticky in fullscreen mode)</p>
</blockquote>
<p><b>-fonts</b></p>
<blockquote>
<p>smooth fonts (ClearType) (default:on)</p>
</blockquote>
<p><b>/frame-ack</b>:<em>number</em></p>
<blockquote>
<p>Number of frame acknowledgement</p>
</blockquote>
<p><b>/from-stdin</b>[:force]</p>
<blockquote>
<p>Read credentials from stdin. With &lt;force&gt; the prompt is done before connection, otherwise on server request.</p>
</blockquote>
<p><b>/g</b>:<em>gateway</em>[:<em>port</em>]</p>
<blockquote>
<p>Gateway Hostname</p>
</blockquote>
<p><b>/gateway-usage-method</b>:[direct|detect], <b>/gum</b>:[direct|detect]</p>
<blockquote>
<p>Gateway usage method</p>
</blockquote>
<p><b>/gd</b>:<em>domain</em></p>
<blockquote>
<p>Gateway domain</p>
</blockquote>
<p><b>/gdi</b>:sw|hw</p>
<blockquote>
<p>GDI rendering</p>
</blockquote>
<p><b>/geometry</b></p>
<blockquote>
<p>Geometry tracking channel</p>
</blockquote>
<p><b>+gestures</b></p>
<blockquote>
<p>Consume multitouch input locally (default:off)</p>
</blockquote>
<p><b>/gfx</b>[:RFX]</p>
<blockquote>
<p>RDP8 graphics pipeline</p>
</blockquote>
<p><b>+gfx-progressive</b></p>
<blockquote>
<p>RDP8 graphics pipeline using progressive codec (default:off)</p>
</blockquote>
<p><b>+gfx-small-cache</b></p>
<blockquote>
<p>RDP8 graphics pipeline using small cache mode (default:off)</p>
</blockquote>
<p><b>+gfx-thin-client</b></p>
<blockquote>
<p>RDP8 graphics pipeline using thin client mode (default:off)</p>
</blockquote>
<p><b>+glyph-cache</b></p>
<blockquote>
<p>Glyph cache (experimental) (default:off)</p>
</blockquote>
<p><b>/gp</b>:<em>password</em></p>
<blockquote>
<p>Gateway password</p>
</blockquote>
<p><b>-grab-keyboard</b></p>
<blockquote>
<p>Grab keyboard (default:on)</p>
</blockquote>
<p><b>/gt</b>:[rpc|http[,no-websockets]|auto[,no-websockets]]</p>
<blockquote>
<p>Gateway transport type</p>
</blockquote>
<p><b>/gu</b>:[[<em>domain</em>\]<em>user</em>|<em>user</em>[@<em>domain</em>]]</p>
<blockquote>
<p>Gateway username</p>
</blockquote>
<p><b>/gat</b>:<em>access token</em></p>
<blockquote>
<p>Gateway Access Token</p>
</blockquote>
<p><b>/h</b>:<em>height</em></p>
<blockquote>
<p>Height (default:768)</p>
</blockquote>
<p><b>-heartbeat</b></p>
<blockquote>
<p>Support heartbeat PDUs (default:on)</p>
</blockquote>
<p><b>/help</b>, <b>/?</b></p>
<blockquote>
<p>Print help</p>
</blockquote>
<p><b>+home-drive</b></p>
<blockquote>
<p>Redirect user home as share (default:off)</p>
</blockquote>
<p><b>/ipv6</b>, <b>/6</b></p>
<blockquote>
<p>Prefer IPv6 AAA record over IPv4 A record</p>
</blockquote>
<p><b>/kbd</b>:0x<em>id</em> or <em>name</em></p>
<blockquote>
<p>Keyboard layout</p>
</blockquote>
<p><b>/kbd-lang</b>:0x<em>id</em></p>
<blockquote>
<p>Keyboard active language identifier</p>
</blockquote>
<p><b>/kbd-fn-key</b>:<em>value</em></p>
<blockquote>
<p>Function key value</p>
</blockquote>
<p><b>/kbd-list</b></p>
<blockquote>
<p>List keyboard layouts</p>
</blockquote>
<p><b>/kbd-lang-list</b></p>
<blockquote>
<p>List keyboard languages</p>
</blockquote>
<p><b>/kbd-remap</b>:List of <em>key</em>=<em>value</em>,... pairs to remap scancodes</p>
<blockquote>
<p>Keyboard scancode remapping</p>
</blockquote>
<p><b>/kbd-subtype</b>:<em>id</em></p>
<blockquote>
<p>Keyboard subtype</p>
</blockquote>
<p><b>/kbd-type</b>:<em>id</em></p>
<blockquote>
<p>Keyboard type</p>
</blockquote>
<p><b>/load-balance-info</b>:<em>info-string</em></p>
<blockquote>
<p>Load balance info</p>
</blockquote>
<p><b>/log-filters</b>:<em>tag</em>:<em>level</em>[,<em>tag</em>:<em>level</em>[,...]]</p>
<blockquote>
<p>Set logger filters, see wLog(7) for details</p>
</blockquote>
<p><b>/log-level</b>:[OFF|FATAL|ERROR|WARN|INFO|DEBUG|TRACE]</p>
<blockquote>
<p>Set the default log level, see wLog(7) for details</p>
</blockquote>
<p><b>/max-fast-path-size</b>:<em>size</em></p>
<blockquote>
<p>Specify maximum fast-path update size</p>
</blockquote>
<p><b>/max-loop-time</b>:<em>time</em></p>
<blockquote>
<p>Specify maximum time in milliseconds spend treating packets</p>
</blockquote>
<p><b>+menu-anims</b></p>
<blockquote>
<p>menu animations (default:off)</p>
</blockquote>
<p><b>/microphone</b>[:[sys:<em>sys</em>,][dev:<em>dev</em>,][format:<em>format</em>,][rate:<em>rate</em>,][channel:<em>channel</em>]], <b>/mic</b>[:[sys:<em>sys</em>,][dev:<em>dev</em>,][format:<em>format</em>,][rate:<em>rate</em>,][channel:<em>channel</em>]]</p>
<blockquote>
<p>Audio input (microphone)</p>
</blockquote>
<p><b>/monitor-list</b></p>
<blockquote>
<p>List detected monitors</p>
</blockquote>
<p><b>/monitors</b>:<em>id</em>[,<em>id</em>[,...]]</p>
<blockquote>
<p>Select monitors to use</p>
</blockquote>
<p><b>-mouse-motion</b></p>
<blockquote>
<p>Send mouse motion (default:on)</p>
</blockquote>
<p><b>/multimon</b>[:force]</p>
<blockquote>
<p>Use multiple monitors</p>
</blockquote>
<p><b>+multitouch</b></p>
<blockquote>
<p>Redirect multitouch input (default:off)</p>
</blockquote>
<p><b>+multitransport</b></p>
<blockquote>
<p>Support multitransport protocol (default:off)</p>
</blockquote>
<p><b>-nego</b></p>
<blockquote>
<p>protocol security negotiation (default:on)</p>
</blockquote>
<p><b>/network</b>:[modem|broadband|broadband-low|broadband-high|wan|lan|auto]</p>
<blockquote>
<p>Network connection type</p>
</blockquote>
<p><b>/nsc</b>, <b>/nscodec</b></p>
<blockquote>
<p>NSCodec support</p>
</blockquote>
<p><b>+offscreen-cache</b></p>
<blockquote>
<p>offscreen bitmap cache (default:off)</p>
</blockquote>
<p><b>/orientation</b>:[0|90|180|270]</p>
<blockquote>
<p>Orientation of display in degrees</p>
</blockquote>
<p><b>+old-license</b></p>
<blockquote>
<p>Use the old license workflow (no CAL and hwId set to 0) (default:off)</p>
</blockquote>
<p><b>/p</b>:<em>password</em></p>
<blockquote>
<p>Password</p>
</blockquote>
<p><b>/parallel</b>[:<em>name</em>[,<em>path</em>]]</p>
<blockquote>
<p>Redirect parallel device</p>
</blockquote>
<p><b>/parent-window</b>:<em>window-id</em></p>
<blockquote>
<p>Parent window id</p>
</blockquote>
<p><b>+password-is-pin</b></p>
<blockquote>
<p>Use smart card authentication with password as smart card PIN (default:off)</p>
</blockquote>
<p><b>/pcb</b>:<em>blob</em></p>
<blockquote>
<p>Preconnection Blob</p>
</blockquote>
<p><b>/pcid</b>:<em>id</em></p>
<blockquote>
<p>Preconnection Id</p>
</blockquote>
<p><b>/pheight</b>:<em>height</em></p>
<blockquote>
<p>Physical height of display (in millimeters)</p>
</blockquote>
<p><b>/play-rfx</b>:<em>pcap-file</em></p>
<blockquote>
<p>Replay rfx pcap file</p>
</blockquote>
<p><b>/port</b>:<em>number</em></p>
<blockquote>
<p>Server port</p>
</blockquote>
<p><b>-suppress-output</b></p>
<blockquote>
<p>suppress output when minimized (default:on)</p>
</blockquote>
<p><b>+print-reconnect-cookie</b></p>
<blockquote>
<p>Print base64 reconnect cookie after connecting (default:off)</p>
</blockquote>
<p><b>/printer</b>[:<em>name</em>[,<em>driver</em>]]</p>
<blockquote>
<p>Redirect printer device</p>
</blockquote>
<p><b>/proxy</b>:[<em>proto</em>://][<em>user</em>:<em>password</em>@]<em>host</em>:<em>port</em></p>
<blockquote>
<p>Proxy settings: override env. var (see also environment variable below). Protocol "socks5" should be given explicitly where "http" is default.</p>
</blockquote>
<p><b>/pth</b>:<em>password-hash</em>, <b>/pass-the-hash</b>:<em>password-hash</em></p>
<blockquote>
<p>Pass the hash (restricted admin mode)</p>
</blockquote>
<p><b>/pwidth</b>:<em>width</em></p>
<blockquote>
<p>Physical width of display (in millimeters)</p>
</blockquote>
<p><b>/rdp2tcp</b>:<em>executable path[:arg...]</em></p>
<blockquote>
<p>TCP redirection</p>
</blockquote>
<p><b>/reconnect-cookie</b>:<em>base64-cookie</em></p>
<blockquote>
<p>Pass base64 reconnect cookie to the connection</p>
</blockquote>
<p><b>/redirect-prefer</b>:<em>FQDN|IP|NETBIOS</em>,[...]</p>
<blockquote>
<p>Override the preferred redirection order</p>
</blockquote>
<p><b>/relax-order-checks</b>, <b>/relax-order-checks</b></p>
<blockquote>
<p>Do not check if a RDP order was announced during capability exchange, only use when connecting to a buggy server</p>
</blockquote>
<p><b>/restricted-admin</b>, <b>/restrictedAdmin</b></p>
<blockquote>
<p>Restricted admin mode</p>
</blockquote>
<p><b>/rfx</b></p>
<blockquote>
<p>RemoteFX</p>
</blockquote>
<p><b>/rfx-mode</b>:[image|video]</p>
<blockquote>
<p>RemoteFX mode</p>
</blockquote>
<p><b>/scale</b>:[100|140|180]</p>
<blockquote>
<p>Scaling factor of the display (default:100)</p>
</blockquote>
<p><b>/scale-desktop</b>:<em>percentage</em></p>
<blockquote>
<p>Scaling factor for desktop applications (value between 100 and 500) (default:100)</p>
</blockquote>
<p><b>/scale-device</b>:100|140|180</p>
<blockquote>
<p>Scaling factor for app store applications (default:100)</p>
</blockquote>
<p><b>/sec</b>:[rdp|tls|nla|ext]</p>
<blockquote>
<p>Force specific protocol security</p>
</blockquote>
<p><b>+sec-ext</b></p>
<blockquote>
<p>NLA extended protocol security (default:off)</p>
</blockquote>
<p><b>-sec-nla</b></p>
<blockquote>
<p>NLA protocol security (default:on)</p>
</blockquote>
<p><b>-sec-rdp</b></p>
<blockquote>
<p>RDP protocol security (default:on)</p>
</blockquote>
<p><b>-sec-tls</b></p>
<blockquote>
<p>TLS protocol security (default:on)</p>
</blockquote>
<p><b>/serial</b>[:<em>name</em>[,<em>path</em>[,<em>driver</em>[,permissive]]]], <b>/tty</b>[:<em>name</em>[,<em>path</em>[,<em>driver</em>[,permissive]]]]</p>
<blockquote>
<p>Redirect serial device</p>
</blockquote>
<p><b>/shell</b>:<em>shell</em></p>
<blockquote>
<p>Alternate shell</p>
</blockquote>
<p><b>/shell-dir</b>:<em>dir</em></p>
<blockquote>
<p>Shell working directory</p>
</blockquote>
<p><b>/size</b>:<em>width</em>x<em>height</em> or <em>percent</em>%[wh]</p>
<blockquote>
<p>Screen size (default:1024x768)</p>
</blockquote>
<p><b>/smart-sizing</b>[:<em>width</em>x<em>height</em>]</p>
<blockquote>
<p>Scale remote desktop to window size</p>
</blockquote>
<p><b>/smartcard</b>[:<em>str</em>[,<em>str</em>...]]</p>
<blockquote>
<p>Redirect the smartcard devices containing any of the &lt;str&gt; in their names.</p>
</blockquote>
<p><b>/smartcard-logon</b></p>
<blockquote>
<p>Activates Smartcard Logon authentication. (EXPERIMENTAL: NLA not supported)</p>
</blockquote>
<p><b>/sound</b>[:[sys:<em>sys</em>,][dev:<em>dev</em>,][format:<em>format</em>,][rate:<em>rate</em>,][channel:<em>channel</em>,][latency:<em>latency</em>,][quality:<em>quality</em>]], <b>/audio</b>[:[sys:<em>sys</em>,][dev:<em>dev</em>,][format:<em>format</em>,][rate:<em>rate</em>,][channel:<em>channel</em>,][latency:<em>latency</em>,][quality:<em>quality</em>]]</p>
<blockquote>
<p>Audio output (sound)</p>
</blockquote>
<p><b>/span</b></p>
<blockquote>
<p>Span screen over multiple monitors</p>
</blockquote>
<p><b>/spn-class</b>:<em>service-class</em></p>
<blockquote>
<p>SPN authentication service class</p>
</blockquote>
<p><b>/ssh-agent</b>, <b>/ssh-agent</b></p>
<blockquote>
<p>SSH Agent forwarding channel</p>
</blockquote>
<p><b>/t</b>:<em>title</em>, <b>/title</b>:<em>title</em></p>
<blockquote>
<p>Window title</p>
</blockquote>
<p><b>-themes</b></p>
<blockquote>
<p>themes (default:on)</p>
</blockquote>
<p><b>/timeout</b>:<em>time in ms</em>, <b>/timeout</b>:<em>time in ms</em></p>
<blockquote>
<p>Advanced setting for high latency links: Adjust connection timeout, use if you encounter timeout failures with your connection (default:9000)</p>
</blockquote>
<p><b>/tls-ciphers</b>:[netmon|ma|ciphers]</p>
<blockquote>
<p>Allowed TLS ciphers</p>
</blockquote>
<p><b>/tls-seclevel</b>:<em>level</em></p>
<blockquote>
<p>TLS security level - defaults to 1 (default:1)</p>
</blockquote>
<p><b>-toggle-fullscreen</b></p>
<blockquote>
<p>Alt+Ctrl+Enter to toggle fullscreen (default:on)</p>
</blockquote>
<p><b>/tune</b>:<em>setting:value</em>,<em>setting:value</em></p>
<blockquote>
<p>[experimental] directly manipulate freerdp settings, use with extreme caution! (default:)</p>
</blockquote>
<p><b>/tune-list</b></p>
<blockquote>
<p>Print options allowed for /tune</p>
</blockquote>
<p><b>/u</b>:[[<em>domain</em>\]<em>user</em>|<em>user</em>[@<em>domain</em>]]</p>
<blockquote>
<p>Username</p>
</blockquote>
<p><b>+unmap-buttons</b></p>
<blockquote>
<p>Let server see real physical pointer button (default:off)</p>
</blockquote>
<p><b>/v</b>:<em>server</em>[:port]</p>
<blockquote>
<p>Server hostname</p>
</blockquote>
<p><b>/vc</b>:<em>channel</em>[,<em>options</em>]</p>
<blockquote>
<p>Static virtual channel</p>
</blockquote>
<p><b>/version</b></p>
<blockquote>
<p>Print version</p>
</blockquote>
<p><b>/video</b></p>
<blockquote>
<p>Video optimized remoting channel</p>
</blockquote>
<p><b>/vmconnect</b>[:<em>vmid</em>]</p>
<blockquote>
<p>Hyper-V console (use port 2179, disable negotiation)</p>
</blockquote>
<p><b>/w</b>:<em>width</em></p>
<blockquote>
<p>Width (default:1024)</p>
</blockquote>
<p><b>-wallpaper</b></p>
<blockquote>
<p>wallpaper (default:on)</p>
</blockquote>
<p><b>+window-drag</b></p>
<blockquote>
<p>full window drag (default:off)</p>
</blockquote>
<p><b>/window-position</b>:<em>xpos</em>x<em>ypos</em></p>
<blockquote>
<p>window position</p>
</blockquote>
<p><b>/wm-class</b>:<em>class-name</em></p>
<blockquote>
<p>Set the WM_CLASS hint for the window instance</p>
</blockquote>
<p><b>/workarea</b></p>
<blockquote>
<p>Use available work area</p>
</blockquote>


title: ENVIRONMENT VARIABLES
content:
<p>wlog environment variable</p>
<blockquote>
<p>xfreerdp uses wLog as its log facility, you can refer to the corresponding man page (wlog(7)) for more informations. Arguments passed via the <em>/log-level</em> or <em>/log-filters</em> have precedence over the environment variables.</p>
</blockquote>


title: EXAMPLES
content:
<p><b>xfreerdp connection.rdp /p:Pwd123! /f</b></p>
<blockquote>
<p>Connect in fullscreen mode using a stored configuration <em>connection.rdp</em> and the password <em>Pwd123!</em></p>
</blockquote>
<p><b>xfreerdp /u:USER /size:50%h /v:rdp.contoso.com</b></p>
<blockquote>
<p>Connect to host <em>rdp.contoso.com</em> with user <em>USER</em> and a size of <em>50 percent of the height</em>. If width (w) is set instead of height (h) like /size:50%w. 50 percent of the width is used.</p>
</blockquote>
<p><b>xfreerdp /u:CONTOSO\\JohnDoe /p:Pwd123! /v:rdp.contoso.com</b></p>
<blockquote>
<p>Connect to host <em>rdp.contoso.com</em> with user <em>CONTOSO\\JohnDoe</em> and password <em>Pwd123!</em></p>
</blockquote>
<p><b>xfreerdp /u:JohnDoe /p:Pwd123! /w:1366 /h:768 /v:192.168.1.100:4489</b></p>
<blockquote>
<p>Connect to host <em>192.168.1.100</em> on port <em>4489</em> with user <em>JohnDoe</em>, password <em>Pwd123!</em>. The screen width is set to <em>1366</em> and the height to <em>768</em></p>
</blockquote>
<p><b>xfreerdp /u:JohnDoe /p:Pwd123! /vmconnect:C824F53E-95D2-46C6-9A18-23A5BB403532 /v:192.168.1.100</b></p>
<blockquote>
<p>Establish a connection to host <em>192.168.1.100</em> with user <em>JohnDoe</em>, password <em>Pwd123!</em> and connect to Hyper-V console (use port 2179, disable negotiation) with VMID <em>C824F53E-95D2-46C6-9A18-23A5BB403532</em></p>
</blockquote>
<p><b>+clipboard</b></p>
<blockquote>
<p>Activate clipboard redirection</p>
</blockquote>
<p><b>/drive:home,/home/user</b></p>
<blockquote>
<p>Activate drive redirection of <em>/home/user</em> as home drive</p>
</blockquote>
<p><b>/smartcard:&lt;device&gt;</b></p>
<blockquote>
<p>Activate smartcard redirection for device <em>device</em></p>
</blockquote>
<p><b>/printer:&lt;device&gt;,&lt;driver&gt;</b></p>
<blockquote>
<p>Activate printer redirection for printer <em>device</em> using driver <em>driver</em></p>
</blockquote>
<p><b>/serial:&lt;device&gt;</b></p>
<blockquote>
<p>Activate serial port redirection for port <em>device</em></p>
</blockquote>
<p><b>/parallel:&lt;device&gt;</b></p>
<blockquote>
<p>Activate parallel port redirection for port <em>device</em></p>
</blockquote>
<p><b>/sound:sys:alsa</b></p>
<blockquote>
<p>Activate audio output redirection using device <em>sys:alsa</em></p>
</blockquote>
<p><b>/microphone:sys:alsa</b></p>
<blockquote>
<p>Activate audio input redirection using device <em>sys:alsa</em></p>
</blockquote>
<p><b>/multimedia:sys:alsa</b></p>
<blockquote>
<p>Activate multimedia redirection using device <em>sys:alsa</em></p>
</blockquote>
<p><b>/usb:id,dev:054c:0268</b></p>
<blockquote>
<p>Activate USB device redirection for the device identified by <em>054c:0268</em></p>
</blockquote>


title: TLDR
content:
<b>A preferred way to trace the path to a host</b>`tracepath -p [33434] [host]`<br><b>Specify the initial destination port, useful with non-standard firewall settings</b>`tracepath -p [destination_port] [host]`<br><b>Print both hostnames and numerical IP addresses</b>`tracepath -b [host]`<br><b>Specify a maximum TTL (number of hops)</b>`tracepath -m [max_hops] [host]`<br><b>Specify the initial packet length (defaults to 65535 for IPv4 and 128000 for IPv6)</b>`tracepath -l [packet_length] [host]`<br><b>Use only IPv6 addresses</b>`tracepath -6 [host]`


title: TLDR
content:
<b>Display the neighbour/ARP table entries</b>`ip [[n|neighbour]]`<br><b>Remove entries in the neighbour table on device ethX</b>`sudo ip [[n|neighbour]] [[f|flush]] dev [ethX]`<br><b>Perform a neighbour lookup and return a neighbour entry</b>`ip [[n|neighbour]] [[g|get]] [lookup_ip] dev [ethX]`<br><b>Add or delete an ARP entry for the neighbour IP address to ethX</b>`sudo ip [[n|neighbour]] [add|delete] [ip_address] lladdr [mac_address] dev [ethX] nud reachable`<br><b>Change or replace an ARP entry for the neighbour IP address to ethX</b>`sudo ip [[n|neighbour]] [change|replace] [ip_address] lladdr [new_mac_address] dev [ethX]`


title: TLDR
content:
<b>Launch the MOC terminal UI</b>`mocp`<br><b>Launch the MOC terminal UI in a specific directory</b>`mocp [path/to/directory]`<br><b>Start the MOC server in the background, without launching the MOC terminal UI</b>`mocp [[-S|--server]]`<br><b>Add a specific song to the play queue while MOC is in the background</b>`mocp [[-q|--enqueue]] [path/to/audio_file]`<br><b>Add songs recursively to the play queue while MOC is in the background</b>`mocp [[-a|--append]] [path/to/directory]`<br><b>Clear the play queue while MOC is in the background</b>`mocp [[-c|--clear]]`<br><b>Play or stop the currently queued song while MOC is in the background</b>`mocp --[play|stop]`<br><b>Stop the MOC server while it's in the background</b>`mocp [[-x|--exit]]`


title: TLDR
content:
<b>Display the main routing table</b>`ip [[r|route]]`<br><b>Add a default route using gateway forwarding</b>`sudo ip [[r|route]] [[a|add]] default via [gateway_ip]`<br><b>Add a default route using ethX</b>`sudo ip [[r|route]] [[a|add]] default dev [ethX]`<br><b>Add a static route</b>`sudo ip [[r|route]] [[a|add]] [destination_ip] via [gateway_ip] dev [ethX]`<br><b>Delete a static route</b>`sudo ip [[r|route]] [[d|delete]] [destination_ip] dev [ethX]`<br><b>Change or replace a static route</b>`sudo ip [[r|route]] [change|replace] [destination_ip] via [gateway_ip] dev [ethX]`<br><b>Show which route will be used by the kernel to reach an IP address</b>`ip [[r|route]] [[g|get]] [destination_ip]`<br><b>Display a specific routing table</b>`ip [[r|route]] [[l|list]] [[t|table]] [table_number]`


title: TLDR
content:
<b>Create an X cursor file using a configuration file</b>`xcursorgen [path/to/config.cursor] [path/to/output_file]`<br><b>Create an X cursor file using a configuration file and specify the path to the image files</b>`xcursorgen --prefix [path/to/image_directory]/ [path/to/config.cursor] [path/to/output_file]`<br><b>Create an X cursor file using a configuration file and write the output to stdout</b>`xcursorgen [path/to/config.cursor]`


title: TLDR
content:
<b>Show information about all network interfaces</b>`ip [[l|link]]`<br><b>Show information about a specific network interface</b>`ip [[l|link]] [[sh|show]] [ethX]`<br><b>Bring a network interface up or down</b>`sudo ip [[l|link]] [[s|set]] [ethX] [up|down]`<br><b>Give a meaningful name to a network interface</b>`sudo ip [[l|link]] [[s|set]] [ethX] [[al|alias]] "[LAN Interface]"`<br><b>Change the MAC address of a network interface</b>`sudo ip [[l|link]] [[s|set]] [ethX] [[a|address]] [ff:ff:ff:ff:ff:ff]`<br><b>Change the MTU size for a network interface to use jumbo frames</b>`sudo ip [[l|link]] [[s|set]] [ethX] mtu [9000]`<br><b>Set the promisc mode status of a device</b>`sudo ip [[l|link]] [[s|set]] [ethX] promisc [on|off]`


title: TLDR
content:
<b>Launch Steam, printing debug messages to stdout</b>`steam`<br><b>Launch Steam and enable its in-app debug console tab</b>`steam -console`<br><b>Launch Steam without opening the GUI</b>`steam -silent`<br><b>Enable and open the Steam console tab in a running Steam instance</b>`steam steam://open/console`<br><b>Log into Steam with the specified credentials</b>`steam -login [username] [password]`<br><b>Launch Steam in Big Picture Mode</b>`steam -tenfoot`<br><b>Exit Steam</b>`steam -shutdown`


title: TLDR
content:
<b>Initialize or mount an encrypted filesystem</b>`encfs /[path/to/cipher_directory] /[path/to/mount_point]`<br><b>Initialize an encrypted filesystem with standard settings</b>`encfs --standard /[path/to/cipher_directory] /[path/to/mount_point]`<br><b>Run encfs in the foreground instead of spawning a daemon</b>`encfs -f /[path/to/cipher_directory] /[path/to/mount_point]`<br><b>Mount an encrypted snapshot of a plain directory</b>`encfs --reverse [path/to/plain_directory] [path/to/cipher_directory]`


title: TLDR
content:
<b>Calculate the current compression ratio for a file or directory</b>`sudo compsize [path/to/file_or_directory]`<br><b>Don't traverse filesystem boundaries</b>`sudo compsize [[-x|--one-file-system]] [path/to/file_or_directory]`<br><b>Show raw byte counts instead of human-readable sizes</b>`sudo compsize [[-b|--bytes]] [path/to/file_or_directory]`


title: TLDR
content:
<b>Execute all programs in the autostart folders</b>`dex [[-a|--autostart]]`<br><b>Execute all programs in the specified folders</b>`dex [[-a|--autostart]] [[-s|--search-paths]] [path/to/directory1]:[path/to/directory2]:[path/to/directory3]:`<br><b>Preview the programs would be executed in a GNOME specific autostart</b>`dex [[-a|--autostart]] [[-e|--environment]] [GNOME]`<br><b>Preview the programs would be executed in a regular autostart</b>`dex [[-a|--autostart]] [[-d|--dry-run]]`<br><b>Preview the value of the DesktopEntry property Name</b>`dex [[-p|--property]] [Name] [path/to/file.desktop]`<br><b>Create a DesktopEntry for a program in the current directory</b>`dex [[-c|--create]] [path/to/file.desktop]`<br><b>Execute a single program (with Terminal=true in the desktop file) in the given terminal</b>`dex --term [terminal] [path/to/file.desktop]`


title: TLDR
content:
<b>List user accounts and their associated home directories</b>`homectl list`<br><b>Create a user account and their associated home directory</b>`sudo homectl create [username]`<br><b>Remove a specific user and the associated home directory</b>`sudo homectl remove [username]`<br><b>Change the password for a specific user</b>`sudo homectl passwd [username]`<br><b>Run a shell or a command with access to a specific home directory</b>`sudo homectl with [username] -- [command] [command_arguments]`<br><b>Lock or unlock a specific home directory</b>`sudo homectl [lock|unlock] [username]`<br><b>Change the disk space assigned to a specific home directory to 100 GiB</b>`sudo homectl resize [username] [100G]`<br><b>Display help</b>`homectl [[-h|--help]]`


title: TLDR
content:
<b>Connect to the default host (irc.ofct.net) with the nickname set in the $USER environment variable</b>`sic`<br><b>Connect to a given host, using a given nickname</b>`sic -h [host] -n [nickname]`<br><b>Connect to a given host, using a given nickname and password</b>`sic -h [host] -n [nickname] -k [password]`<br><b>Join a channel</b>`:j #[channel]<Enter>`<br><b>Send a message to a channel or user</b>`:m #[channel|user]<Enter>`<br><b>Set default channel or user</b>`:s #[channel|user]<Enter>`


title: TLDR
content:
<b>Probe the chip, ensuring the wiring is correct</b>`flashrom [[-p|--programmer]] [programmer]`<br><b>Read flash and save it to a file</b>`flashrom [[-p|--programmer]] [programmer] [[-r|--read]] [path/to/file]`<br><b>Write a file to the flash</b>`flashrom [[-p|--programmer]] [programmer] [[-w|--write]] [path/to/file]`<br><b>Verify the flash against a file</b>`flashrom [[-p|--programmer]] [programmer] [[-v|--verify]] [path/to/file]`<br><b>Probe the chip using Raspberry Pi</b>`flashrom [[-p|--programmer]] [linux_spi:dev=/dev/spidev0.0]`


title: TLDR
content:
<b>Create a snapshot using a configuration file</b>`sudo rusnapshot [[-c|--config]] [path/to/config.toml] --cr`<br><b>List created snapshots</b>`sudo rusnapshot [[-c|--config]] [path/to/config.toml] [[-l|--list]]`<br><b>Delete a snapshot by ID or the name of the snapshot</b>`sudo rusnapshot [[-c|--config]] [path/to/config.toml] --del --id [snapshot_id]`<br><b>Delete all hourly snapshots</b>`sudo rusnapshot [[-c|--config]] [path/to/config.toml] [[-l|--list]] [[-k|--keep]] [0] --clean --kind [hourly]`<br><b>Create a read-write snapshot</b>`sudo rusnapshot [[-c|--config]] [path/to/config.toml] --cr [[-r|--rw]]`<br><b>Restore a snapshot</b>`sudo rusnapshot [[-c|--config]] [path/to/config.toml] --id [snapshot_id] [[-r|--restore]]`


title: TLDR
content:
<b>Start the interactive installer</b>`archinstall`<br><b>Start a preset installer</b>`archinstall [minimal|unattended]`


title: TLDR
content:
<b>Check the currently running kernel for Spectre or Meltdown</b>`sudo spectre-meltdown-checker`<br><b>Check the currently running kernel and show an explanation of the actions to take to mitigate a vulnerability</b>`sudo spectre-meltdown-checker --explain`<br><b>Check for specific variants (defaults to all)</b>`sudo spectre-meltdown-checker --variant [1|2|3|3a|4|l1tf|msbds|mfbds|mlpds|mdsum|taa|mcespc|srbds]`<br><b>Display output using a specific output format</b>`sudo spectre-meltdown-checker --batch [text|json|nrpe|prometheus|short]`<br><b>Don't use the /sys interface even if present</b>`sudo spectre-meltdown-checker --no-sysfs`<br><b>Check a non-running kernel</b>`sudo spectre-meltdown-checker --kernel [path/to/kernel_file]`


title: TLDR
content:
<b>Launch Nautilus</b>`nautilus`<br><b>Launch Nautilus as root user</b>`nautilus admin:/`<br><b>Launch Nautilus and display a specific directory</b>`nautilus [path/to/directory]`<br><b>Launch Nautilus with a specific file or directory selected</b>`nautilus --select [path/to/file_or_directory]`<br><b>Launch Nautilus in a separated window</b>`nautilus --new-window`<br><b>Close all Nautilus instances</b>`nautilus --quit`<br><b>Display help</b>`nautilus --help`


title: TLDR
content:
<b>List installed libraries</b>`pio lib list`<br><b>List built-in libraries based on installed development platforms and their frameworks</b>`pio lib builtin`<br><b>Search for existing libraries</b>`pio lib search [keyword]`<br><b>Show details about a library</b>`pio lib show [library]`<br><b>Install a library</b>`pio lib install [library]`<br><b>Update installed libraries</b>`pio lib update`<br><b>Uninstall a library</b>`pio lib uninstall [library]`<br><b>Show PlatformIO library registry statistics</b>`pio lib stats`


title: TLDR
content:
<b>Start a new game</b>`openttd -g`<br><b>Load save game at start</b>`openttd -g [path/to/file]`<br><b>Start with the specified window resolution</b>`openttd -r [1920x1080]`<br><b>Start with a custom configuration file</b>`openttd -c [path/to/file]`<br><b>Start with selected video, sound, and music drivers</b>`openttd -v [video_driver] -s [sound_driver] -m [music_driver]`<br><b>Start a dedicated server, forked in the background</b>`openttd -f -D [host]:[port]`<br><b>Join a server with a password</b>`openttd -n [host]:[port]#[player_name] -p [password]`


title: TLDR
content:
<b>Start an interactive search for a city and fetch data for it</b>`peludna-prognoza`<br><b>Fetch data for a city</b>`peludna-prognoza "[city]"`<br><b>Display data in a machine-readable format</b>`peludna-prognoza "[city]" --[json|xml]`<br><b>Display the pollen measurement page for a city at <https://plivazdravlje.hr> in the default web browser</b>`peludna-prognoza "[city]" [[-w|--web]]`


title: TLDR
content:
<b>Start diskonaut in the current directory</b>`diskonaut`<br><b>Start diskonaut in a specific directory</b>`diskonaut [path/to/directory]`<br><b>Show file sizes rather than their block usage on the disk</b>`diskonaut --apparent-size [path/to/directory]`<br><b>Disable deletion confirmation</b>`diskonaut --disable-delete-confirmation`


title: TLDR
content:
<b>Create a package tarball from the current directory</b>`pio package pack --output [path/to/package.tar.gz]`<br><b>Create and publish a package tarball from the current directory</b>`pio package publish`<br><b>Publish the current directory and restrict public access to it</b>`pio package publish --private`<br><b>Publish a package</b>`pio package publish [path/to/package.tar.gz]`<br><b>Publish a package with a custom release date (UTC)</b>`pio package publish [path/to/package.tar.gz] --released-at "[2021-04-08 21:15:38]"`<br><b>Remove all versions of a published package from the registry</b>`pio package unpublish [package]`<br><b>Remove a specific version of a published package from the registry</b>`pio package unpublish [package]@[version]`<br><b>Undo the removal, putting all versions or a specific version of the package back into the registry</b>`pio package unpublish --undo [package]@[version]`


title: TLDR
content:
<b>Recursively detect and decode a string</b>`dcode "[NjM3YTQyNzQ1YTQ0NGUzMg==]"`<br><b>Rotate a string by the specified offset</b>`dcode -rot [11] "[spwwz hzcwo]"`<br><b>Rotate a string by all 26 possible offsets</b>`dcode -rot [all] "[bpgkta xh qtiitg iwpc sr]"`<br><b>Reverse a string</b>`dcode -rev "[hello world]"`


title: TLDR
content:
<b>List all available generators to destroy</b>`rails destroy`<br><b>Destroy a model named Post</b>`rails destroy model [Post]`<br><b>Destroy a controller named Posts</b>`rails destroy controller [Posts]`<br><b>Destroy a migration that creates Posts</b>`rails destroy migration [CreatePosts]`<br><b>Destroy a scaffold for a model named Post</b>`rails destroy scaffold [Post]`


title: TLDR
content:
<b>Merge the pull request associated with the current branch interactively</b>`gh pr merge`<br><b>Merge the current branch into the specified pull request</b>`gh pr merge [pr_number] [[-m|--merge]]`<br><b>Squash and merge a pull request, then delete the branch</b>`gh pr merge [pr_number] [[-sd|--squash --delete-branch]]`<br><b>Rebase and merge</b>`gh pr merge [pr_number] [[-r|--rebase]]`<br><b>Enable auto-merge (squash)</b>`gh pr merge [pr_number] --auto [[-s|--squash]]`<br><b>Merge with admin privileges (if allowed)</b>`gh pr merge [pr_number] --admin`


title: TLDR
content:
<b>Format a file to stdout, with a custom maximum line length</b>`autopep8 [path/to/file.py] --max-line-length [length]`<br><b>Format a file, displaying a diff of the changes</b>`autopep8 --diff [path/to/file]`<br><b>Format a file in-place and save the changes</b>`autopep8 --in-place [path/to/file.py]`<br><b>Recursively format all files in a directory in-place and save changes</b>`autopep8 --in-place --recursive [path/to/directory]`


title: TLDR
content:
<b>Interactively select a workflow to view the latest jobs for</b>`gh workflow view`<br><b>View a specific workflow in the default browser</b>`gh workflow view [id|workflow_name|filename.yml] [[-w|--web]]`<br><b>Display the YAML definition of a specific workflow</b>`gh workflow view [id|workflow_name|filename.yml] [[-y|--yaml]]`<br><b>Display the YAML definition for a specific Git branch or tag</b>`gh workflow view [id|workflow_name|filename.yml] [[-r|--ref]] [branch|tag_name] [[-y|--yaml]]`<br><b>List workflow files (use --all to include disabled workflows)</b>`gh workflow [[ls|list]]`<br><b>Run a manual workflow with parameters</b>`gh workflow run [id|workflow_name|filename.yml] [--raw-field param1=value1 --raw-field param2=value2 ...]`<br><b>Run a manual workflow using a specific branch or tag with JSON parameters from stdin</b>`echo '[{"param1": "value1", "param2": "value2", ...]}' | gh workflow run [id|workflow_name|filename.yml] [[-r|--ref]] [branch|tag_name]`<br><b>Enable or disable a specific workflow</b>`gh workflow [enable|disable] [id|workflow_name|filename.yml]`


title: TLDR
content:
<b>List all available serial ports</b>`pio device list`<br><b>List all available logical devices</b>`pio device list --logical`<br><b>Start an interactive device monitor</b>`pio device monitor`<br><b>Start an interactive device monitor and listen to a specific port</b>`pio device monitor [[-p|--port]] [/dev/ttyUSBX]`<br><b>Start an interactive device monitor and set a specific baud rate (defaults to 9600)</b>`pio device monitor [[-b|--baud]] [57600]`<br><b>Start an interactive device monitor and set a specific EOL character (defaults to CRLF)</b>`pio device monitor --eol [CRLF|CR|LF]`<br><b>Go to the menu of the interactive device monitor</b>`<Ctrl t>`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b>`sbcl`<br><b>Execute a Lisp script</b>`sbcl --script [path/to/script.lisp]`


title: TLDR
content:
<b>Acquire a lease for resource</b>`stormlock acquire [resource]`<br><b>Release the given lease for the given resource</b>`stormlock release [resource] [lease_id]`<br><b>Show information on the current lease for a resource, if any</b>`stormlock current [resource]`<br><b>Test if a lease for given resource is currently active</b>`stormlock is-held [resource] [lease_id]`


title: TLDR
content:
<b>Generate an auto login link for the admin user and print it</b>`plesk login`<br><b>Show product version information</b>`plesk version`<br><b>List all hosted domains</b>`plesk bin domain --list`<br><b>Start watching for changes in the panel.log file</b>`plesk log [panel.log]`<br><b>Start the interactive MySQL console</b>`plesk db`<br><b>Open the Plesk main configuration file in the default editor</b>`plesk conf [panel.ini]`


title: TLDR
content:
<b>Download the daily offer book into the current directory with the specified book format (defaults to pdf)</b>`packtpub download [[-t|--type]] [pdf|ebup|mobi]`<br><b>Download the daily offer book into the specified directory</b>`packtpub download [[-d|--dir]] [path/to/directory]`<br><b>Start an interactive login to packtpub.com</b>`packtpub login`<br><b>Log out from packtpub.com</b>`packtpub logout`<br><b>Display the daily offer</b>`packtpub view-offer`<br><b>Open the daily offer in the default web browser</b>`packtpub view-offer`<br><b>Display the currently logged-in user</b>`packtpub whoami`


title: TLDR
content:
<b>List all local and global configuration options and their values</b>`dolt config --list`<br><b>Display the value of a local or global configuration variable</b>`dolt config --get [name]`<br><b>Modify the value of a local configuration variable, creating it if it doesn't exist</b>`dolt config --add [name] [value]`<br><b>Modify the value of a global configuration variable, creating it if it doesn't exist</b>`dolt config --global --add [name] [value]`<br><b>Delete a local configuration variable</b>`dolt config --unset [name]`<br><b>Delete a global configuration variable</b>`dolt config --global --unset [name]`


title: TLDR
content:
<b>Display the default inventory</b>`ansible-inventory --list`<br><b>Display a custom inventory</b>`ansible-inventory --list [[-i|--inventory-file]] [path/to/file_or_script_or_directory]`<br><b>Display the default inventory in YAML</b>`ansible-inventory --list [[-y|--yaml]]`<br><b>Dump the default inventory to a file</b>`ansible-inventory --list --output [path/to/file]`


title: TLDR
content:
<b>Connect to a host and run the current shell</b>`xxh "[host]"`<br><b>Install the current shell into the target machine without prompting</b>`xxh "[host]" ++install`<br><b>Run the specified shell on the target machine</b>`xxh "[host]" ++shell [xonsh|zsh|fish|bash|osquery]`<br><b>Use a specific xxh configuration directory on the target machine</b>`xxh "[host]" ++host-xxh-home [~/.xxh]`<br><b>Use the specified configuration file on the host machine</b>`xxh "[host]" ++xxh-config [~/.config/xxh/config.xxhc]`<br><b>Specify a password to use for the SSH connection</b>`xxh "[host]" ++password "[password]"`<br><b>Install an xxh package on the target machine</b>`xxh "[host]" ++install-xxh-packages [package]`<br><b>Set an environment variable for the shell process on the target machine</b>`xxh "[host]" ++env [name]=[value]`


title: TLDR
content:
<b>Run the previous command as root (!! is replaced by the previous command)</b><br>`sudo !!`<br><br><b>Run a command with the last argument of the previous command</b><br>`[command] !$`<br><br><b>Run a command with the first argument of the previous command</b><br>`[command] !^`<br><br><b>Run the Nth command of the history</b><br>`![n]`<br><br><b>Run the command n lines back in the history</b><br>`!-[n]`<br><br><b>Run the most recent command containing string</b><br>`!?[string]?`<br><br><b>Run the previous command, replacing string1 with string2</b><br>`^[string1]^[string2]^`<br><br><b>Perform a history expansion, but print the command that would be run instead of actually running it</b><br>`[!-n]:p`<br>


title: TLDR
content:
<b>Interactively select a run to see information about the jobs</b>`gh run view`<br><b>Display information about a specific run</b>`gh run view [workflow_run_number]`<br><b>Display information about the steps of a job</b>`gh run view [[-j|--job]] [job_number]`<br><b>Display the log of a job</b>`gh run view [[-j|--job]] [job_number] --log`<br><b>Check a specific workflow and exit with a non-zero status if the run failed</b>`gh run view [workflow_run_number] --exit-status && [echo "run pending or passed"]`<br><b>Interactively select an active run and wait until it's done</b>`gh run watch`<br><b>Display the jobs for a run and wait until it's done</b>`gh run watch [workflow_run_number]`<br><b>Re-run a specific workflow</b>`gh run rerun [workflow_run_number]`


title: TLDR
content:
<b>List local Docker images</b>`docker image ls`<br><b>Delete unused local Docker images</b>`docker image prune`<br><b>Delete all unused images (not just those without a tag)</b>`docker image prune [[-a|--all]]`<br><b>Show the history of a local Docker image</b>`docker image history [image]`<br><b>View documentation for docker image rm</b>`tldr docker rmi`


title: TLDR
content:
<b>Check status</b>`espanso status`<br><b>Edit the configuration</b>`espanso edit config`<br><b>Install a package from the hub store (<https://hub.espanso.org/>)</b>`espanso install [package]`<br><b>Restart (required after installing a package, useful in case of failure)</b>`espanso restart`


title: TLDR
content:
<b>Start an interactive shell session</b>`xonsh`<br><b>Execute a single command and then exit</b>`xonsh -c "[command]"`<br><b>Run commands from a script file and then exit</b>`xonsh [path/to/script_file.xonsh]`<br><b>Define environment variables for the shell process</b>`xonsh -D[name1]=[value1] -D[name2]=[value2]`<br><b>Load the specified .xonsh or .json configuration files</b>`xonsh --rc [path/to/file1.xonsh] [path/to/file2.json]`<br><b>Skip loading the .xonshrc configuration file</b>`xonsh --no-rc`


