# CommandSection

title: CAVEATS
content:
<p>ripgrep may abort unexpectedly when using default settings if it searches a file that is simultaneously truncated. This behavior can be avoided by passing the <b>--no-mmap</b> flag which will forcefully disable the use of memory maps in all cases.</p>
<p>ripgrep may use a large amount of memory depending on a few factors. Firstly, if ripgrep uses parallelism for search (the default), then the entire output for each individual file is buffered into memory in order to prevent interleaving matches in the output. To avoid this, you can disable parallelism with the <b>-j1</b> flag. Secondly, ripgrep always needs to have at least a single line in memory in order to execute a search. A file with a very long line can thus cause ripgrep to use a lot of memory. Generally, this only occurs when searching binary data with the <b>-a</b> flag enabled. (When the <b>-a</b> flag isn’t enabled, ripgrep will replace all NUL bytes with line terminators, which typically prevents exorbitant memory usage.) Thirdly, when ripgrep searches a large file using a memory map, the process will report its resident memory usage as the size of the file. However, this does not mean ripgrep actually needed to use that much memory; the operating system will generally handle this for you.</p>


title: HOMEPAGE
content:
<p>&lt;https://github.com/BurntSushi/ripgrep&gt;</p>
<p>Please report bugs and feature requests in the issue tracker. Please do your best to provide a reproducible test case for bugs. This should include the corpus being searched, the <b>rg</b> command, the actual output and the expected output. Please also include the output of running the same <b>rg</b> command but with the <b>--debug</b> flag.</p>


title: TLDR
content:
<b>Run a program in a new session</b>`setsid [program]`<br><b>Run a program in a new session discarding the resulting output and error</b>`setsid [program] > /dev/null 2>&1`<br><b>Run a program creating a new process</b>`setsid [[-f|--fork]] [program]`<br><b>Return the exit code of a program as the exit code of setsid when the program exits</b>`setsid [[-w|--wait]] [program]`<br><b>Run a program in a new session setting the current terminal as the controlling terminal</b>`setsid [[-c|--ctty]] [program]`


title: TLDR
content:
<b>Return an exit status of 0 if the current device is likely a laptop, else returns 1</b>`laptop-detect`<br><b>Print the type of device that the current system is detected as</b>`laptop-detect --verbose`<br><b>Display version</b>`laptop-detect --version`


title: TLDR
content:
<b>Print memory map for a specific process ID (PID)</b>`pmap [pid]`<br><b>Show the extended format</b>`pmap --extended [pid]`<br><b>Show the device format</b>`pmap --device [pid]`<br><b>Limit results to a memory address range specified by low and high</b>`pmap --range [low],[high]`<br><b>Print memory maps for multiple processes</b>`pmap [pid1 pid2 ...]`


title: TLDR
content:
<b>Take a screenshot and save it to the default location, normally ~/Pictures</b>`gnome-screenshot`<br><b>Take a screenshot and save it to the named file location</b>`gnome-screenshot [[-f|--file]] [path/to/file]`<br><b>Take a screenshot and save it to the clipboard</b>`gnome-screenshot [[-c|--clipboard]]`<br><b>Take a screenshot after the specified number of seconds</b>`gnome-screenshot [[-d|--delay]] [5]`<br><b>Launch the GNOME Screenshot GUI</b>`gnome-screenshot [[-i|--interactive]]`<br><b>Take a screenshot of the current window and save it to the specified file location</b>`gnome-screenshot [[-w|--window]] [[-f|--file]] [path/to/file]`<br><b>Take a screenshot after the specified number of seconds and save it to the clipboard</b>`gnome-screenshot [[-d|--delay]] [10] [[-c|--clipboard]]`<br><b>Display the version</b>`gnome-screenshot --version`


title: TLDR
content:
<b>Specify the range of pages to convert (n - first page, m - last page)</b>`pdftoppm -f [n] -l [m] [path/to/file.pdf] [image_name_prefix]`<br><b>Convert only the first page of a PDF</b>`pdftoppm -singlefile [path/to/file.pdf] [image_name_prefix]`<br><b>Generate a monochrome PBM file (instead of a color PPM file)</b>`pdftoppm -mono [path/to/file.pdf] [image_name_prefix]`<br><b>Generate a grayscale PGM file (instead of a color PPM file)</b>`pdftoppm -gray [path/to/file.pdf] [image_name_prefix]`<br><b>Generate a PNG file instead a PPM file</b>`pdftoppm -png [path/to/file.pdf] [image_name_prefix]`


title: TLDR
content:
<b>Launch the GNOME Calculator GUI</b>`gnome-calculator`<br><b>Solve the specified equation without launching the desktop application</b>`gnome-calculator --solve [2^5 * 2 + 5]`<br><b>Display version</b>`gnome-calculator --version`


title: TLDR
content:
<b>Lookup the IP(s) associated with a hostname (A records)</b>`dog [example.com]`<br><b>Query the MX records type associated with a given domain name</b>`dog [example.com] MX`<br><b>Specify a specific DNS server to query (e.g. Cloudflare)</b>`dog [example.com] MX @[1.1.1.1]`<br><b>Query over TCP rather than UDP</b>`dog [example.com] MX @[1.1.1.1] [[-T|--tcp]]`<br><b>Query the MX records type associated with a given domain name over TCP using explicit arguments</b>`dog [[-q|--query]] [example.com] [[-t|--type]] MX [[-n|--nameserver]] [1.1.1.1] [[-T|--tcp]]`<br><b>Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH)</b>`dog [example.com] [[-H|--https]] @[https://cloudflare-dns.com/dns-query]`


title: TLDR
content:
<b>Install the specified assembly into GAC</b>`gacutil -i [path/to/assembly.dll]`<br><b>Uninstall the specified assembly from GAC</b>`gacutil -i [assembly_display_name]`<br><b>Print the content of GAC</b>`gacutil -l`


title: TLDR
content:
<b>Compress a file</b>`zlib-flate < [path/to/input_file] -compress > [path/to/compressed.zlib]`<br><b>Uncompress a file</b>`zlib-flate < [path/to/compressed.zlib] -uncompress > [path/to/output_file]`<br><b>Compress a file with a specified compression level. 0=Fastest (Worst), 9=Slowest (Best)</b>`zlib-flate < [path/to/input_file] -compress=[compression_level] > [path/to/compressed.zlib]`


title: TLDR
content:
<b>Print all URLs found by a Google search</b>`xidel [https://www.google.com/search?q=test] [[-e|--extract]] "//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']"`<br><b>Print the title of all pages found by a Google search and download them</b>`xidel [https://www.google.com/search?q=test] [[-f|--follow]] "[//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']]" [[-e|--extract]] [//title] --download '[{$host}/]'`<br><b>Follow all links on a page and print the titles, with XPath</b>`xidel [https://example.org] [[-f|--follow]] [//a] [[-e|--extract]] [//title]`<br><b>Follow all links on a page and print the titles, with CSS selectors</b>`xidel [https://example.org] [[-f|--follow]] "[css('a')]" --css [title]`<br><b>Follow all links on a page and print the titles, with pattern matching</b>`xidel [https://example.org] [[-f|--follow]] "[<a>{.}</a>*]" [[-e|--extract]] "[<title>{.}</title>]"`<br><b>Read the pattern from example.xml (which will also check if the element containing "ood" is there, and fail otherwise)</b>`xidel [path/to/example.xml] [[-e|--extract]] "[<x><foo>ood</foo><bar>{.}</bar></x>]"`<br><b>Print all newest Stack Overflow questions with title and URL using pattern matching on their RSS feed</b>`xidel [http://stackoverflow.com/feeds] [[-e|--extract]] "[<entry><title>{title:=.}</title><link>{uri:=@href}</link></entry>+]"`<br><b>Check for unread Reddit mail, Webscraping, combining CSS, XPath, JSONiq, and automatically form evaluation</b>`xidel [https://reddit.com] [[-f|--follow]] "[form(css('form.login-form')[1], {'user': '$your_username', 'passwd': '$your_password'})]" [[-e|--extract]] "[css('#mail')/@title]"`


title: TLDR
content:
<b>List all Distrobox containers</b>`distrobox-list`<br><b>List all Distrobox containers with verbose information</b>`distrobox-list [[-v|--verbose]]`


title: TLDR
content:
<b>Enter a Distrobox container</b>`distrobox-enter [container_name]`<br><b>Enter a Distrobox container and run a command at login</b>`distrobox-enter [container_name] -- [sh -l]`<br><b>Enter a Distrobox container without instantiating a tty</b>`distrobox-enter [[-n|--name]] [container_name] -- [uptime --pretty]`


title: TLDR
content:
<b>Show status of Wi-Fi</b>`nmcli [[r|radio]] [[w|wifi]]`<br><b>Turn Wi-Fi on or off</b>`nmcli [[r|radio]] [[w|wifi]] [on|off]`<br><b>Show status of WWAN</b>`nmcli [[r|radio]] [[ww|wwan]]`<br><b>Turn WWAN on or off</b>`nmcli [[r|radio]] [[ww|wwan]] [on|off]`<br><b>Show status of both switches</b>`nmcli [[r|radio]]`<br><b>Turn both switches on or off</b>`nmcli [[r|radio]] [[a|all]] [on|off]`


title: TLDR
content:
<b>Launch the GNOME Software GUI if it's not already running</b>`gnome-software`<br><b>Launch the GNOME Software GUI if it's not open, and navigate to the specified page</b>`gnome-software --mode [updates|updated|installed|overview]`<br><b>Launch the GNOME Software GUI if it's not open and view the details of the specified package</b>`gnome-software --details [package]`<br><b>Display the version</b>`gnome-software --version`


title: TLDR
content:
<b>Remove a Distrobox container (Tip: Stop the container before removing it)</b>`distrobox-rm [container_name]`<br><b>Remove a Distrobox container forcefully</b>`distrobox-rm [container_name] [[-f|--force]]`


title: TLDR
content:
<b>Synchronize the database and list pending updates</b>`checkupdates`<br><b>List pending updates without syncing the database</b>`checkupdates [[-n|--nosync]]`<br><b>Display the list of pending updates if it differs from the last time this option was used</b>`checkupdates [[-c|--change]]`<br><b>List pending updates and download the packages to the pacman cache (/var/cache/pacman/pkg)</b>`checkupdates [[-d|--download]]`<br><b>List pending updates using a specific pacman database</b>`CHECKUPDATES_DB=[path/to/directory] checkupdates`<br><b>Display help</b>`checkupdates [[-h|--help]]`


title: TLDR
content:
<b>Show the greeter while keeping current desktop session open and waiting to be restored upon authentication by logged in user</b>`dm-tool switch-to-greeter`<br><b>Lock the current session</b>`dm-tool lock`<br><b>Switch to a specific user, showing an authentication prompt if required</b>`dm-tool switch-to-user [username] [session]`<br><b>Add a dynamic seat from within a running LightDM session</b>`dm-tool add-seat [xlocal] [name]=[value]`


title: TLDR
content:
<b>Register nmcli as a secret agent and listen for secret requests</b>`nmcli [[a|agent]] [[s|secret]]`<br><b>Register nmcli as a polkit agent and listen for authorization requests</b>`nmcli [[a|agent]] [[p|polkit]]`<br><b>Register nmcli as a secret agent and a polkit agent</b>`nmcli [[a|agent]] [[a|all]]`


title: TLDR
content:
<b>Initialize a basic repository in a directory</b>`createrepo [path/to/directory]`<br><b>Initialize a repository, exclude test RPMs and display verbose logs</b>`createrepo [[-v|--verbose]] [[-x|--excludes]] [test_*.rpm] [path/to/directory]`<br><b>Initialize a repository, using SHA1 as the checksum algorithm, and ignoring symbolic links</b>`createrepo [[-S|--skip-symlinks]] [[-s|--checksum]] [sha1] [path/to/directory]`


title: TLDR
content:
<b>Start Krita</b>`krita`<br><b>Open specific files</b>`krita [path/to/image1 path/to/image2 ...]`<br><b>Start without a splash screen</b>`krita --nosplash`<br><b>Start with a specific workspace</b>`krita --workspace [Animation]`<br><b>Start in fullscreen mode</b>`krita --fullscreen`


title: TLDR
content:
<b>List pending updates for AUR packages</b>`checkupdates-aur`<br><b>List pending updates for AUR packages in debug mode</b>`CHECKUPDATES_DEBUG=1 checkupdates-aur`<br><b>Display help</b>`checkupdates-aur --help`


title: TLDR
content:
<b>Start an interactive session</b>`ispell`<br><b>Check for typos in the specified file and interactively apply suggestions</b>`ispell [path/to/file]`<br><b>Display version</b>`ispell -v`


title: TLDR
content:
<b>Display the number of unsupported packages</b>`ubuntu-security-status`<br><b>List packages that are no longer available for download</b>`ubuntu-security-status --unavailable`<br><b>List third-party packages</b>`ubuntu-security-status --thirdparty`


title: TLDR
content:
<b>Display the status of tracing system</b>`sudo trace-cmd stat`<br><b>List available tracers</b>`sudo trace-cmd list -t`<br><b>Start tracing with a specific plugin</b>`sudo trace-cmd start -p [function|function_graph|preemptirqsoff|irqsoff|preemptoff|wakeup|...]`<br><b>View the trace output</b>`sudo trace-cmd show`<br><b>Stop the tracing but retain the buffers</b>`sudo trace-cmd stop`<br><b>Clear the trace buffers</b>`sudo trace-cmd clear`<br><b>Record a trace</b>`sudo trace-cmd record`<br><b>Display the recorded trace</b>`sudo trace-cmd report`


title: TLDR
content:
<b>List trust policy store items</b>`trust list`<br><b>List information about specific items in the trust policy store</b>`trust list --filter=[blocklist|ca-anchors|certificates|trust-policy]`<br><b>Store a specific trust anchor in the trust policy store</b>`trust anchor [path/to/certificate.crt]`<br><b>Remove a specific anchor from the trust policy store</b>`trust anchor --remove [path/to/certificate.crt]`<br><b>Extract trust policy from the shared trust policy store</b>`trust extract --format=x509-directory --filter=ca-anchors [path/to/directory]`<br><b>Display help for a subcommand</b>`trust [subcommand] --help`


title: TLDR
content:
<b>Play the specified mp3 files</b>`mpg123 [path/to/file1.mp3 path/to/file2.mp3 ...]`<br><b>Play the mp3 from stdin</b>`cat [file.mp3] | mpg123 -`<br><b>Jump forward to the next song</b>`<f>`<br><b>Jump back to the beginning for the song</b>`<b>`<br><b>Stop or replay the current file</b>`<s>`<br><b>Fast forward</b>`<.>`<br><b>Quit</b>`<q>`


title: TLDR
content:
<b>List all audio output and input ports with their IDs</b>`pw-link [[-oiI|--output --input --id]]`<br><b>Create a link between an output and an input port</b>`pw-link [output_port_name] [input_port_name]`<br><b>Disconnect two ports</b>`pw-link [[-d|--disconnect]] [output_port_name] [input_port_name]`<br><b>List all links with their IDs</b>`pw-link [[-lI|--links --id]]`<br><b>Display help</b>`pw-link [[-h|--help]]`


title: TLDR
content:
<b>Create a Distrobox container using the Ubuntu image</b>`distrobox-create [container_name] [[-i|--image]] [ubuntu:latest]`<br><b>Clone a Distrobox container</b>`distrobox-create [[-c|--clone]] [container_name] [cloned_container_name]`


title: TLDR
content:
<b>Start wpm</b>`wpm`<br><b>Start wpm with short texts</b>`wpm --short`<br><b>Start wpm using a specific text file</b>`wpm --load [path/to/file.txt]`<br><b>Tag your race scores</b>`wpm --tag [tag_name]`<br><b>Show score statistics grouped by tags</b>`wpm --stats`<br><b>Start wpm with monochrome colors</b>`wpm --monochrome`


title: TLDR
content:
<b>Print the current state of IVPN, including the connection and firewall status</b>`ivpn status`<br><b>List available servers to connect to</b>`ivpn servers`


title: TLDR
content:
<b>Send a file to a specific node</b>`tailscale file cp [path/to/file] [hostname|ip]:`<br><b>Store files that were sent to the current node into a specific directory</b>`tailscale file get [path/to/directory]`


title: TLDR
content:
<b>Initialize project files (lerna.json, package.json, .git, etc.)</b>`lerna init`<br><b>Install all external dependencies of each package and symlink together local dependencies</b>`lerna bootstrap`<br><b>Run a specific script for every package that contains it in its package.json</b>`lerna run [script]`<br><b>Execute an arbitrary shell command in every package</b>`lerna exec -- [ls]`<br><b>Publish all packages that have changed since the last release</b>`lerna publish`


title: TLDR
content:
<b>Replace a regex in all files of the current directory, ignoring files on .ignore and .gitignore</b>`fastmod [regex] [replacement]`<br><b>Replace a regex in case-insensitive mode in specific files or directories</b>`fastmod --ignore-case [regex] [replacement] -- [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Replace a regex in a specific directory in files filtered with a case-insensitive glob pattern</b>`fastmod [regex] [replacement] --dir [path/to/directory] --iglob '[**/*.{js,json]}'`<br><b>Replace for an exact string in .js or JSON files</b>`fastmod --fixed-strings [exact_string] [replacement] --extensions [json,js]`<br><b>Replace for an exact string without prompt for a confirmation (disables regex)</b>`fastmod --accept-all --fixed-strings [exact_string] [replacement]`<br><b>Replace for an exact string without prompt for a confirmation, printing changed files</b>`fastmod --accept-all --print-changed-files --fixed-strings [exact_string] [replacement]`


title: TLDR
content:
<b>Check the current directory</b>`mh_lint`<br><b>Check a specific directory recursively</b>`mh_lint [path/to/directory]`<br><b>Check a MATLAB file</b>`mh_lint [path/to/file.m]`<br><b>Check an Octave file</b>`mh_lint --octave [path/to/file.m]`


title: TLDR
content:
<b>Search recursively for a pattern in all files in the current directory</b>`rga [regex]`<br><b>List available adapters</b>`rga --rga-list-adapters`<br><b>Change which adapters to use (e.g. ffmpeg, pandoc, poppler etc.)</b>`rga --rga-adapters=[adapter1,adapter2] [regex]`<br><b>Search for a pattern using the mime type instead of the file extension (slower)</b>`rga --rga-accurate [regex]`<br><b>Display help</b>`rga --help`


title: TLDR
content:
<b>Open the current directory in WebStorm</b>`webstorm`<br><b>Open a specific directory in WebStorm</b>`webstorm [path/to/directory]`<br><b>Open specific files in the LightEdit mode</b>`webstorm -e [path/to/file1 path/to/file2 ...]`<br><b>Open and wait until done editing a specific file in the LightEdit mode</b>`webstorm --wait -e [path/to/file]`<br><b>Open a file with the cursor at the specific line</b>`webstorm --line [line_number] [path/to/file]`<br><b>Open and compare files (supports up to 3 files)</b>`webstorm diff [path/to/file1 path/to/file2 path/to/optional_file3]`<br><b>Open and perform a three-way merge</b>`webstorm merge [path/to/left_file] [path/to/right_file] [path/to/target_file]`


title: TLDR
content:
<b>Call the first target specified in the Mkfile (usually named "all")</b>`mk`<br><b>Call a specific target</b>`mk [target]`<br><b>Call a specific target, executing 4 jobs at a time in parallel</b>`NPROC=4 mk [target]`<br><b>Force mking of a target, even if source files are unchanged</b>`mk -w[target] [target]`<br><b>Assume all targets to be out of date. Thus, update target and all of its dependencies</b>`mk -a [target]`<br><b>Keep going as far as possible on error</b>`mk -k`


title: TLDR
content:
<b>Download a video or playlist (with the default options from command below)</b>`yt-dlp "[https://www.youtube.com/watch?v=oHg5SJYRHA0]"`<br><b>List the available downloadable formats for a video</b>`yt-dlp [[-F|--list-formats]] "[https://www.youtube.com/watch?v=oHg5SJYRHA0]"`<br><b>Download a video or playlist using the best MP4 video available (default is "bv\*+ba/b")</b>`yt-dlp [[-f|--format]] "[bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]]" "[https://www.youtube.com/watch?v=oHg5SJYRHA0]"`<br><b>Extract audio from a video (requires ffmpeg or ffprobe)</b>`yt-dlp [[-x|--extract-audio]] "[https://www.youtube.com/watch?v=oHg5SJYRHA0]"`<br><b>Specify audio format and audio quality of extracted audio (between 0 (best) and 10 (worst), default = 5)</b>`yt-dlp [[-x|--extract-audio]] --audio-format [mp3] --audio-quality [0] "[https://www.youtube.com/watch?v=oHg5SJYRHA0]"`<br><b>Download only the second, fourth, fifth, sixth, and last items in a playlist (the first item is 1, not 0)</b>`yt-dlp [[-I|--playlist-items]] 2,4:6,-1 "[https://youtube.com/playlist?list=PLbzoR-pLrL6pTJfLQ3UwtB-3V4fimdqnA]"`<br><b>Download all playlists of a YouTube channel/user keeping each playlist in a separate directory</b>`yt-dlp [[-o|--output]] "[%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s]" "[https://www.youtube.com/user/TheLinuxFoundation/playlists]"`<br><b>Download a Udemy course keeping each chapter in a separate directory</b>`yt-dlp [[-u|--username]] [user] [[-p|--password]] [password] [[-P|--paths]] "[path/to/directory]" [[-o|--output]] "[%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s]" "[https://www.udemy.com/java-tutorial]"`


title: TLDR
content:
<b>Compile the specified files</b>`mcs [path/to/input_file1.cs path/to/input_file2.cs ...]`<br><b>Specify the output program name</b>`mcs -out:[path/to/file.exe] [path/to/input_file1.cs path/to/input_file2.cs ...]`<br><b>Specify the output program type</b>`mcs -target:[exe|winexe|library|module] [path/to/input_file1.cs path/to/input_file2.cs ...]`


title: TLDR
content:
<b>Create a database owned by the current user</b>`createdb [database_name]`<br><b>Create a database owned by a specific user with a description</b>`createdb [[-O|--owner]] [username] [database_name] '[description]'`<br><b>Create a database from a template</b>`createdb [[-T|--template]] [template_name] [database_name]`


title: TLDR
content:
<b>Compare PDFs, indicating changes using return codes (0 = no difference, 1 = PDFs differ)</b>`diff-pdf [path/to/a.pdf] [path/to/b.pdf]`<br><b>Compare PDFs, outputting a PDF with visually highlighted differences</b>`diff-pdf --output-diff=[path/to/diff.pdf] [path/to/a.pdf] [path/to/b.pdf]`<br><b>Compare PDFs, viewing differences in a simple GUI</b>`diff-pdf --view [path/to/a.pdf] [path/to/b.pdf]`


title: TLDR
content:
<b>Lookup errno description by name or code</b>`errno [name|code]`<br><b>List all errno names, codes, and descriptions</b>`errno [[-l|--list]]`<br><b>Search for code whose description contains all of the given text</b>`errno [[-s|--search]] [text]`<br><b>Search for code whose description contains all of the given text (all locales)</b>`errno [[-S|--search-all-locales]] [text]`


title: TLDR
content:
<b>Lookup the IP(s) associated with a hostname (A records)</b>`kdig [example.com]`<br><b>Specify a specific DNS server to query (e.g. Google DNS)</b>`kdig [example.com] @[8.8.8.8]`<br><b>Query a specific DNS record type associated with a given domain name</b>`kdig [example.com] [A|AAAA|NS|SOA|DNSKEY|ANY]`<br><b>Lookup the IP(s) associated with a hostname (A records) using DNS over TLS (DoT)</b>`kdig -d @[8.8.8.8] +tls-ca +tls-host=[dns.google] [example.com]`<br><b>Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH)</b>`kdig -d @[1.1.1.1] +https +tls-hostname=[1dot1dot1dot1.cloudflare-dns.com] [example.com]`


title: TLDR
content:
<b>Generate TOTP token (behaves like Google Authenticator)</b>`oathtool --totp [[-b|--base32]] "[secret]"`<br><b>Generate a TOTP token for a specific time</b>`oathtool --totp [[-N|--now]] "[2004-02-29 16:21:42]" [[-b|--base32]] "[secret]"`<br><b>Validate a TOTP token</b>`oathtool --totp [[-b|--base32]] "[secret]" "[token]"`


title: TLDR
content:
<b>Generate a Go struct from a given XML from stdin and display output on stdout</b>`cat [path/to/input.xml] | zek`<br><b>Generate a Go struct from a given XML from stdin and send output to a file</b>`curl [[-s|--silent]] [https://url/to/xml] | zek -o [path/to/output.go]`<br><b>Generate an example Go program from a given XML from stdin and send output to a file</b>`cat [path/to/input.xml] | zek -p -o [path/to/output.go]`


title: TLDR
content:
<b>Compress a WebP file with default settings (q = 75) to the [o]utput file</b>`cwebp [path/to/image_file] -o [path/to/output.webp]`<br><b>Compress a WebP file with the best [q]uality and largest file size</b>`cwebp [path/to/image_file] -o [path/to/output.webp] -q [100]`<br><b>Compress a WebP file with the worst [q]uality and smallest file size</b>`cwebp [path/to/image_file] -o [path/to/output.webp] -q [0]`<br><b>Compress a WebP file and apply resize to image</b>`cwebp [path/to/image_file] -o [path/to/output.webp] -resize [width] [height]`<br><b>Compress a WebP file and drop alpha channel information</b>`cwebp [path/to/image_file] -o [path/to/output.webp] -noalpha`


title: TLDR
content:
<b>Start and watch the current directory</b>`gow run .`<br><b>Start the application with the specified arguments</b>`gow run . [argument1 argument2 ...]`<br><b>Watch subdirectories in verbose mode</b>`gow -v -w=[path/to/directory1,path/to/directory2,...] run .`<br><b>Watch the specified file extensions</b>`gow -e=[go,html] run .`<br><b>Display help</b>`gow -h`


title: TLDR
content:
<b>Match and rewrite templates, and print changes</b>`comby '[assert_eq!(:[a], :[b])]' '[assert_eq!(:[b], :[a])]' [.rs]`<br><b>Match and rewrite with rewrite properties</b>`comby '[assert_eq!(:[a], :[b])]' '[assert_eq!(:[b].Capitalize, :[a])]' [.rs]`<br><b>Match and rewrite in-place</b>`comby -in-place '[match_pattern]' '[rewrite_pattern]'`<br><b>Only perform matching and print matches</b>`comby -match-only '[match_pattern]' ""`


title: TLDR
content:
<b>Log in using the default web browser with a Vercel account</b>`turbo login`<br><b>Link the current directory to a Vercel organization and enable remote caching</b>`turbo link`<br><b>Build the current project</b>`turbo run build`<br><b>Run a task without concurrency</b>`turbo run [task_name] --concurrency=[1]`<br><b>Run a task ignoring cached artifacts and forcibly re-execute all tasks</b>`turbo run [task_name] --force`<br><b>Run a task in parallel across packages</b>`turbo run [task_name] --parallel --no-cache`<br><b>Unlink the current directory from your Vercel organization and disable Remote Caching</b>`turbo unlink`<br><b>Generate a Dot graph of a specific task execution (the output file format can be controlled with the filename)</b>`turbo run [task_name] --graph=[path/to/file.html|jpg|json|pdf|png|svg]`


title: TLDR
content:
<b>Show a given author's commits from the last 10 days</b>`git standup -a [name|email] -d [10]`<br><b>Show a given author's commits from the last 10 days and whether they are GPG signed</b>`git standup -a [name|email] -d [10] -g`<br><b>Show all the commits from all contributors for the last 10 days</b>`git standup -a all -d [10]`<br><b>Display help</b>`git standup -h`


title: TLDR
content:
<b>Start an HTTP server listening on the default port to serve the current directory</b>`serve`<br><b>Start an HTTP server on a specific [p]ort to serve a specific directory</b>`serve -p [port] [path/to/directory]`<br><b>Start an HTTP server with CORS enabled by including the Access-Control-Allow-Origin: * header in all responses</b>`serve [[-C|--cors]]`<br><b>Start an HTTP server on the default port rewriting all not-found requests to the index.html file</b>`serve [[-s|--single]]`<br><b>Start an HTTPS server on the default port using the specified certificate</b>`serve --ssl-cert [path/to/cert.pem] --ssl-key [path/to/key.pem]`<br><b>Start an HTTP server on the default port using a specific configuration file</b>`serve [[-c|--config]] [path/to/serve.json]`<br><b>Display help</b>`serve --help`


title: TLDR
content:
<b>Log in with interactive prompt</b>`glab auth login`<br><b>Log in with a token</b>`glab auth login [[-t|--token]] [token]`<br><b>Check authentication status</b>`glab auth status`<br><b>Log in to a specific GitLab instance</b>`glab auth login [[-h|--hostname]] [gitlab.example.com]`


title: TLDR
content:
<b>Transform a SVG file into a React component to stdout</b>`svgr -- [path/to/file.svg]`<br><b>Transform a SVG file into a React component using TypeScript to stdout</b>`svgr --typescript -- [path/to/file.svg]`<br><b>Transform a SVG file into a React component using JSX transform to stdout</b>`svgr --jsx-runtime automatic -- [path/to/file.svg]`<br><b>Transform all SVG files from a directory to React components into a specific directory</b>`svgr --out-dir [path/to/output_directory] [path/to/input_directory]`<br><b>Transform all SVG files from a directory to React components into a specific directory skipping already transformed files</b>`svgr --out-dir [path/to/output_directory] --ignore-existing [path/to/input_directory]`<br><b>Transform all SVG files from a directory to React components into a specific directory using a specific case for filenames</b>`svgr --out-dir [path/to/output_directory] --filename-case [camel|kebab|pascal] [path/to/input_directory]`<br><b>Transform all SVG files from a directory to React components into a specific directory without generating an index file</b>`svgr --out-dir [path/to/output_directory] --no-index [path/to/input_directory]`


title: TLDR
content:
<b>Test random reads</b>`fio --filename=[path/to/file] --direct=1 --rw=randread --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=[job_name] --eta-newline=1 --readonly`<br><b>Test sequential reads</b>`fio --filename=[path/to/file] --direct=1 --rw=read --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=[job_name] --eta-newline=1 --readonly`<br><b>Test random read/write</b>`fio --filename=[path/to/file] --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=[job_name] --eta-newline=1`<br><b>Test with parameters from a job file</b>`fio [path/to/job_file]`<br><b>Convert a specific job file to command-line options</b>`fio --showcmd [path/to/job_file]`


title: TLDR
content:
<b>Print the code metrics for the specified files</b>`mh_metric [path/to/file1.m path/to/file2.m ...]`<br><b>Print the code metrics for the specified Octave files</b>`mh_metric --octave [path/to/file1.m path/to/file2.m ...]`<br><b>Print the code metrics for the specified directory recursively</b>`mh_metric [path/to/directory]`<br><b>Print the code metrics for the current directory</b>`mh_metric`<br><b>Print the code metrics report in HTML or JSON format</b>`mh_metric --[html|json] [path/to/output_file]`


title: TLDR
content:
<b>Check all files in the current directory (including subdirectories)</b>`rubocop`<br><b>Check one or more specific files or directories</b>`rubocop [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Write output to file</b>`rubocop --out [path/to/file]`<br><b>View list of cops (linter rules)</b>`rubocop --show-cops`<br><b>Exclude a cop</b>`rubocop --except [cop1 cop2 ...]`<br><b>Run only specified cops</b>`rubocop --only [cop1 cop2 ...]`<br><b>Auto-correct files (experimental)</b>`rubocop --auto-correct`


title: TLDR
content:
<b>Open a prompt to enter an API token and label its context</b>`doctl auth init --context [token_label]`<br><b>List authentication contexts (API tokens)</b>`doctl auth [[ls|list]]`<br><b>Switch contexts (API tokens)</b>`doctl auth switch --context [token_label]`<br><b>Remove a stored authentication context (API token)</b>`doctl auth remove --context [token_label]`<br><b>Show available commands</b>`doctl auth [[-h|--help]]`


title: TLDR
content:
<b>Create a GeoPackage with a layer for each input Shapefile</b>`ogrmerge.py -f [GPKG] -o [path/to/output.gpkg] [path/to/input1.shp path/to/input2.shp ...]`<br><b>Create a virtual datasource (VRT) with a layer for each input GeoJSON</b>`ogrmerge.py -f [VRT] -o [path/to/output.vrt] [path/to/input1.geojson path/to/input2.geojson ...]`<br><b>Concatenate two vector datasets and store source name of dataset in attribute 'source_name'</b>`ogrmerge.py -single -f [GeoJSON] -o [path/to/output.geojson] -src_layer_field_name country [source_name] [path/to/input1.shp path/to/input2.shp ...]`


title: TLDR
content:
<b>Generate client codes when a project is in $GOPATH</b>`kitex [path/to/IDL_file.thrift]`<br><b>Generate client codes when a project is not in $GOPATH</b>`kitex -module [github.com/xx-org/xx-name] [path/to/IDL_file.thrift]`<br><b>Generate client codes with protobuf IDL</b>`kitex -type protobuf [path/to/IDL_file.proto]`<br><b>Generate server codes</b>`kitex -service [svc_name] [path/to/IDL_file.thrift]`


title: TLDR
content:
<b>Create a volume</b>`docker volume create [volume_name]`<br><b>Create a volume with a specific label</b>`docker volume create --label [label] [volume_name]`<br><b>Create a tmpfs volume a size of 100 MiB and an uid of 1000</b>`docker volume create [[-o|--opt]] [type]=[tmpfs] [[-o|--opt]] [device]=[tmpfs] [[-o|--opt]] [o]=[size=100m,uid=1000] [volume_name]`<br><b>List all volumes</b>`docker volume ls`<br><b>Remove a volume</b>`docker volume rm [volume_name]`<br><b>Display information about a volume</b>`docker volume inspect [volume_name]`<br><b>Remove all unused local volumes</b>`docker volume prune`<br><b>Display help for a subcommand</b>`docker volume [subcommand] --help`


title: TLDR
content:
<b>Update the changelog file and tag a release</b>`standard-version`<br><b>Tag a release without bumping the version</b>`standard-version --first-release`<br><b>Update the changelog and tag an alpha release</b>`standard-version --prerelease alpha`<br><b>Update the changelog and tag a specific release type</b>`standard-version --release-as [major|minor|patch]`<br><b>Tag a release, preventing hooks from being verified during the commit step</b>`standard-version --no-verify`<br><b>Tag a release committing all staged changes, not just files affected by standard-version</b>`standard-version --commit-all`<br><b>Update a specific changelog file and tag a release</b>`standard-version --infile [path/to/file.md]`<br><b>Display the release that would be performed without performing them</b>`standard-version --dry-run`


title: TLDR
content:
<b>Start the GUI</b>`maestral gui`<br><b>Print current status of Maestral</b>`maestral status`<br><b>Pause syncing</b>`maestral pause`<br><b>Resume syncing</b>`maestral resume`<br><b>Print sync status of a specific file or folder</b>`maestral filestatus [path/to/file_or_directory]`


title: TLDR
content:
<b>Execute a command without sharing access to connected networks</b>`unshare [[-n|--net]] [command] [command_arguments]`<br><b>Execute a command as a child process without sharing mounts, processes, or networks</b>`unshare [[-m|--mount]] [[-i|--pid]] [[-n|--net]] [[-f|--fork]] [command] [command_arguments]`


title: TLDR
content:
<b>Update debtap database (before the first run)</b>`sudo debtap [[-u|--update]]`<br><b>Convert the specified package</b>`debtap [path/to/package.deb]`<br><b>Convert the specified package bypassing all questions, except for editing metadata files</b>`debtap [[-q|--quiet]] [path/to/package.deb]`<br><b>Generate a PKGBUILD file</b>`debtap [[-p|--pkgbuild]] [path/to/package.deb]`


title: TLDR
content:
<b>Update the year (range) to include the current year for the specified files</b>`mh_copyright --primary-entity="[entity]" --update-year [path/to/file_or_directory1.m path/to/file_or_director2.m ...]`<br><b>Update the year (range) to include the current year for all files</b>`mh_copyright --primary-entity="[entity]" --update-year`


title: TLDR
content:
<b>Print media information about a specific media on the web</b>`you-get [[-i|--info]] [https://example.com/video?id=value]`<br><b>Download a media from a specific URL</b>`you-get [https://example.com/video?id=value]`<br><b>Search on Google Videos and download</b>`you-get [keywords]`<br><b>Download a media to a specific location</b>`you-get [[-o|--output-dir]] [path/to/directory] [[-O|--output-filename]] [filename] [https://example.com/watch?v=value]`<br><b>Download a media using a proxy</b>`you-get [[-x|--http-proxy]] [proxy_server] [https://example.com/watch?v=value]`


title: TLDR
content:
<b>Install a global tool (don't use --global for local tools)</b>`dotnet tool install [[-g|--global]] [dotnetsay]`<br><b>Install tools defined in the local tool manifest</b>`dotnet tool restore`<br><b>Update a specific global tool (don't use --global for local tools)</b>`dotnet tool update [[-g|--global]] [tool_name]`<br><b>Uninstall a global tool (don't use --global for local tools)</b>`dotnet tool uninstall [[-g|--global]] [tool_name]`<br><b>List installed global tools (don't use --global for local tools)</b>`dotnet tool list [[-g|--global]]`<br><b>Search tools in NuGet</b>`dotnet tool search [search_term]`<br><b>Display help</b>`dotnet tool [[-h|--help]]`


title: TLDR
content:
<b>Initialize gt for the repository in the current directory</b>`gt init`<br><b>Create a new branch stacked on top of the current branch and commit staged changes</b>`gt create [branch_name]`<br><b>Create a new commit and fix upstack branches</b>`gt modify -cam [commit_message]`<br><b>Force push all branches in the current stack to GitHub and create or update PRs</b>`gt stack submit`<br><b>Checkout different branch (prompts interactive mode when branch name is omitted)</b>`gt co [branch_name]`<br><b>Sync stack with remote version (also deletes merged branches)</b>`gt sync`<br><b>Log all tracked stacks</b>`gt log short`<br><b>Display help for a specified subcommand</b>`gt [subcommand] --help`


title: TLDR
content:
<b>Run query against a BigQuery table using standard SQL, add --dry_run flag to estimate the number of bytes read by the query</b>`bq query --nouse_legacy_sql 'SELECT COUNT(*) FROM [DATASET_NAME].[TABLE_NAME]'`<br><b>Run a parameterized query</b>`bq query --use_legacy_sql=false --parameter='ts_value:TIMESTAMP:2016-12-07 08:00:00' 'SELECT TIMESTAMP_ADD(@ts_value, INTERVAL 1 HOUR)'`<br><b>Create a new dataset or table in the US location</b>`bq mk --location=US [dataset_name].[table_name]`<br><b>List all datasets in a project</b>`bq ls --filter labels.[key]:[value] --max_results [integer] --format=prettyjson --project_id [project_id]`<br><b>Batch load data from a specific file in formats such as CSV, JSON, Parquet, and Avro to a table</b>`bq load --location [location] --source_format [CSV|JSON|PARQUET|AVRO] [dataset].[table] [path_to_source]`<br><b>Copy one table to another</b>`bq cp [dataset].[OLD_TABLE] [dataset].[new_table]`<br><b>Display help</b>`bq help`


title: TLDR
content:
<b>Start SpeedCrunch</b>`speedcrunch`<br><b>Copy the result of the most recent calculation</b>`<Ctrl r>`<br><b>Open the formula book</b>`<Ctrl 1>`<br><b>Clear the calculator of recent calculations</b>`<Ctrl n>`<br><b>Wrap highlighted in parentheses (defaults to wrapping all if nothing selected)</b>`<Ctrl p>`<br><b>Load a speedcrunch session</b>`<Ctrl l>`<br><b>Save a speedcrunch session</b>`<Ctrl s>`<br><b>Toggle keypad</b>`<Ctrl k>`


title: TLDR
content:
<b>Index the /usr directory, writing to the default database location ~/.duc.db</b>`duc index [/usr]`<br><b>List all files and directories under /usr/local, showing relative file sizes in a graph</b>`duc ls [[-Fg|--classify --graph]] [/usr/local]`<br><b>List all files and directories under /usr/local using treeview recursively</b>`duc ls [[-Fg|--classify --graph]] [[-R|--recursive]] [/usr/local]`<br><b>Start the graphical interface to explore the file system using sunburst graphs</b>`duc gui [/usr]`<br><b>Run the ncurses console interface to explore the file system</b>`duc ui [/usr]`<br><b>Dump database info</b>`duc info`


title: TLDR
content:
<b>Open the current user home directory</b>`caja`<br><b>Open specific directories in separate windows</b>`caja [path/to/directory1 path/to/directory2 ...]`<br><b>Open specific directories in tabs</b>`caja [[-t|--tabs]] [path/to/directory1 path/to/directory2 ...]`<br><b>Open a directory with a specific window size</b>`caja [[-g|--geometry]] [600]x[400] [path/to/directory]`<br><b>Close all windows</b>`caja [[-q|--quit]]`


title: TLDR
content:
<b>Check a system for rootkits and malware</b>`sudo rkhunter --check`<br><b>Update rkhunter</b>`sudo rkhunter --update`<br><b>Print all available tests</b>`sudo rkhunter --list`<br><b>Display version</b>`sudo rkhunter --versioncheck`<br><b>Display help</b>`sudo rkhunter --help`


title: TLDR
content:
<b>Search files containing a specific string in their name in a specific directory</b>`mate-search-tool --named=[string] --path=[path/to/directory]`<br><b>Search files without waiting a user confirmation</b>`mate-search-tool --start --named=[string] --path=[path/to/directory]`<br><b>Search files with name matching a specific regex</b>`mate-search-tool --start --regex=[string] --path=[path/to/directory]`<br><b>Set a sorting order in search results</b>`mate-search-tool --start --named=[string] --path=[path/to/directory] --sortby=[name|folder|size|type|date]`<br><b>Set a descending sorting order</b>`mate-search-tool --start --named=[string] --path=[path/to/directory] --descending`<br><b>Search files owned by a specific user/group</b>`mate-search-tool --start --[user|group]=[value] --path=[path/to/directory]`


title: TLDR
content:
<b>Open a dialog box displaying a specific message</b>`kdialog --msgbox "[message]" "[optional_detailed_message]"`<br><b>Open a question dialog with a yes and no button, returning 0 and 1, respectively</b>`kdialog --yesno "[message]"`<br><b>Open a warning dialog with a yes, no, and cancel button, returning 0, 1, or 2 respectively</b>`kdialog --warningyesnocancel "[message]"`<br><b>Open an input dialog box and print the input to stdout when OK is pressed</b>`kdialog --inputbox "[message]" "[optional_default_text]"`<br><b>Open a dialog to prompt for a specific password and print it to stdout</b>`kdialog --password "[message]"`<br><b>Open a dialog containing a specific dropdown menu and print the selected item to stdout</b>`kdialog --combobox "[message]" "[item1]" "[item2]" "[...]"`<br><b>Open a file chooser dialog and print the selected file's path to stdout</b>`kdialog --getopenfilename`<br><b>Open a progressbar dialog and print a D-Bus reference for communication to stdout</b>`kdialog --progressbar "[message]"`


title: TLDR
content:
<b>Start the calculator</b>`mate-calc`<br><b>Calculate a specific mathematic expression</b>`mate-calc --solve [2 + 5]`


title: TLDR
content:
<b>Start Drawing</b>`drawing`<br><b>Open specific files</b>`drawing [path/to/image1 path/to/image2 ...]`<br><b>Open specific files in a new window</b>`drawing --new-window [path/to/image1 path/to/image2 ...]`


title: TLDR
content:
<b>Create a fullscreen screenshot</b>`mate-screenshot`<br><b>Create an active window screenshot</b>`mate-screenshot --window`<br><b>Create a specific area screenshot</b>`mate-screenshot --area`<br><b>Create a screenshot interactively</b>`mate-screenshot --interactive`<br><b>Create a screenshot without borders</b>`mate-screenshot --window --remove-border`<br><b>Create a screenshot with a specific effect</b>`mate-screenshot --effect=[shadow|border|none]`<br><b>Create a screenshot with a specific delay in seconds</b>`mate-screenshot --delay=[5]`


title: TLDR
content:
<b>Print information of all object of a specific type</b>`pw-cli [[ls|list-objects]] [Node|Link|Port|Client|Device|Metadata|Factory|Module|Profiler|SecurityContext|Core]`<br><b>Print information about an object with a specific ID</b>`pw-cli [[i|info]] [4]`<br><b>Print all objects' information</b>`pw-cli [[i|info]] all`<br><b>Monitor for object changes</b>`pw-cli [[-m|--monitor]]`<br><b>Display help</b>`pw-cli [[h|help]]`


title: TLDR
content:
<b>Start an interactive calculator session</b>`mate-calc-cmd`<br><b>Calculate a specific mathematic expression</b>`[2 + 5]`


title: TLDR
content:
<b>List login failures of the current user</b>`faillock`<br><b>Reset the failure records of the current user</b>`faillock --reset`<br><b>List login failures of all users</b>`sudo faillock`<br><b>List login failures of the specified user</b>`sudo faillock --user [user]`<br><b>Reset the failure records of the specified user</b>`sudo faillock --user [user] --reset`


title: TLDR
content:
<b>Increase/decrease the backlight by a specific percent count</b>`backlight_control [+|-][5]`<br><b>Set the backlight strength to a specific percent count</b>`backlight_control [90]`<br><b>Display help</b>`backlight_control`


title: TLDR
content:
<b>Turn on the "Locate" LED for specified device(s)</b>`sudo ledctl locate=[/dev/sda,/dev/sdb,...]`<br><b>Turn off the "Locate" LED for specified device(s)</b>`sudo ledctl locate_off=[/dev/sda,/dev/sdb,...]`<br><b>Turn off the "Status" LED and "Failure" LED for specified device(s)</b>`sudo ledctl off=[/dev/sda,/dev/sdb,...]`<br><b>Turn off the "Status" LED, "Failure" LED and "Locate" LED for specified device(s)</b>`sudo ledctl normal=[/dev/sda,/dev/sdb,...]`


title: TLDR
content:
<b>Start Engrampa</b>`engrampa`<br><b>Open specific archives</b>`engrampa [path/to/archive1.tar path/to/archive2.tar ...]`<br><b>Archive specific files and/or directories recursively</b>`engrampa --add-to=[path/to/compressed.tar] [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Extract files and/or directories from archives to a specific path</b>`engrampa --extract-to=[path/to/directory] [path/to/archive1.tar path/to/archive2.tar ...]`


title: TLDR
content:
<b>Start the editor</b>`pluma`<br><b>Open specific documents</b>`pluma [path/to/file1 path/to/file2 ...]`<br><b>Open documents using a specific encoding</b>`pluma --encoding [WINDOWS-1252] [path/to/file1 path/to/file2 ...]`<br><b>Print all supported encodings</b>`pluma --list-encodings`<br><b>Open document and go to a specific line</b>`pluma +[10] [path/to/file]`


title: TLDR
content:
<b>Show the current [s]tatus of a specific [a]dapter</b>`wondershaper -s -a [adapter_name]`<br><b>Clear limits from a specific [a]dapter</b>`wondershaper -c -a [adapter_name]`<br><b>Set a specific maximum [d]ownload rate (in Kbps)</b>`wondershaper -a [adapter_name] -d [1024]`<br><b>Set a specific maximum [u]pload rate (in Kbps)</b>`wondershaper -a [adapter_name] -u [512]`<br><b>Set a specific maximum [d]ownload rate and [u]pload rate (in Kpbs)</b>`wondershaper -a [adapter_name] -d [1024] -u [512]`<br><b>Display [h]elp</b>`wondershaper -h`


title: TLDR
content:
<b>Display available interfaces</b>`dumpcap [[-D|--list-interfaces]]`<br><b>Capture packets on a specific interface</b>`dumpcap [[-i|--interface]] [1]`<br><b>Capture packets to a specific location</b>`dumpcap [[-i|--interface]] [1] -w [path/to/output_file.pcapng]`<br><b>Write to a ring buffer with a specific max file limit of a specific size</b>`dumpcap [[-i|--interface]] [1] -w [path/to/output_file.pcapng] [[-b|--ring-buffer]] filesize:[500000] [[-b|--ring-buffer]] files:[10]`


title: TLDR
content:
<b>Display a file with syntax highlighting</b>`rich [path/to/file.py]`<br><b>Add line numbers, and indentation guides</b>`rich [path/to/file.py] --line-numbers --guides`<br><b>Apply a theme</b>`rich [path/to/file.py] --theme [monokai]`<br><b>Display a file in an interactive pager</b>`rich [path/to/file.py] --pager`<br><b>Display contents from a URL</b>`rich [https://raw.githubusercontent.com/Textualize/rich-cli/main/README.md] --markdown --pager`<br><b>Export a file as HTML</b>`rich [path/to/file.md] --export-html [path/to/file.html]`<br><b>Display text with formatting tags, custom alignment, and line width</b>`rich --print "[Hello [green on black]Stylized[/green on black] [bold]World[/bold]]" --[left|center|right] --width [10]`


title: TLDR
content:
<b>Print a specific word definition</b>`mate-dictionary --no-window --look-up '[word]'`<br><b>Show similar words for a specific one in a new window</b>`mate-dictionary --match '[word]'`


title: TLDR
content:
<b>Install an application to the desktop menu system</b>`xdg-desktop-menu install [path/to/file.desktop]`<br><b>Install an application to the desktop menu system with the vendor prefix check disabled</b>`xdg-desktop-menu install --novendor [path/to/file.desktop]`<br><b>Uninstall an application from the desktop menu system</b>`xdg-desktop-menu uninstall [path/to/file.desktop]`<br><b>Force an update of the desktop menu system</b>`xdg-desktop-menu forceupdate --mode [user|system]`


title: TLDR
content:
<b>Change the password for a specific user</b>`printf "[username]:[new_password]" | sudo chpasswd`<br><b>Change the passwords for multiple users (The input text must not contain any spaces.)</b>`printf "[username_1]:[new_password_1]\n[username_2]:[new_password_2]" | sudo chpasswd`<br><b>Change the password for a specific user, and specify it in encrypted form</b>`printf "[username]:[new_encrypted_password]" | sudo chpasswd --encrypted`<br><b>Change the password for a specific user, and use a specific encryption for the stored password</b>`printf "[username]:[new_password]" | sudo chpasswd --crypt-method [NONE|DES|MD5|SHA256|SHA512]`


title: TLDR
content:
<b>Swap <LeftClick> and <RightCLick> on the pointer</b>`xmodmap -e 'pointer = 3 2 1'`<br><b>Reassign a key on the keyboard to another key</b>`xmodmap -e 'keycode [keycode] = [keyname]'`<br><b>Disable a key on the keyboard</b>`xmodmap -e 'keycode [keycode] ='`<br><b>Execute all xmodmap expressions in the specified file</b>`xmodmap [path/to/file]`


title: TLDR
content:
<b>Start the editor</b>`xed`<br><b>Open specific files</b>`xed [path/to/file1 path/to/file2 ...]`<br><b>Open files using a specific encoding</b>`xed --encoding [WINDOWS-1252] [path/to/file1 path/to/file2 ...]`<br><b>Print all supported encodings</b>`xed --list-encodings`<br><b>Open a file and go to a specific line</b>`xed +[10] [path/to/file]`


title: TLDR
content:
<b>Install a specific package</b>`sudo eopkg install [package]`<br><b>Update all packages</b>`sudo eopkg upgrade`<br><b>Search for packages</b>`sudo eopkg search [search_term]`


title: TLDR
content:
<b>Display the status of the most recent cloud-init run</b>`cloud-init status`<br><b>Wait for cloud-init to finish running and then report status</b>`cloud-init status --wait`<br><b>List available top-level metadata keys to query</b>`cloud-init query --list-keys`<br><b>Query cached instance metadata for data</b>`cloud-init query [dot_delimited_variable_path]`<br><b>Clean logs and artifacts to allow cloud-init to rerun</b>`cloud-init clean`


title: TLDR
content:
<b>List all currently tracked connections</b>`conntrack [[-L|--dump]]`<br><b>Display a real-time event log of connection changes</b>`conntrack [[-E|--event]]`<br><b>Display a real-time event log of connection changes and associated timestamps</b>`conntrack [[-E|--event]] [[-o|--output]] timestamp`<br><b>Display a real-time event log of connection changes for a specific IP address</b>`conntrack [[-E|--event]] [[-s|--orig-src]] [ip_address]`<br><b>Delete all flows for a specific source IP address</b>`conntrack [[-D|--delete]] [[-s|--orig-src]] [ip_address]`


title: TLDR
content:
<b>List all namespaces</b>`lsns`<br><b>List namespaces in JSON format</b>`lsns [[-J|--json]]`<br><b>List namespaces associated with the specified process</b>`lsns [[-p|--task]] [pid]`<br><b>List the specified type of namespaces only</b>`lsns [[-t|--type]] [mnt|net|ipc|user|pid|uts|cgroup|time]`<br><b>List namespaces, only showing the namespace ID, type, PID, and command</b>`lsns [[-o|--output]] [NS,TYPE,PID,COMMAND]`


title: TLDR
content:
<b>Print statistics about configured subvolumes and snapshots</b>`sudo btrbk stats`<br><b>List configured subvolumes and snapshots</b>`sudo btrbk list`<br><b>Print what would happen in a run without making the displayed changes</b>`sudo btrbk [[-v|--verbose]] dryrun`<br><b>Run backup routines verbosely, show progress bar</b>`sudo btrbk --progress [[-v|--verbose]] run`<br><b>Only create snapshots for configured subvolumes</b>`sudo btrbk snapshot`


title: TLDR
content:
<b>List CPUs</b>`sudo cpupower [[-c|--cpu]] [all] info`<br><b>Print information about all cores</b>`sudo cpupower [[-c|--cpu]] [all] info`<br><b>Set all CPUs to a power-saving frequency governor</b>`sudo cpupower [[-c|--cpu]] [all] frequency-set --governor [powersave]`<br><b>Print CPU 0's available frequency governors</b>`sudo cpupower [[-c|--cpu]] [0] frequency-info [[-g|--governors]] | grep "analyzing\|governors"`<br><b>Print CPU 4's frequency from the hardware, in a human-readable format</b>`sudo cpupower [[-c|--cpu]] [4] frequency-info [[-w|--hwfreq]] [[-m|--human]]`


title: TLDR
content:
<b>Open the current directory</b>`vifm .`<br><b>Open specified directories on left or right plane</b>`vifm [path/to/directory1 path/to/directory2 ...]`


title: TLDR
content:
<b>Bind a hotkey to a specific command</b>`bindkey "[^k]" [kill-line]`<br><b>Bind a hotkey to a specific key [s]equence</b>`bindkey -s '^o' 'cd ..\n'`<br><b>[l]ist keymaps</b>`bindkey -l`<br><b>View the hotkey in a key[M]ap</b>`bindkey -M main`


title: TLDR
content:
<b>Create a database</b>`sqlite-utils create-database [path/to/database.db]`<br><b>Create a table</b>`sqlite-utils create-table [path/to/database.db] [table_name] [id integer name text height float photo blob --pk id]`<br><b>List tables</b>`sqlite-utils tables [path/to/database.db]`<br><b>Upsert a record</b>`[echo '[ {"id": 1, "name": "Linus Torvalds"}, {"id": 2, "name": "Steve Wozniak"}, {"id": 3, "name": "Tony Hoare"} ]'] | sqlite-utils upsert [path/to/database.db] [table_name] - [--pk id]`<br><b>Select records</b>`sqlite-utils rows [path/to/database.db] [table_name]`<br><b>Delete a record</b>`sqlite-utils query [path/to/database.db] "[delete from table_name where name = 'Tony Hoare']"`<br><b>Drop a table</b>`sqlite-utils drop-table [path/to/database.db] [table_name]`<br><b>Display help</b>`sqlite-utils [[-h|--help]]`


title: TLDR
content:
<b>Remove files or directories from specified locations and place them in the graveyard</b>`rip [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Interactively remove files or directories, with a prompt before every removal</b>`rip --inspect [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>List all files and directories in the graveyard that were originally within the current directory</b>`rip --seance`<br><b>Permanently delete every file and directory in the graveyard</b>`rip --decompose`<br><b>Put back the files and directories which were affected by the most recent removal</b>`rip --unbury`<br><b>Put back every file and directory that is listed by rip --seance</b>`rip --seance --unbury`


title: TLDR
content:
<b>Link a specific object file with no dependencies into an executable</b>`ld [path/to/file.o] [[-o|--output]] [path/to/output_executable]`<br><b>Link two object files together</b>`ld [path/to/file1.o] [path/to/file2.o] [[-o|--output]] [path/to/output_executable]`<br><b>Dynamically link an x86_64 program to glibc (file paths change depending on the system)</b>`ld [[-o|--output]] [path/to/output_executable] [[-I|--dynamic-linker]] /lib/ld-linux-x86-64.so.2 /lib/crt1.o /lib/crti.o -lc [path/to/file.o] /lib/crtn.o`


title: TLDR
content:
<b>Show available commands and flags</b>`hcloud`<br><b>Display help</b>`hcloud -h`<br><b>Show available commands and flags for hcloud contexts</b>`hcloud context`


title: TLDR
content:
<b>Clear the terminal screen</b>`wipeclean`<br><b>Set the animation speed in frames per second (defaults to 150)</b>`wipeclean --speed [speed]`


title: TLDR
content:
<b>View documentation for the command runner</b>`tldr just.1`<br><b>View documentation for the V8 JavaScript runtime</b>`tldr just.js`


title: TLDR
content:
<b>Update Bash-it to the latest stable/development version</b>`bash-it update [stable|dev]`<br><b>Reload Bash profile (set BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE to non-empty value for an automatic reload)</b>`bash-it reload`<br><b>Restart Bash</b>`bash-it restart`<br><b>Reload Bash profile with enabled error and warning logging</b>`bash-it doctor`<br><b>Reload Bash profile with enabled error/warning/entire logging</b>`bash-it doctor [errors|warnings|all]`<br><b>Search for Bash-it aliases/plugins/completions</b>`bash-it search [alias|plugin|completion]`<br><b>Search for Bash-it aliases/plugins/completions and enable/disable all found items</b>`bash-it search --[enable|disable] [alias|plugin|completion]`


title: TLDR
content:
<b>Start the synchronization process</b>`isisdl`<br><b>Limit the download rate to 20 MiB/s and download with 5 threads</b>`isisdl --download-rate [20] --max-num-threads [5]`<br><b>Run the initialization configuration wizard</b>`isisdl --init`<br><b>Run the additional configuration wizard</b>`isisdl --config`<br><b>Initiate a full synchronization of the database and compute the checksum of every file</b>`isisdl --sync`<br><b>Start ffmpeg to compress downloaded videos</b>`isisdl --compress`


title: TLDR
content:
<b>Generate TMS tiles for the zoom levels 2 to 5 of a raster dataset</b>`gdal2tiles.py --zoom 2-5 [path/to/input.tif] [path/to/output_directory]`<br><b>Generate XYZ tiles for the zoom levels 2 to 5 of a raster dataset</b>`gdal2tiles.py --zoom 2-5 --xyz [path/to/input.tif] [path/to/output_directory]`


title: TLDR
content:
<b>Sign into a Fly account</b>`flyctl auth login`<br><b>Launch an application from a specific Dockerfile (the default path is the current working directory)</b>`flyctl launch --dockerfile [path/to/dockerfile]`<br><b>Open the current deployed application in the default web browser</b>`flyctl open`<br><b>Deploy the Fly applications from a specific Dockerfile</b>`flyctl deploy --dockerfile [path/to/dockerfile]`<br><b>Open the Fly Web UI for the current application in a web browser</b>`flyctl dashboard`<br><b>List all applications in the logged-in Fly account</b>`flyctl apps list`<br><b>View the status of a specific running application</b>`flyctl status --app [app_name]`<br><b>Display version information</b>`flyctl version`


title: TLDR
content:
<b>Tag a specific file with multiple tags</b>`tmsu tag [path/to/file.mp3] [music] [big-jazz] [mp3]`<br><b>Tag multiple files</b>`tmsu tag --tags "[music mp3]" [*.mp3]`<br><b>List tags of specified file(s)</b>`tmsu tags [*.mp3]`<br><b>List files with specified tag(s)</b>`tmsu files [big-jazz] [music]`<br><b>List files with tags matching boolean expression</b>`tmsu files "[(year >= 1990 and year <= 2000)] and [grunge]"`<br><b>Mount tmsu virtual filesystem to an existing directory</b>`tmsu mount [path/to/directory]`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b>`ptpython`<br><b>Execute a specific Python file</b>`ptpython [path/to/file.py]`<br><b>Execute a specific Python file and start a REPL</b>`ptpython [[-i|--interactive]] [path/to/file.py]`<br><b>Open the menu</b>`<F2>`<br><b>Open the history page</b>`<F3>`<br><b>Toggle paste mode</b>`<F6>`<br><b>Quit</b>`<Ctrl d>`


title: TLDR
content:
<b>Start a query TUI to search files in the current directory recursively (<Ctrl z> for help)</b>`ugrep [[-Q|--query]]`<br><b>Search the current directory recursively for files containing a regex search pattern</b>`ugrep "[search_pattern]"`<br><b>Search in a specific file or in all files in a specific directory, showing line numbers of matches</b>`ugrep [[-n|--line-number]] "[search_pattern]" [path/to/file_or_directory]`<br><b>Search in all files in the current directory recursively and print the name of each matching file</b>`ugrep [[-l|--files-with-matches]] "[search_pattern]"`<br><b>Fuzzy search files with up to 3 extra, missing or mismatching characters in the pattern</b>`ugrep [[-Z|--fuzzy=]][3] "[search_pattern]"`<br><b>Also search compressed files, Zip and tar archives recursively</b>`ugrep [[-z|--decompress]] "[search_pattern]"`<br><b>Search only files whose filenames match a specific glob pattern</b>`ugrep [[-g |--glob=]]"[glob_pattern]" "[search_pattern]"`<br><b>Search only C++ source files (use --file-type=list to list all file types)</b>`ugrep [[-t |--file-type=]]cpp "[search_pattern]"`


title: TLDR
content:
<b>Download a prebuilt binary for the current system from a repository on GitHub</b>`eget [zyedidia/micro]`<br><b>Download from a URL</b>`eget [https://go.dev/dl/go1.17.5.linux-amd64.tar.gz]`<br><b>Specify the location to place the downloaded files</b>`eget [zyedidia/micro] --to=[path/to/directory]`<br><b>Specify a Git tag instead of using the latest version</b>`eget [zyedidia/micro] --tag=[v2.0.10]`<br><b>Install the latest pre-release instead of the latest stable version</b>`eget [zyedidia/micro] --pre-release`<br><b>Only download the asset, skipping extraction</b>`eget [zyedidia/micro] --download-only`<br><b>Only download if there is a newer release then the currently downloaded version</b>`eget [zyedidia/micro] --upgrade-only`


title: TLDR
content:
<b>Print the default web browser</b>`xdg-settings get [default-web-browser]`<br><b>Set the default web browser to Firefox</b>`xdg-settings set [default-web-browser] [firefox.desktop]`<br><b>Set the default mail URL scheme handler to Evolution</b>`xdg-settings set [default-url-scheme-handler] [mailto] [evolution.desktop]`<br><b>Set the default PDF document viewer</b>`xdg-settings set [pdf-viewer.desktop]`<br><b>Display help</b>`xdg-settings --help`


title: TLDR
content:
<b>List accessible devices</b>`duf`<br><b>List everything (such as pseudo, duplicate or inaccessible file systems)</b>`duf --all`<br><b>Only show specified devices or mount points</b>`duf [path/to/directory1 path/to/directory2 ...]`<br><b>Sort the output by a specified criteria</b>`duf --sort [size|used|avail|usage]`<br><b>Show or hide specific filesystems</b>`duf --[only-fs|hide-fs] [tmpfs|vfat|ext4|xfs]`<br><b>Sort the output by key</b>`duf --sort [mountpoint|size|used|avail|usage|inodes|inodes_used|inodes_avail|inodes_usage|type|filesystem]`<br><b>Change the theme (if duf fails to use the right theme)</b>`duf --theme [dark|light]`


title: TLDR
content:
<b>Deliver a standard test email to user@example.com on port 25 of test-server.example.net</b>`swaks [[-t|--to]] [user@example.com] [[-s|--server]] [test-server.example.net]`<br><b>Deliver a standard test email, requiring CRAM-MD5 authentication as user me@example.com. An "X-Test" header will be added to the email body</b>`swaks [[-t|--to]] [user@example.com] [[-f|--from]] [me@example.com] [[-a|--auth]] [CRAM-MD5] [[-au|--auth-user]] [me@example.com] --header-X-Test "[test_email]"`<br><b>Test a virus scanner using EICAR in an attachment. Don't show the message DATA part</b>`swaks [[-t|--to]] [user@example.com] --attach - [[-s|--server]] [test-server.example.com] [[-n|--suppress-data]] [path/to/eicar.txt]`<br><b>Test a spam scanner using GTUBE in the body of an email, routed via the MX records for example.com</b>`swaks [[-t|--to]] [user@example.com] --body [path/to/gtube_file]`<br><b>Deliver a standard test email to user@example.com using the LMTP protocol via a UNIX domain socket file</b>`swaks [[-t|--to]] [user@example.com] --socket [/var/lda.sock] --protocol [LMTP]`


title: TLDR
content:
<b>Show the general status of NetworkManager</b>`nmcli [[g|general]]`<br><b>Show the hostname of the current device</b>`nmcli [[g|general]] [[h|hostname]]`<br><b>Change the hostname of the current device</b>`sudo nmcli [[g|general]] [[h|hostname]] [new_hostname]`<br><b>Show the permissions of NetworkManager</b>`nmcli [[g|general]] [[p|permissions]]`<br><b>Show the current logging level and domains</b>`nmcli [[g|general]] [[l|logging]]`<br><b>Set the logging level and/or domains (see man NetworkManager.conf for all available domains)</b>`sudo nmcli [[g|general]] [[l|logging]] [[l|level]] [INFO|OFF|ERR|WARN|DEBUG|TRACE] domain [domain_1,domain_2,...]`


title: TLDR
content:
<b>Install BetterDiscord on Discord Stable</b>`sudo betterdiscordctl install`<br><b>Install BetterDiscord on Discord Canary</b>`sudo betterdiscordctl [[-f|--d-flavors]] canary install`<br><b>Install BetterDiscord on Discord PTB</b>`sudo betterdiscordctl [[-f|--d-flavors]] ptb install`<br><b>Install BetterDiscord on Discord installed with Flatpak</b>`sudo betterdiscordctl [[-i|--d-install]] flatpak install`<br><b>Install BetterDiscord on Discord installed with Snap</b>`sudo betterdiscordctl [[-i|--d-install]] snap install`


title: TLDR
content:
<b>Print information about the current raspberry pi EEPROM installed</b>`sudo rpi-eeprom-update`<br><b>Update a raspberry pi EEPROM</b>`sudo rpi-eeprom-update -a`<br><b>Cancel the pending update</b>`sudo rpi-eeprom-update -r`<br><b>Display help</b>`rpi-eeprom-update -h`


title: TLDR
content:
<b>Create a 2-up PDF</b>`pdfxup [[-o|--output]] [path/to/output.pdf] [path/to/input.pdf]`<br><b>Create a PDF with 3 columns and 2 lines per page</b>`pdfxup [[-x|--columns]] [3] [[-y|--rows]] [2] [[-o|--output]] [path/to/output.pdf] [path/to/input.pdf]`<br><b>Create a PDF in booklet mode (2-up, and pages are sorted to form a book when folded)</b>`pdfxup [[-b|--booklet]] [[-o|--output]] [path/to/output.pdf] [path/to/input.pdf]`


title: TLDR
content:
<b>Print memory usage for current processes</b>`smem`<br><b>Print memory usage for current processes for a every user on a system</b>`smem --users`<br><b>Print memory usage for current processes for a specified user</b>`smem --userfilter [username]`<br><b>Print system memory information</b>`smem --system`


title: TLDR
content:
<b>Show the networking status of NetworkManager</b>`nmcli [[n|networking]]`<br><b>Enable or disable networking and all interfaces managed by NetworkManager</b>`nmcli [[n|networking]] [on|off]`<br><b>Show the last known connectivity state</b>`nmcli [[n|networking]] [[c|connectivity]]`<br><b>Show the current connectivity state</b>`nmcli [[n|networking]] [[c|connectivity]] [[c|check]]`


title: TLDR
content:
<b>Advertise/Disable SSH on the host</b>`tailscale up --ssh=[true|false]`<br><b>SSH to a specific host which has Tailscale-SSH enabled</b>`tailscale ssh [username]@[host]`


title: TLDR
content:
<b>Check if the cert-manager API is ready</b>`cmctl check api`<br><b>Check the status of a certificate</b>`cmctl status certificate [cert_name]`<br><b>Create a new certificate request based on an existing certificate</b>`cmctl create certificaterequest my-cr --from-certificate-file [cert.yaml]`<br><b>Create a new certificate request, fetch the signed certificate, and set a maximum wait time</b>`cmctl create certificaterequest my-cr --from-certificate-file [cert.yaml] --fetch-certificate --timeout [20m]`


title: TLDR
content:
<b>List all profiles</b>`nyxt --list-data-profiles`<br><b>Set the init.lisp file path</b>`nyxt --init [path/to/file]`<br><b>Change the path to the auto-config file</b>`nyxt --auto-config [path/to/file]`<br><b>Print system information</b>`nyxt --system-information`


title: TLDR
content:
<b>Create a vector dataset with contour lines spread over an 100-meter [i]nterval while [a]ttributing the elevation property as "ele"</b>`gdal_contour -a [ele] -i [100.0] [path/to/input.tif] [path/to/output.gpkg]`<br><b>Create a vector dataset with [p]olygons spread over an 100-meter [i]nterval</b>`gdal_contour -i [100.0] -p [path/to/input.tif] [path/to/output.gpkg]`


title: TLDR
content:
<b>Add the latest version of a dependency to the current project</b>`cargo add [dependency]`<br><b>Add a specific version of a dependency</b>`cargo add [dependency]@[version]`<br><b>Add a dependency and enable one or more specific features</b>`cargo add [dependency] [[-F|--features]] [feature_1],[feature_2]`<br><b>Add an optional dependency, which then gets exposed as a feature of the crate</b>`cargo add [dependency] --optional`<br><b>Add a local crate as a dependency</b>`cargo add --path [path/to/crate_directory]`<br><b>Add a development or build dependency</b>`cargo add [dependency] --[dev|build]`<br><b>Add a dependency with all default features disabled</b>`cargo add [dependency] --no-default-features`


title: TLDR
content:
<b>List all kubernetes pods (Ready and NotReady)</b>`crictl pods`<br><b>List all containers (Running and Exited)</b>`crictl ps [[-a|--all]]`<br><b>List all images</b>`crictl images`<br><b>Print information about specific containers</b>`crictl inspect [container_id1 container_id2 ...]`<br><b>Open a specific shell inside a running container</b>`crictl exec [[-it|--interactive --tty]] [container_id] [sh]`<br><b>Pull a specific image from a registry</b>`crictl pull [image:tag]`<br><b>Print and follow logs of a specific container</b>`crictl logs [[-f|--follow]] [container_id]`<br><b>Remove one or more images</b>`crictl rmi [image_id1 image_id2 ...]`


title: TLDR
content:
<b>Invoke configuration/reconfiguration tool</b>`s3cmd --configure`<br><b>List Buckets/Folders/Objects</b>`s3cmd ls s3://[bucket|path/to/file]`<br><b>Create Bucket/Folder</b>`s3cmd mb s3://[bucket]`<br><b>Download a specific file from a bucket</b>`s3cmd get s3://[bucket_name]/[path/to/file] [path/to/local_file]`<br><b>Upload a file to a bucket</b>`s3cmd put [local_file] s3://[bucket]/[file]`<br><b>Move an object to a specific bucket location</b>`s3cmd mv s3://[src_bucket]/[src_object] s3://[dst_bucket]/[dst_object]`<br><b>Delete a specific object</b>`s3cmd rm s3://[bucket]/[object]`


title: TLDR
content:
<b>Write the MIT license to a file named LICENSE</b>`licensor [MIT] > [LICENSE]`<br><b>Write the MIT license with a placeholder copyright notice to a file named LICENSE</b>`licensor [[-p|--keep-placeholder]] [MIT] > [LICENSE]`<br><b>Specify a copyright holder named Bobby Tables</b>`licensor [MIT] "[Bobby Tables]" > [LICENSE]`<br><b>Specify license exceptions with a WITH expression</b>`licensor "[Apache-2.0 WITH LLVM-exception]" > [LICENSE]`<br><b>List all available licenses</b>`licensor [[-l|--licenses]]`<br><b>List all available exceptions</b>`licensor [[-e|--exceptions]]`


title: TLDR
content:
<b>Create a new ern application (MiniApp)</b>`ern create-miniapp [application_name]`<br><b>Run one or more MiniApps in the iOS/Android Runner application</b>`ern run-[ios|android]`<br><b>Create an Electrode Native container</b>`ern create-container --miniapps /[path/to/miniapp_directory] --platform [ios|android]`<br><b>Publish an Electrode Native container to a local Maven repository</b>`ern publish-container --publisher [maven] --platform [android] --extra '[{"groupId":"com.walmart.ern","artifactId":"quickstart"]}'`<br><b>Transform an iOS container into a pre-compiled binary framework</b>`ern transform-container --platform [ios] --transformer [xcframework]`<br><b>List all installed versions of Electrode Native</b>`ern platform versions`<br><b>Set a logging level</b>`ern platform config set logLevel [trace|debug]`


title: TLDR
content:
<b>Search anime by name</b>`ani-cli "[anime_title]"`<br><b>Download an episode</b>`ani-cli [[-d|--download]] "[anime_title]"`<br><b>Download a range of episodes</b>`ani-cli [[-d|--download]] [[-r|--range]] "[1 6]" "[anime_title]"`<br><b>Download the entire series (a range of all episodes)</b>`ani-cli [[-d|--download]] [[-r|--range]] "1 -1" "[anime_title]"`<br><b>Use VLC as the media player</b>`ani-cli [[-v|-vlc]] "[anime_title]"`<br><b>Watch a specific episode</b>`ani-cli [[-e|--episode]] [episode_number] "[anime_title]"`<br><b>Continue watching anime from history</b>`ani-cli [[-c|--continue]]`<br><b>Update ani-cli</b>`ani-cli [[-U|--update]]`


title: TLDR
content:
<b>Create a new project</b>`quarto create-project [path/to/destination_directory] --type [book|default|website]`<br><b>Create a new blog website</b>`quarto create-project [path/to/destination_directory] --type [website] --template [blog]`<br><b>Render input file(s) to different formats</b>`quarto render [path/to/file.[qmd|rmd|ipynb]] --to [html|pdf|docx]`<br><b>Render and preview a document or a website</b>`quarto preview [path/to/destination_directory|path/to/file]`<br><b>Publish a document or project to Quarto Pub, Github Pages, RStudio Connect or Netlify</b>`quarto publish [quarto-pub|gh-pages|connect|netlify]`


title: TLDR
content:
<b>List all supported raster formats</b>`gdalinfo --formats`<br><b>List information about a specific raster dataset</b>`gdalinfo [path/to/input.tif]`<br><b>List information about a specific raster dataset in JSON format</b>`gdalinfo -json [path/to/input.tif]`<br><b>Show histogram values of a specific raster dataset</b>`gdalinfo -hist [path/to/input.tif]`<br><b>List information about a Web Map Service (WMS)</b>`gdalinfo WMS:[https://services.meggsimum.de/geoserver/ows]`<br><b>List information about a specific dataset of a Web Map Service (WMS)</b>`gdalinfo WMS:[https://services.meggsimum.de/geoserver/ows] -sd [4]`


title: TLDR
content:
<b>Update the list of available packages and versions</b>`deb-get update`<br><b>Search for a given package</b>`deb-get search [package]`<br><b>Show information about a package</b>`deb-get show [package]`<br><b>Install a package, or update it to the latest available version</b>`deb-get install [package]`<br><b>Remove a package (using purge instead also removes its configuration files)</b>`deb-get remove [package]`<br><b>Upgrade all installed packages to their newest available versions</b>`deb-get upgrade`<br><b>List all available packages</b>`deb-get list`


title: TLDR
content:
<b>Set the currently focused window opacity to a specific percentage</b>`picom-trans --current --opacity [90]`<br><b>Set the opacity of a window with a specific name</b>`picom-trans --name [Firefox] --opacity [90]`<br><b>Set the opacity of a specific window selected via mouse cursor</b>`picom-trans --select --opacity [90]`<br><b>Toggle the opacity of a specific window</b>`picom-trans --name [Firefox] --toggle`


title: TLDR
content:
<b>Execute a command over SSH</b>`pyinfra [target_ip_address] exec -- [command_name_and_arguments]`<br><b>Execute contents of a deploy file on a list of targets</b>`pyinfra [path/to/target_list.py] [path/to/deploy.py]`<br><b>Execute commands on locally</b>`pyinfra @local [path/to/deploy.py]`<br><b>Execute commands over Docker</b>`pyinfra @docker/[container] [path/to/deploy.py]`


title: TLDR
content:
<b>Decode an adc file to wav. (Default output name is input.wav)</b>`vgmstream_cli [path/to/input.adc] -o [path/to/output.wav]`<br><b>Print metadata without decoding the audio</b>`vgmstream_cli [path/to/input.adc] -m`<br><b>Decode an audio file without loops</b>`vgmstream_cli [path/to/input.adc] -o [path/to/output.wav] -i`<br><b>Decode with three loops, then add a 3s delay followed by a 5s fadeout</b>`vgmstream_cli [path/to/input.adc] -o [path/to/output.wav] -l [3.0] -f [5.0] -d [3.0]`<br><b>Convert multiple files to bgm_(original name).wav (Default -o pattern is ?f.wav)</b>`vgmstream_cli -o [path/to/bgm_?f.wav] [path/to/file1.adc path/to/file2.adc ...]`<br><b>Play the file looping endlessly (channels and rate must match metadata)</b>`vgmstream_cli [path/to/input.adc] -pec | aplay --format cd --channels [1] --rate [44100]`


title: TLDR
content:
<b>Convert a raster dataset to JPEG format</b>`gdal_translate -of [JPEG] [path/to/input.tif] [path/to/output.jpeg]`<br><b>Assign a projection to a raster dataset</b>`gdal_translate -a_srs [EPSG:4326] [path/to/input.tif] [path/to/output.tif]`<br><b>Reduce the size of a raster dataset to a specific fraction</b>`gdal_translate -outsize [40%] [40%] [path/to/input.tif] [path/to/output.tif]`<br><b>Convert a GeoTiff to a Cloud Optimized GeoTiff</b>`gdal_translate [path/to/input.tif] [path/to/output.tif] -of COG -co COMPRESS=LZW`


title: TLDR
content:
<b>Download and run rustup-init to install rustup and the default Rust toolchain</b>`curl https://sh.rustup.rs [[-sSf|--silent --show-error --fail]] | sh -s`<br><b>Download and run rustup-init and pass arguments to it</b>`curl https://sh.rustup.rs [[-sSf|--silent --show-error --fail]] | sh -s -- [arguments]`<br><b>Run rustup-init and specify additional components or targets to install</b>`rustup-init.sh --target [target] --component [component]`<br><b>Run rustup-init and specify the default toolchain to install</b>`rustup-init.sh --default-toolchain [toolchain]`<br><b>Run rustup-init and do not install any toolchain</b>`rustup-init.sh --default-toolchain [none]`<br><b>Run rustup-init and specify an installation profile</b>`rustup-init.sh --profile [minimal|default|complete]`<br><b>Run rustup-init without asking for confirmation</b>`rustup-init.sh -y`


title: TLDR
content:
<b>Initialize a new documentation in the current directory</b>`docsify init`<br><b>Initialize a new documentation in the specified directory</b>`docsify init [path/to/directory]`<br><b>Serve local documentation on localhost:3000 with live reload</b>`docsify serve [path/to/directory]`<br><b>Serve local documentation on localhost at the specified port</b>`docsify serve --port [80] [path/to/directory]`<br><b>Generate a sidebar markdown file in the specified directory</b>`docsify generate [path/to/directory]`


title: TLDR
content:
<b>Display logs in real time</b>`varnishlog`<br><b>Only display requests to a specific domain</b>`varnishlog -q 'ReqHeader eq "Host: [example.com]"'`<br><b>Only display POST requests</b>`varnishlog -q 'ReqMethod eq "[POST]"'`<br><b>Only display requests to a specific path</b>`varnishlog -q 'ReqURL eq "/[path]"'`<br><b>Only display requests to paths matching a regex</b>`varnishlog -q 'ReqURL ~ "[regex]"'`


title: TLDR
content:
<b>List all keys for TeX Live</b>`tlmgr key list`<br><b>Add a key from a specific file</b>`sudo tlmgr key add [path/to/key.gpg]`<br><b>Add a key from stdin</b>`cat [path/to/key.gpg] | sudo tlmgr key add -`<br><b>Remove a specific key by its ID</b>`sudo tlmgr key remove [key_id]`


title: TLDR
content:
<b>Run a command as a daemon</b>`daemon --name="[name]" [command]`<br><b>Run a command as a daemon which will restart if the command crashes</b>`daemon --name="[name]" [[-r|--respawn]] [command]`<br><b>Run a command as a daemon which will restart if it crashes, with two attempts every 10 seconds</b>`daemon --name="[name]" [[-r|--respawn]] --attempts=2 --delay=10 [command]`<br><b>Run a command as a daemon, writing logs to a specific file</b>`daemon --name="[name]" --errlog=[path/to/file.log] [command]`<br><b>Kill a daemon (SIGTERM)</b>`daemon --name="[name]" --stop`<br><b>List daemons</b>`daemon --list`


title: TLDR
content:
<b>Initialize a running toolbox</b>`toolbox init-container --gid [gid] --home [home] --home-link --media-link --mnt-link --monitor-host --shell [shell] --uid [uid] --user [user]`


title: TLDR
content:
<b>Run a command inside a specific toolbox container</b>`toolbox run [[-c|--container]] [container_name] [command]`<br><b>Run a command inside a toolbox container for a specific release of a distribution</b>`toolbox run [[-d|--distro]] [distribution] [[-r|--release]] [release] [command]`<br><b>Run emacs inside a toolbox container using the default image for a specific Fedora release</b>`toolbox run [[-d|--distro]] [fedora] [[-r|--release]] f[version] [emacs]`


title: TLDR
content:
<b>Set up a device to boot with GRUB</b>`grub-bios-setup [/dev/sdX]`<br><b>Install even if problems are detected</b>`grub-bios-setup [[-f|--force]] [/dev/sdX]`<br><b>Install GRUB in a specific directory</b>`grub-bios-setup [[-d|--directory]] [/boot/grub] [/dev/sdX]`


title: TLDR
content:
<b>List all toolbox containers and images</b>`toolbox list`<br><b>List only toolbox containers</b>`toolbox list [[-c|--containers]]`<br><b>List only toolbox images</b>`toolbox list [[-i|--images]]`


title: TLDR
content:
<b>Remove one or more toolbox image</b>`toolbox rmi [image_name1 image_name2 ...]`<br><b>Remove all toolbox images</b>`toolbox rmi [[-a|--all]]`<br><b>Force the removal of a toolbox image which is currently being used by a container (the container will be removed as well)</b>`toolbox rmi [[-f|--force]] [image_name]`


title: TLDR
content:
<b>Open termusic to a specific directory. (It can be set permanently in ~/.config/termusic/config.toml)</b>`termusic [path/to/directory]`<br><b>Disable showing the album cover for a specific file</b>`termusic -c [path/to/music_file]`<br><b>Display help</b>`termusic --help`


title: TLDR
content:
<b>Show rpm-ostree deployments in the order they will appear in the bootloader</b>`rpm-ostree status`<br><b>Show packages which are outdated and can be updated</b>`rpm-ostree upgrade --preview`<br><b>Prepare a new ostree deployment with upgraded packages and reboot into it</b>`rpm-ostree upgrade [[-r|--reboot]]`<br><b>Reboot into the previous ostree deployment</b>`rpm-ostree rollback [[-r|--reboot]]`<br><b>Install a package into a new ostree deployment and reboot into it</b>`rpm-ostree install [package] [[-r|--reboot]]`


title: TLDR
content:
<b>Display the toolbox manual</b>`toolbox help`<br><b>Display the toolbox manual for a specific subcommand</b>`toolbox help [subcommand]`


title: TLDR
content:
<b>Run a toolbox subcommand</b>`toolbox [subcommand]`<br><b>Display help for a specific subcommand (such as create, enter, rm, rmi, etc.)</b>`toolbox help [subcommand]`<br><b>Display help</b>`toolbox [[-h|--help]]`<br><b>Display version</b>`toolbox --version`


title: TLDR
content:
<b>Start in the menu mode</b>`retroarch`<br><b>Start in full screen mode</b>`retroarch --fullscreen`<br><b>List all compiled features</b>`retroarch --features`<br><b>Set the path of a configuration file</b>`retroarch --config=[path/to/config_file]`<br><b>Display help</b>`retroarch --help`<br><b>Display version</b>`retroarch --version`


title: TLDR
content:
<b>Create a toolbox container for a specific distribution</b>`toolbox create [[-d|--distro]] [distribution]`<br><b>Create a toolbox container for a specific release of the current distribution</b>`toolbox create [[-r|--release]] [release]`<br><b>Create a toolbox container with a custom image</b>`toolbox create [[-i|--image]] [name]`<br><b>Create a toolbox container from a custom Fedora image</b>`toolbox create [[-i|--image]] [quay.io/fedora/fedora:tag]`<br><b>Create a toolbox container using the default image for a specific Fedora release</b>`toolbox create [[-d|--distro]] [fedora] [[-r|--release]] f[version]`


title: TLDR
content:
<b>Enter a toolbox container using the default image of a specific distribution</b>`toolbox enter [[-d|--distro]] [distribution]`<br><b>Enter a toolbox container using the default image of a specific release of the current distribution</b>`toolbox enter [[-r|--release]] [release]`<br><b>Enter a toolbox container using the default image for a specific Fedora release</b>`toolbox enter [[-d|--distro]] [fedora] [[-r|--release]] f[version]`


title: TLDR
content:
<b>Remove a toolbox container</b>`toolbox rm [container_name]`<br><b>Remove all toolbox containers</b>`toolbox rm [[-a|--all]]`<br><b>Force the removal of a currently active toolbox container</b>`toolbox rm [[-f|--force]] [container_name]`


title: TLDR
content:
<b>List all available backup revisions for all packages</b>`tlmgr restore`<br><b>List all available backup revisions for a specific package</b>`tlmgr restore [package]`<br><b>Restore a specific revision of a specific package</b>`tlmgr restore [package] [revision]`<br><b>Restore the latest revision of all backed-up packages</b>`tlmgr restore --all`<br><b>Restore a package from a custom backup directory</b>`tlmgr restore [package] [revision] --backupdir [path/to/backup_directory]`<br><b>Perform a dry-run and print all taken actions without making them</b>`tlmgr restore --dry-run [package] [revision]`


title: TLDR
content:
<b>View the documentation for the command referring to the latest, cross-platform version of PowerShell (version 6 and above)</b>`tldr pwsh`<br><b>View the documentation for the command referring to the legacy Windows PowerShell (version 5.1 and below)</b>`tldr powershell [[-p|--platform]] windows`


title: TLDR
content:
<b>Run a specific test plan in nongui mode</b>`jmeter --nongui --testfile [path/to/file.jmx]`<br><b>Run a test plan in nongui mode using a specific log file</b>`jmeter --nogui --testfile [path/to/file.jmx] --logfile [path/to/logfile.jtl]`<br><b>Run a test plan in nongui mode using a specific proxy</b>`jmeter --nongui --testfile [path/to/file.jmx] --proxyHost [127.0.0.1] --proxyPort [8888]`<br><b>Run a test plan in nongui mode using a specific JMeter property</b>`jmeter --jmeterproperty [key]='[value]' --nongui --testfile [path/to/file.jmx]`


title: TLDR
content:
<b>Recursively search the current directory for a pattern and cache it</b>`vgrep [search_pattern]`<br><b>Display the contents of the cache</b>`vgrep`<br><b>Open the "4th" match from the cache in the default editor</b>`vgrep [[-s|--show]] [4]`<br><b>Display a context of "3" lines for each match in the cache</b>`vgrep [[-s|--show]] [[c|context]][3]`<br><b>Display the number of matches for each directory in the tree</b>`vgrep [[-s|--show]] [[t|tree]]`<br><b>Display the number of matches for each file in the tree</b>`vgrep [[-s|--show]] [[f|files]]`<br><b>Start an interactive shell with cached matches</b>`vgrep [[-i|--interactive]]`


title: TLDR
content:
<b>List all configured repositories and their tags (if set)</b>`tlmgr repository list`<br><b>List all packages available in a specific repository</b>`tlmgr repository list [path|url|tag]`<br><b>Add a new repository with a specific tag (the tag is not required)</b>`sudo tlmgr repository add [path|url] [tag]`<br><b>Remove a specific repository</b>`sudo tlmgr repository remove [path|url|tag]`<br><b>Set a new list of repositories, overwriting the previous list</b>`sudo tlmgr repository set [path|url|tag]#[tag] [path|url|tag]#[tag] [...]`<br><b>Show the verification status of all configured repositories</b>`tlmgr repository status`


title: TLDR
content:
<b>Align sequences to user provided reference, outputting the alignment to a file</b>`nextclade run [path/to/sequences.fa] [[-r|--input-ref]] [path/to/reference.fa] [[-o|--output-fasta]] [path/to/alignment.fa]`<br><b>Create a TSV report, auto-downloading the latest dataset</b>`nextclade run [path/to/fasta] [[-d|--dataset-name]] [dataset_name] [[-t|--output-tsv]] [path/to/report.tsv]`<br><b>List all available datasets</b>`nextclade dataset list`<br><b>Download the latest SARS-CoV-2 dataset</b>`nextclade dataset get [[-n|--name]] sars-cov-2 [[-o|--output-dir]] [path/to/directory]`<br><b>Use a downloaded dataset, producing all outputs</b>`nextclade run [[-D|--input-dataset]] [path/to/dataset_directory] [[-O|--output-all]] [path/to/output_directory] [path/to/sequences.fasta]`<br><b>Run on multiple files</b>`nextclade run [[-d|--dataset-name]] [dataset_name] [[-t|--output-tsv]] [path/to/output_tsv] -- [path/to/input_fasta_1 path/to/input_fasta_2 ...]`<br><b>Try reverse complement if sequence does not align</b>`nextclade run --retry-reverse-complement [[-d|--dataset-name]] [dataset_name] [[-t|--output-tsv]] [path/to/output_tsv] [path/to/input_fasta]`


title: TLDR
content:
<b>Reproject a raster dataset</b>`gdalwarp -t_srs [EPSG:4326] [path/to/input.tif] [path/to/output.tif]`<br><b>Crop a raster dataset by using specific coordinates</b>`gdalwarp -te [min_x] [min_y] [max_x] [max_y] -te_srs [EPSG:4326] [path/to/input.tif] [path/to/output.tif]`<br><b>Crop a raster dataset using a vector layer</b>`gdalwarp -cutline [path/to/area_to_cut.geojson] -crop_to_cutline [path/to/input.tif] [path/to/output.tif]`


title: TLDR
content:
<b>Generate an image from a specific source file</b>`silicon [path/to/source_file] [[-o|--output]] [path/to/output_image]`<br><b>Generate an image from a source file with a specific programming language syntax highlighting (e.g. rust, py, js, etc.)</b>`silicon [path/to/source_file] [[-o|--output]] [path/to/output_image] [[-l|--language]] [language|extension]`<br><b>Generate an image from stdin</b>`[command] | silicon [[-o|--output]] [path/to/output_image]`


title: TLDR
content:
<b>Block a specific IP</b>`flarectl firewall rules create --zone="[example.com]" --value="[8.8.8.8]" --mode="[block]" --notes="[Block bad actor]"`<br><b>Add a DNS record</b>`flarectl dns create --zone="[example.com]" --name="[app]" --type="[CNAME]" --content="[myapp.herokuapp.com]" --proxy`<br><b>List all Cloudflare IPv4/IPv6 ranges</b>`flarectl ips --ip-type [ipv4|ipv6|all]`<br><b>Create many new Cloudflare zones automatically with names from domains.txt</b>`for domain in $(cat [domains.txt]); do flarectl zone info --zone=$domain; done`<br><b>List all firewall rules</b>`flarectl firewall rules list`


title: TLDR
content:
<b>Install, update, or remove specific plugins</b>`grafana-cli plugins [install|update|remove] [plugin_id1 plugin_id2 ...]`<br><b>List all installed plugins</b>`grafana-cli plugins ls`


title: TLDR
content:
<b>Interactively pick a specific option to print to stdout</b>`gum choose ["option1" "option2" "..."]`<br><b>Open an interactive prompt for the user to input a string with a specific placeholder</b>`gum input --placeholder "[value]"`<br><b>Open an interactive confirmation prompt and exit with either <0> or <1></b>`gum confirm "[Continue?]" --default=false --affirmative "[Yes]" --negative "[No]" [&& echo "Yes selected" || echo "No selected"]`<br><b>Show a spinner while a command is taking place with text alongside</b>`gum spin [[-s|--spinner]] [dot|line|minidot|jump|pulse|points|globe|moon|monkey|meter|hamburger] --title "[loading...]" [command]`<br><b>Format text to include emojis</b>`gum format [[-t|--type]] [emoji] "[:smile: :heart: hello]"`<br><b>Interactively prompt for multi-line text and write the input to a file</b>`gum write > [path/to/file]`


title: TLDR
content:
<b>Show the current TeX Live configuration</b>`tlmgr conf`<br><b>Show the current texmf, tlmgr, or updmap configuration</b>`tlmgr conf [texmf|tlmgr|updmap]`<br><b>Show only a specific configuration option</b>`tlmgr conf [texmf|tlmgr|updmap] [configuration_key]`<br><b>Set a specific configuration option</b>`tlmgr conf [texmf|tlmgr|updmap] [configuration_key] [value]`<br><b>Delete a specific configuration option</b>`tlmgr conf [texmf|tlmgr|updmap] --delete [configuration_key]`<br><b>Disable the execution of system calls via \write18</b>`tlmgr conf texmf [shell_escape] [0]`<br><b>Show all additional texmf trees</b>`tlmgr conf auxtrees show`


title: TLDR
content:
<b>Find out where your local DNS got the information on www.example.com</b>`dnstracer [www.example.com]`<br><b>Start with a [s]pecific DNS that you already know</b>`dnstracer -s [dns.example.org] [www.example.com]`<br><b>Only query IPv[4] servers</b>`dnstracer -4 [www.example.com]`<br><b>[r]etry each request 5 times on failure</b>`dnstracer -r [5] [www.example.com]`<br><b>Display all steps during execution</b>`dnstracer -v [www.example.com]`<br><b>Display an [o]verview of all received answers after execution</b>`dnstracer -o [www.example.com]`


title: TLDR
content:
<b>Start an X session</b>`startx`<br><b>Start an X session with a predefined depth value</b>`startx -- -depth [value]`<br><b>Start an X session with a predefined dpi value</b>`startx -- -dpi [value]`<br><b>Override the settings in the .xinitrc file and start a new X session</b>`startx /[path/to/window_manager_or_desktop_environment]`


title: TLDR
content:
<b>Display the size of sections in a given object or executable file</b>`size [path/to/file]`<br><b>Display the size of sections in a given object or executable file in [o]ctal</b>`size [[-o|--radix=8]] [path/to/file]`<br><b>Display the size of sections in a given object or executable file in [d]ecimal</b>`size [[-d|--radix=10]] [path/to/file]`<br><b>Display the size of sections in a given object or executable file in he[x]adecimal</b>`size [[-x|--radix=16]] [path/to/file]`


title: TLDR
content:
<b>Get capabilities for the given files</b>`getcap [path/to/file1 path/to/file2 ...]`<br><b>Get capabilities for all the files recursively under the given directories</b>`getcap -r [path/to/directory1 path/to/directory2 ...]`<br><b>Display all searched entries even if no capabilities are set</b>`getcap -v [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>Compare two files, uncompressing them if necessary</b>`zdiff [path/to/file1.gz] [path/to/file2.gz]`<br><b>Compare a file to a gzip archive with the same name</b>`zdiff [path/to/file]`


title: TLDR
content:
<b>Look for patterns in the database (recomputed periodically)</b>`plocate [pattern]`<br><b>Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as *pattern*)</b>`plocate */[filename]`


title: TLDR
content:
<b>Generate a configuration script from configure.ac (if present) or configure.in and save this script to configure</b>`autoconf`<br><b>Generate a configuration script from the specified template; output to stdout</b>`autoconf [template-file]`<br><b>Generate a configuration script from the specified template (even if the input file has not changed) and write the output to a file</b>`autoconf [[-f|--force]] [[-o|--output]] [outfile] [template-file]`


title: TLDR
content:
<b>Recompress a file from .Z to gzip format</b>`znew [path/to/file1.Z]`<br><b>Recompress multiple files and display the achieved size reduction % per file</b>`znew -v [path/to/file1.Z path/to/file2.Z ...]`<br><b>Recompress a file using the slowest compression method (for optimal compression)</b>`znew -9 [path/to/file1.Z]`<br><b>Recompress a file, [K]eeping the .Z file if it is smaller than the gzip file</b>`znew -K [path/to/file1.Z]`


title: TLDR
content:
<b>Move a specific file to the trash</b>`trash [path/to/file]`<br><b>Move specific files to the trash</b>`trash [path/to/file1 path/to/file2 ...]`<br><b>List items in the trash</b>`trash list`<br><b>Restore a specific file from the trash</b>`trash restore [file]`<br><b>Remove a specific file from the trash</b>`trash empty [file]`<br><b>Restore all files from the trash</b>`trash restore --all`<br><b>Remove all files from the trash</b>`trash empty --all`


title: TLDR
content:
<b>Send a GET request</b>`curlie [httpbin.org/get]`<br><b>Send a POST request</b>`curlie post [httpbin.org/post] [name=john] [age:=25]`<br><b>Send a GET request with query parameters (e.g. first_param=5&second_param=true)</b>`curlie get [httpbin.org/get] [first_param==5] [second_param==true]`<br><b>Send a GET request with a custom header</b>`curlie get [httpbin.org/get] [header-name:header-value]`


title: TLDR
content:
<b>Delete a snapshot</b>`qm [[del|delsnapshot]] [vm_id] [snapshot_name]`<br><b>Delete a snapshot from a configuration file (even if removing the disk snapshot fails)</b>`qm [[del|delsnapshot]] [vm_id] [snapshot_name] --force 1`


title: TLDR
content:
<b>Reset a specific key value</b>`dconf reset /[path/to/key]`<br><b>Reset a specific directory</b>`dconf reset -f /[path/to/directory]/`


title: TLDR
content:
<b>Send a file or directories</b>`qrcp send [path/to/file_or_directory1 path/to/file_directory2 ...]`<br><b>Receive files</b>`qrcp receive`<br><b>Compress content before transferring</b>`qrcp send --zip [path/to/file_or_directory]`<br><b>Use a specific port</b>`qrcp [send|receive] [[-p|--port]] [port_number]`<br><b>Use a specific network interface</b>`qrcp [send|receive] [[-i|--interface]] [interface]`<br><b>Keep the server alive</b>`qrcp [send|receive] --keep-alive`


title: TLDR
content:
<b>Print the completion options for given command</b>`compopt [command]`<br><b>Enable or disable a completion option of a command</b>`compopt [-o|+o] [option1] [-o|+o] [option2] [command]`<br><b>Print the options for the currently executing completion</b>`compopt`<br><b>Enable or disable a completion option of a command</b>`compopt [-o|+o] [option1] [-o|+o] [option2]`


title: TLDR
content:
<b>Generate with wal's palette and the current wallpaper (feh only)</b>`wal-telegram`<br><b>Generate with wal's palette and a specified background image</b>`wal-telegram --background=[path/to/image]`<br><b>Generate with wal's palette and a colored background based on the palette</b>`wal-telegram --tiled`<br><b>Apply a gaussian blur on the background image</b>`wal-telegram -g`<br><b>Specify a location for the generated theme (default is $XDG_CACHE_HOME/wal-telegram or ~/.cache/wal-telegram)</b>`wal-telegram --destination=[path/to/destination]`<br><b>Restart the telegram app after generation</b>`wal-telegram --restart`


title: TLDR
content:
<b>Scan for subdomains using the internal wordlist</b>`dnsmap [example.com]`<br><b>Specify a list of subdomains to check for</b>`dnsmap [example.com] -w [path/to/wordlist.txt]`<br><b>Store results to a CSV file</b>`dnsmap [example.com] -c [path/to/file.csv]`<br><b>Ignore 2 IPs that are false positives (up to 5 possible)</b>`dnsmap [example.com] -i [123.45.67.89,98.76.54.32]`


title: TLDR
content:
<b>Visit a website</b>`links [https://example.com]`<br><b>Apply restrictions for anonymous account</b>`links -anonymous [https://example.com]`<br><b>Enable Cookies (1 to enable)</b>`links -enable-cookies [0|1] [https://example.com]`<br><b>Navigate forwards and backwards through the links on a page</b>`[<ArrowUp>|<ArrowDown>]`<br><b>Go forwards and backwards one page</b>`[<ArrowLeft>|<ArrowRight>]`<br><b>Exit</b>`<q><y>`


title: TLDR
content:
<b>Display A (default) record from DNS for hostname(s)</b>`adig [example.com]`<br><b>Display extra [d]ebugging output</b>`adig -d [example.com]`<br><b>Connect to a specific DNS [s]erver</b>`adig -s [1.2.3.4] [example.com]`<br><b>Use a specific TCP port to connect to a DNS server</b>`adig -T [port] [example.com]`<br><b>Use a specific UDP port to connect to a DNS server</b>`adig -U [port] [example.com]`


title: TLDR
content:
<b>Run warpd in normal mode</b>`warpd --normal`<br><b>Run warpd in hint mode</b>`warpd --hint`<br><b>Move cursor left</b>`<h>`<br><b>Move cursor down</b>`<j>`<br><b>Move cursor up</b>`<k>`<br><b>Move cursor right</b>`<l>`<br><b>Emulate left click</b>`<m>`


title: TLDR
content:
<b>Display battery information</b>`battop`<br><b>Change battery information measurement [u]nit (default: human)</b>`battop -u [human|si]`


title: TLDR
content:
<b>Format a USB then create a bootable Windows installation drive</b>`woeusb --device [path/to/windows.iso] [/dev/sdX]`<br><b>Copy Windows files to an existing partition of a USB storage device and make it bootable, without erasing the current data</b>`woeusb --partition [path/to/windows.iso] [/dev/sdXN]`


title: TLDR
content:
<b>Set display brightness to 50%</b>`blight set [50] [[-r|--relative]]`<br><b>Show current display brightness</b>`blight show`<br><b>Print maximum display brightness</b>`blight max`<br><b>Increase display brightness in %</b>`blight inc [number] [[-r|--relative]]`<br><b>Decrease display brightness with internal units</b>`blight dec [number]`


title: TLDR
content:
<b>Start a specific virtual machine</b>`qm start [100]`<br><b>Specify the QEMU machine type (i.e. the CPU to emulate)</b>`qm start [100] --machine [q35]`<br><b>Start a specific virtual machine with a timeout in 60 seconds</b>`qm start [100] --timeout [60]`


title: TLDR
content:
<b>Review files that need maintenance in interactive mode</b>`pacdiff`<br><b>Use sudo and sudoedit to remove and merge files</b>`pacdiff [[-s|--sudo]]`<br><b>Review files needing maintenance, creating .bakups of the original if you (O)verwrite</b>`pacdiff [[-s|--sudo]] [[-b|--backup]]`<br><b>Use a specific editor to view and merge configuration files (default is vim -d)</b>`DIFFPROG=[editor] pacdiff`<br><b>Scan for configuration files with locate instead of using pacman database</b>`pacdiff [[-l|--locate]]`<br><b>Display help</b>`pacdiff [[-h|--help]]`


title: TLDR
content:
<b>Reboot a virtual machine</b>`qm [[reb|reboot]] [vm_id]`<br><b>Reboot a virtual machine after wait for at most 10 seconds</b>`qm [[reb|reboot]] --timeout [10] [vm_id]`


title: TLDR
content:
<b>Create a user interactively</b>`register_new_matrix_user --config [path/to/homeserver.yaml]`<br><b>Create an admin user interactively</b>`register_new_matrix_user --config [path/to/homeserver.yaml] --admin`<br><b>Create an admin user non-interactively (not recommended)</b>`register_new_matrix_user --config [path/to/homeserver.yaml] --user [username] --password [password] --admin`


title: TLDR
content:
<b>Start a caffeine server</b>`caffeine`<br><b>Display help</b>`caffeine [[-h|--help]]`<br><b>Display version</b>`caffeine [[-V|--version]]`


title: TLDR
content:
<b>Print a country where an IPv4 address or host is located</b>`acountry [example.com]`<br><b>Print extra [d]ebugging output</b>`acountry -d [example.com]`<br><b>Print more [v]erbose information</b>`acountry -v [example.com]`


title: TLDR
content:
<b>Print an A or AAAA record associated with a hostname or IP address</b>`ahost [example.com]`<br><b>Display some extra debugging output</b>`ahost -d [example.com]`<br><b>Display the record with a specified type</b>`ahost -t [a|aaaa|u] [example.com]`


title: TLDR
content:
<b>Create a virtual machine with access to 512MiB of memory and 1 CPU core</b>`qm [[cr|create]] [100]`<br><b>Give the virtual machine a name and automatically start the machine after creation</b>`qm [[cr|create]] [100] --name [vm_name] --start`<br><b>Give a virtual machine specified amount of memory and CPUs</b>`qm [[cr|create]] [100] --memory [8192] --cores [4]`<br><b>Specify the type of operating system on the machine</b>`qm [[cr|create]] [100] --ostype [win10]`<br><b>Replace an existing machine (requires archiving it)</b>`qm [[cr|create]] [100] --archive [path/to/backup_file.tar] --force 1`<br><b>Specify a script that is executed automatically depending on the state of the virtual machine</b>`qm [[cr|create]] [100] --hookscript [path/to/script.pl]`<br><b>Specify the install media</b>`qm [[cr|create]] [100] --cdrom [local:iso/install-media.iso]`<br><b>Create a VM that bridges itself to the host network</b>`qm [[cr|create]] [100] --net[0] virtio,bridge=vmbr[0]`


title: TLDR
content:
<b>Shutdown a virtual machine</b>`qm [[shu|shutdown]] [VM_ID]`<br><b>Shutdown a virtual machine after wait for at most 10 seconds</b>`qm [[shu|shutdown]] --timeout [10] [VM_ID]`<br><b>Shutdown a virtual machine and do not deactivate storage volumes</b>`qm [[shu|shutdown]] --keepActive [true] [VM_ID]`<br><b>Shutdown a virtual machine and skip lock (only root can use this option)</b>`qm [[shu|shutdown]] --skiplock [true] [VM_ID]`<br><b>Stop and shutdown a virtual machine</b>`qm [[shu|shutdown]] --forceStop [true] [VM_ID]`


title: TLDR
content:
<b>Clear QML cache</b>`latte-dock --clear-cache`<br><b>Import and load default layout on startup</b>`latte-dock --default-layout`<br><b>Load a specific layout on startup</b>`latte-dock --layout [layout_name]`<br><b>Import and load a specific layout</b>`latte-dock --import-layout [path/to/file]`


title: TLDR
content:
<b>Reset a virtual machine</b>`qm reset [vm_id]`<br><b>Reset a virtual machine and skip lock (only root can use this option)</b>`qm reset --skiplock [true] [vm_id]`


title: TLDR
content:
<b>List VMs on current tenant</b>`nova list`<br><b>List VMs of all tenants (admin user only)</b>`nova list --all-tenants`<br><b>Boot a VM on a specific host</b>`nova boot --nic net-id=[net_id] --image [image_id] --flavor [flavor] --availability-zone nova:[host_name] [vm_name]`<br><b>Start a server</b>`nova start [server]`<br><b>Stop a server</b>`nova stop [server]`<br><b>Attach a network interface to a specific VM</b>`nova interface-attach --net-id [net_id] [server]`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b><br>`just`<br><br><b>Run a JavaScript file</b><br>`just [path/to/file.js]`<br><br><b>Evaluate JavaScript code by passing it as an argument</b><br>`just eval "[code]"`<br><br><b>Initialize a new project in a directory of the same name</b><br>`just init [project_name]`<br><br><b>Build a JavaScript application into an executable</b><br>`just build [path/to/file.js] --static`<br>


title: TLDR
content:
<b>Download the contents of a URL to a file</b>`ruget [https://example.com/file]`<br><b>Download the contents of a URL to a specified output file</b>`ruget [[-o|--output]] [file_name] [https://example.com/file]`


title: TLDR
content:
<b>Print a specific key value</b>`dconf read /[path/to/key]`<br><b>Print a specific key [d]efault value</b>`dconf read -d /[path/to/key]`


title: TLDR
content:
<b>Open images</b>`nsxiv [path/to/file1 path/to/file2 ...]`<br><b>Open images from directories in image mode</b>`nsxiv [path/to/directory1 path/to/directory2 ...]`<br><b>Search directories recursively for images to view</b>`nsxiv [[-r|--recursive]] [path/to/directory1 path/to/directory2 ...]`<br><b>Quit nsxiv</b>`<q>`<br><b>Switch to thumbnail mode or open selected image in image mode</b>`<Enter>`<br><b>Count images forward in image mode</b>`<n>`<br><b>Count images backward in image mode</b>`<p>`


title: TLDR
content:
<b>Subscribe to target state updates under the subtree of a specific path</b>`gnmic [[-a|--address]] [ip:port] subscribe --path [path]`<br><b>Subscribe to a target with a sample interval of 30s (default is 10s)</b>`gnmic [[-a|--address]] [ip:port] subscribe --path [path] --sample-interval 30s`<br><b>Subscribe to a target with sample interval and updates only on change</b>`gnmic [[-a|--address]] [ip:port] subscribe --path [path] --stream-mode on-change --heartbeat-interval [1m]`<br><b>Subscribe to a target for only one update</b>`gnmic [[-a|--address]] [ip:port] subscribe --path [path] --mode once`<br><b>Subscribe to a target and specify response encoding (json_ietf)</b>`gnmic [[-a|--address]] [ip:port] subscribe --path [path] [[-e|--encoding]] json_ietf`


title: TLDR
content:
<b>Execute code style fixing in the current directory</b>`php-cs-fixer fix`<br><b>Execute code style fixing for a specific directory</b>`php-cs-fixer fix [path/to/directory]`<br><b>Execute code style linting without applying changes</b>`php-cs-fixer fix --dry-run`<br><b>Execute code style fixes using specific rules</b>`php-cs-fixer fix --rules=[rules]`<br><b>Display the rules that have been applied</b>`php-cs-fixer fix --verbose`<br><b>Output the results in a different format</b>`php-cs-fixer fix --format=[txt|json|xml|checkstyle|junit|gitlab]`<br><b>Display files that require fixing</b>`php-cs-fixer list-files`<br><b>Describe a rule or ruleset</b>`php-cs-fixer describe [rule]`


title: TLDR
content:
<b>Open a file for editing</b>`mg [path/to/file]`<br><b>Open a file at a specified line number</b>`mg +[line_number] [path/to/file]`<br><b>Open files in a read-only mode</b>`mg -R [path/to/file1 path/to/file2 ...]`<br><b>Disable ~ backup files while editing</b>`mg -n [path/to/file]`


title: TLDR
content:
<b>List dependencies with funding URL for the project in the current directory</b>`npm fund`<br><b>Open the funding URL for a specific package in the default web browser</b>`npm fund [package]`<br><b>List dependencies with a funding URL for a specific workspace for the project in the current directory</b>`npm fund [[-w|--workspace]] [workspace]`


title: TLDR
content:
<b>Print the lines where a specific column is numerically equal to a given number</b>`tsv-filter -H --eq [field_name]:[number] [path/to/tsv_file]`<br><b>Print the lines where a specific column is [eq]ual/[n]on [e]qual/[l]ess [t]han/[l]ess than or [e]qual/[g]reater [t]han/[g]reater than or [e]qual to a given number</b>`tsv-filter --[eq|ne|lt|le|gt|ge] [column_number]:[number] [path/to/tsv_file]`<br><b>Print the lines where a specific column is [eq]ual/[n]ot [e]qual/part of/not part of a given string</b>`tsv-filter --str-[eq|ne|in-fld|not-in-fld] [column_number]:[string] [path/to/tsv_file]`<br><b>Filter for non-empty fields</b>`tsv-filter --not-empty [column_number] [path/to/tsv_file]`<br><b>Print the lines where a specific column is empty</b>`tsv-filter --invert --not-empty [column_number] [path/to/tsv_file]`<br><b>Print the lines that satisfy two conditions</b>`tsv-filter --eq [column_number1]:[number] --str-eq [column_number2]:[string] [path/to/tsv_file]`<br><b>Print the lines that match at least one condition</b>`tsv-filter --or --eq [column_number1]:[number] --str-eq [column_number2]:[string] [path/to/tsv_file]`<br><b>Count matching lines, interpreting first line as a [H]eader</b>`tsv-filter --count -H --eq [field_name]:[number] [path/to/tsv_file]`


title: TLDR
content:
<b>Create a container in a storage account</b>`az storage container create --account-name [storage_account_name] [[-n|--name]] [container_name] --public-access [access_level] --fail-on-exist`<br><b>Generate a shared access signature for the container</b>`az storage container generate-sas --account-name [storage_account_name] [[-n|--name]] [container_name] --permissions [sas_permissions] --expiry [expiry_date] --https-only`<br><b>List containers in a storage account</b>`az storage container list --account-name [storage_account_name] --prefix [filter_prefix]`<br><b>Mark the specified container for deletion</b>`az storage container delete --account-name [storage_account_name] [[-n|--name]] [container_name] --fail-not-exist`


title: TLDR
content:
<b>Compute the hillshade of a DEM</b>`gdaldem hillshade [path/to/input.tif] [path/to/output.tif]`<br><b>Compute the slope of a DEM</b>`gdaldem slope [path/to/input.tif] [path/to/output.tif]`<br><b>Compute the aspect of a DEM</b>`gdaldem aspect [path/to/input.tif] [path/to/output.tif]`


title: TLDR
content:
<b>Request device capabilities</b>`gnmic [[-a|--address]] [ip:port] capabilities`<br><b>Provide a username and password to fetch device capabilities</b>`gnmic [[-a|--address]] [ip:port] [[-u|--username]] [username] [[-p|--password]] [password] capabilities`<br><b>Get a snapshot of the device state at a specific path</b>`gnmic [[-a|--address]] [ip:port] get --path [path]`<br><b>Update device state at a specific path</b>`gnmic [[-a|--address]] [ip:port] set --update-path [path] --update-value [value]`<br><b>Subscribe to target state updates under the subtree at a specific path</b>`gnmic [[-a|--address]] [ip:port] subscribe --path [path]`


title: TLDR
content:
<b>Change all files modification time to their last commit date</b>`git utimes`<br><b>Change files modification time that are newer than their last commit date, preserving original modification time of files that were committed from the local repository</b>`git utimes --newer`


title: TLDR
content:
<b>Get temporary security credentials to access specific AWS resources</b>`aws sts assume-role --role-arn [aws_role_arn]`<br><b>Get an IAM user or role whose credentials are used to call the operation</b>`aws sts get-caller-identity`


title: TLDR
content:
<b>List all running containers</b>`podman-compose ps`<br><b>Create and start all containers in the background using a local docker-compose.yml</b>`podman-compose up [[-d|--detach]]`<br><b>Start all containers, building if needed</b>`podman-compose up --build`<br><b>Start all containers using an alternate compose file</b>`podman-compose [[-f|--file]] [path/to/file.yaml] up`<br><b>Stop all running containers</b>`podman-compose stop`<br><b>Remove all containers, networks, and volumes</b>`podman-compose down [[-v|--volumes]]`<br><b>Follow logs for a container (omit all container names)</b>`podman-compose logs [[-f|--follow]] [container_name]`<br><b>Run a one-time command in a service with no ports mapped</b>`podman-compose run [service_name] [command]`


title: TLDR
content:
<b>Archive a file, replacing it with with a compressed version</b>`lzip [path/to/file]`<br><b>Archive a file, keeping the input file</b>`lzip [[-k|--keep]] [path/to/file]`<br><b>Archive a file with the best compression (level=9)</b>`lzip [[-k|--keep]] [path/to/file] --best`<br><b>Archive a file at the fastest speed (level=0)</b>`lzip [[-k|--keep]] [path/to/file] --fast`<br><b>Test the integrity of compressed file</b>`lzip [[-t|--test]] [path/to/archive.lz]`<br><b>Decompress a file, replacing it with the original uncompressed version</b>`lzip [[-d|--decompress]] [path/to/archive.lz]`<br><b>Decompress a file, keeping the archive</b>`lzip [[-d|--decompress]] [[-k|--keep]] [path/to/archive.lz]`<br><b>List files which are in an archive and show compression stats</b>`lzip [[-l|--list]] [path/to/archive.lz]`


title: TLDR
content:
<b>Run a pyATS subcommand</b>`pyats [subcommand]`<br><b>Display help</b>`pyats --help`<br><b>Display help about a specific subcommand</b>`pyats [subcommand] --help`<br><b>Display version</b>`pyats version check`


title: TLDR
content:
<b>Display metadata for a specific torrent</b>`transmission-show [path/to/file.torrent]`<br><b>Generate a magnet link for a specific torrent</b>`transmission-show [[-m|--magnet]] [path/to/file.torrent]`<br><b>Query a torrent's trackers and print the current number of peers</b>`transmission-show [[-s|--scrape]] [path/to/file.torrent]`


title: TLDR
content:
<b>Display system information</b>`rfetch`<br><b>Display system [a]rchitecture</b>`rfetch -a`<br><b>Display system up[t]ime</b>`rfetch -t`<br><b>Display system [k]ernel</b>`rfetch -k`<br><b>Display system [c]PU</b>`rfetch -c`<br><b>Display Linux [D]istro</b>`rfetch -D`<br><b>View [d]esktop environment</b>`rfetch -d`


title: TLDR
content:
<b>Consume messages starting with the newest offset</b>`kcat -C -t [topic] -b [brokers]`<br><b>Consume messages starting with the oldest offset and exit after the last message is received</b>`kcat -C -t [topic] -b [brokers] -o beginning -e`<br><b>Consume messages as a Kafka consumer group</b>`kcat -G [group_id] [topic] -b [brokers]`<br><b>Publish message by reading from stdin</b>`echo [message] | kcat -P -t [topic] -b [brokers]`<br><b>Publish messages by reading from a file</b>`kcat -P -t [topic] -b [brokers] [path/to/file]`<br><b>List metadata for all topics and brokers</b>`kcat -L -b [brokers]`<br><b>List metadata for a specific topic</b>`kcat -L -t [topic] -b [brokers]`<br><b>Get offset for a topic/partition for a specific point in time</b>`kcat -Q -t [topic]:[partition]:[unix_timestamp] -b [brokers]`


title: TLDR
content:
<b>Create a new table in the storage account</b>`az storage table create --account-name [storage_account_name] [[-n|--name]] [table_name] --fail-on-exist`<br><b>Generate a shared access signature for the table</b>`az storage table generate-sas --account-name [storage_account_name] [[-n|--name]] [table_name] --permissions [sas_permissions] --expiry [expiry_date] --https-only`<br><b>List tables in a storage account</b>`az storage table list --account-name [storage_account_name]`<br><b>Delete the specified table and any data it contains</b>`az storage table delete --account-name [storage_account_name] [[-n|--name]] [table_name] --fail-not-exist`


title: TLDR
content:
<b>Add an item to DID section</b>`laydown did [item]`<br><b>Add an item to DOING section</b>`laydown doing [item]`<br><b>Clear all items</b>`laydown clear`<br><b>Use an editor to edit current data</b>`laydown edit`<br><b>Archive and clear current data</b>`laydown archive`


title: TLDR
content:
<b>Register a provider</b>`az provider register [[-n|--namespace]] [Microsoft.PolicyInsights]`<br><b>Unregister a provider</b>`az provider unregister [[-n|--namespace]] [Microsoft.Automation]`<br><b>List all providers for a subscription</b>`az provider list`<br><b>Show information about a specific provider</b>`az provider show [[-n|--namespace]] [Microsoft.Storage]`<br><b>List all resource types for a specific provider</b>`az provider list --query "[?namespace=='[Microsoft.Network]'].resourceTypes[].resourceType"`


title: TLDR
content:
<b>Download a course using cookie-based authentication</b>`llvd [[-c|--course]] [course-slug] --cookies`<br><b>Download a course at a specific resolution</b>`llvd [[-c|--course]] [course-slug] [[-r|--resolution]] 720`<br><b>Download a course with captions (subtitles)</b>`llvd [[-c|--course]] [course-slug] [[-ca|--caption]]`<br><b>Download a course path with throttling between 10 to 30 seconds</b>`llvd [[-p|--path]] [path-slug] [[-t|--throttle]] [10,30] --cookies`


title: TLDR
content:
<b>Initialize a minimal website project in the current working directory</b>`soupault --init`<br><b>Build a website</b>`soupault`<br><b>Override default configuration file and directory locations</b>`soupault --config [config_path] --site-dir [input_directory] --build-dir [output_directory]`<br><b>Extract metadata into a JSON file without generating pages</b>`soupault --index-only --dump-index-json [path/to/file.json]`<br><b>Show the effective configuration (values from soupault.toml plus defaults)</b>`soupault --show-effective-config`


title: TLDR
content:
<b>Create an storage account</b>`az storage account create [[-n|--name]] [storage_account_name] [[-g|--resource-group]] [azure_resource_group] --location [azure_location] --sku [storage_account_sku]`<br><b>Generate a shared access signature for a specific storage account</b>`az storage account generate-sas --account-name [storage_account_name] [[-n|--name]] [account_name] --permissions [sas_permissions] --expiry [expiry_date] --services [storage_services] --resource-types [resource_types]`<br><b>List storage accounts</b>`az storage account list [[-g|--resource-group]] [azure_resource_group]`<br><b>Delete a specific storage account</b>`az storage account delete [[-n|--name]] [storage_account_name] [[-g|--resource-group]] [azure_resource_group]`


title: TLDR
content:
<b>Check how GIFs differ</b>`gifdiff [path/to/first.gif] [path/to/second.gif]`<br><b>Check if GIFs differ</b>`gifdiff --brief [path/to/first.gif] [path/to/second.gif]`


title: TLDR
content:
<b>Create a new mkdocs project</b>`mkdocs new [project_name]`<br><b>Serve the project in the current directory using the mkdocs dev-server</b>`mkdocs serve`<br><b>Build the documentation in the current directory</b>`mkdocs build`<br><b>Deploy the documentation in the current directory to GitHub pages</b>`mkdocs gh-deploy`


title: TLDR
content:
<b>Stop a virtual machine immediately</b>`qm stop [VM_ID]`<br><b>Stop a virtual machine and wait for at most 10 seconds</b>`qm stop --timeout [10] [VM_ID]`<br><b>Stop a virtual machine and skip lock (only root can use this option)</b>`qm stop --skiplock [true] [VM_ID]`<br><b>Stop a virtual machine and don't deactivate storage volumes</b>`qm stop --keepActive [true] [VM_ID]`


title: TLDR
content:
<b>Start a headless transmission session</b>`transmission-daemon`<br><b>Start and watch a specific directory for new torrents</b>`transmission-daemon [[-c|--watch-dir]] [path/to/directory]`<br><b>Dump daemon settings in JSON format</b>`transmission-daemon [[-d|--dump-settings]] > [path/to/file.json]`<br><b>Start with specific settings for the web interface</b>`transmission-daemon [[-t|--auth]] [[-u|--username]] [username] [[-v|--password]] [password] [[-p|--port]] [9091] [[-a|--allowed]] [127.0.0.1]`


title: TLDR
content:
<b>Write a specific image to a specific block device</b>`rpi-imager --cli [path/to/image.zip] [/dev/sdX]`<br><b>Write a specific image to a block device, disabling the checksum verification</b>`rpi-imager --cli --disable-verify [path/to/image.zip] [/dev/sdX]`<br><b>Write a specific image to a block device, which will expect a specific checksum when running the verification</b>`rpi-imager --cli --sha256 [expected_hash] [path/to/image.zip] [/dev/sdX]`


title: TLDR
content:
<b>Start up a project</b>`ddev start`<br><b>Configure a project's type and docroot</b>`ddev config`<br><b>Follow the log trail</b>`ddev logs [[-f|--follow]]`<br><b>Run composer within the container</b>`ddev composer`<br><b>Install a specific Node.js version</b>`ddev nvm install [version]`<br><b>Export a database</b>`ddev export-db [[-f|--file]] [/tmp/db.sql.gz]`<br><b>Run a specific command within a container</b>`ddev exec [echo 1]`


title: TLDR
content:
<b>Sort a file and keep the first line at the top</b>`keep-header [path/to/file] -- sort`<br><b>Output first line directly to stdout, passing the remainder of the file through the specified command</b>`keep-header [path/to/file] -- [command]`<br><b>Read from stdin, sorting all except the first line</b>`cat [path/to/file] | keep-header -- [command]`<br><b>Grep a file, keeping the first line regardless of the search pattern</b>`keep-header [path/to/file] -- grep [pattern]`


title: TLDR
content:
<b>Install atuin into your shell</b>`eval "$(atuin init [bash|zsh|fish])"`<br><b>Import history from the shell default history file</b>`atuin import auto`<br><b>Search shell history for a specific command</b>`atuin search [command]`<br><b>Register an account on the default sync server using the specified username, email and password</b>`atuin register [[-u|--username]] [username] [[-e|--email]] [email] [[-p|--password]] [password]`<br><b>Login to the default sync server</b>`atuin login [[-u|--username]] [username] [[-p|--password]] [password]`<br><b>Sync history with the sync server</b>`atuin sync`


title: TLDR
content:
<b>Create a project using a specific preset</b>`kool create [preset] [project_name]`<br><b>Run a specific script defined in the kool.yml file in the current directory</b>`kool run [script]`<br><b>Start/stop services in the current directory</b>`kool [start|stop]`<br><b>Display status of the services in the current directory</b>`kool status`<br><b>Update to the latest version</b>`kool self-update`<br><b>Print the completion script for the specified shell</b>`kool completion [bash|fish|powershell|zsh]`


title: TLDR
content:
<b>List commands history with command IDs</b>`aws history list`<br><b>Display events related to a specific command given a command ID</b>`aws history show [command_id]`


title: TLDR
content:
<b>Open the current repository's CI configuration on its upstream website</b>`git browse-ci`<br><b>Open the current repository's CI configuration on its upstream website for a specific remote</b>`git browse-ci [remote]`


title: TLDR
content:
<b>Render an image directly in the terminal</b>`chafa [path/to/file]`<br><b>Render an image with 24-bit color</b>`chafa [[-c|--colors]] full [path/to/file]`<br><b>Improve image rendering with small color palettes using dithering</b>`chafa [[-c|--colors]] 16 --dither ordered [path/to/file]`<br><b>Render an image, making it appear pixelated</b>`chafa --symbols vhalf [path/to/file]`<br><b>Render a monochrome image with only braille characters</b>`chafa [[-c|--colors]] none --symbols braille [path/to/file]`


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


title: TLDR
content:
<b>Format a specific Snakefile</b>`snakefmt [path/to/snakefile]`<br><b>Format all Snakefiles recursively in a specific directory</b>`snakefmt [path/to/directory]`<br><b>Format a file using a specific configuration file</b>`snakefmt --config [path/to/config.toml] [path/to/snakefile]`<br><b>Format a file using a specific maximum line length</b>`snakefmt --line-length [100] [path/to/snakefile]`<br><b>Display the changes that would be performed without performing them (dry-run)</b>`snakefmt --diff [path/to/snakefile]`


title: TLDR
content:
<b>Convert from CSV to TSV</b>`csv2tsv [path/to/input_csv1 path/to/input_csv2 ...] > [path/to/output_tsv]`<br><b>Convert field delimiter separated CSV to TSV</b>`csv2tsv -c'[field_delimiter]' [path/to/input_csv]`<br><b>Convert semicolon separated CSV to TSV</b>`csv2tsv -c';' [path/to/input_csv]`


title: TLDR
content:
<b>Show the current version of Azure CLI modules and extensions in JSON format</b>`az version`<br><b>Show the current version of Azure CLI modules and extensions in a given format</b>`az version [[-o|--output]] [json|table|tsv]`


title: TLDR
content:
<b>Print direct dependencies</b>`npm query ':root > *'`<br><b>Print all direct production/development dependencies</b>`npm query ':root > .[prod|dev]'`<br><b>Print dependencies with a specific name</b>`npm query '#[package]'`<br><b>Print dependencies with a specific name and within a semantic versioning range</b>`npm query '#[package]@[semantic_version]'`<br><b>Print dependencies which have no dependencies</b>`npm query ':empty'`<br><b>Find all dependencies with postinstall scripts and uninstall them</b>`npm query ":attr(scripts, [postinstall])" | jq 'map(.name) | join("\n")' [[-r|--raw-output]] | xargs -I _ npm uninstall _`<br><b>Find all Git dependencies and print which application requires them</b>`npm query ":type(git)" | jq 'map(.name)' | xargs -I _ npm why _`


title: TLDR
content:
<b>Load a Docker image from stdin</b>`docker < [path/to/image_file.tar] load`<br><b>Load a Docker image from a specific file</b>`docker load [[-i|--input]] [path/to/image_file.tar]`<br><b>Load a Docker image from a specific file in quiet mode</b>`docker load [[-q|--quiet]] [[-i|--input]] [path/to/image_file.tar]`


title: TLDR
content:
<b>Invoke cmp on two files compressed via gzip</b>`zcmp [path/to/file1.gz] [path/to/file2.gz]`<br><b>Compare a file to its gzipped version (assuming .gz exists already)</b>`zcmp [path/to/file]`


title: TLDR
content:
<b>Show file information</b>`osmium fileinfo [path/to/input.osm]`<br><b>Display contents</b>`osmium show [path/to/input.osm]`<br><b>Convert file format from PBF into XML</b>`osmium cat [path/to/input.osm.pbf] [[-o|--output]] [path/to/output.osm]`<br><b>Extract a geographic region by the given [b]ounding box</b>`osmium extract [[-b|--bbox]] [min_longitude],[min_latitude],[max_longitude],[max_latitude] [path/to/input.pbf] [[-o|--output]] [path/to/output.pbf]`<br><b>Extract a geographic region by a GeoJSON file</b>`osmium extract [[-p|--polygon]] [path/to/polygon.geojson] [path/to/input.pbf] [[-o|--output]] [path/to/output.pbf]`<br><b>Filter all objects tagged as "restaurant"</b>`osmium tags-filter [path/to/input.pbf] amenity=restaurant [[-o|--output]] [path/to/output.pbf]`<br><b>Filter for "way" objects tagged as "highway"</b>`osmium tags-filter [path/to/input.pbf] w/highway [[-o|--output]] [path/to/output.pbf]`<br><b>Filter "way" and "relation" objects tagged as "building"</b>`osmium tags-filter [path/to/input.pbf] wr/building [[-o|--output]] [path/to/output.pbf]`


title: TLDR
content:
<b>Use an existing location as workspace path</b>`azurite [[-l|--location]] [path/to/directory]`<br><b>Disable access log displayed in console</b>`azurite [[-s|--silent]]`<br><b>Enable debug log by providing a file path as log destination</b>`azurite [[-d|--debug]] [path/to/debug.log]`<br><b>Customize the listening address of Blob/Queue/Table service</b>`azurite [--blobHost|--queueHost|--tableHost] [0.0.0.0]`<br><b>Customize the listening port of Blob/Queue/Table service</b>`azurite [--blobPort|--queuePort|--tablePort] [8888]`


title: TLDR
content:
<b>List all buckets</b>`aws s3 ls`<br><b>List files and folders in the root of a bucket (s3:// is optional)</b>`aws s3 ls s3://[bucket_name]`<br><b>List files and folders directly inside a directory</b>`aws s3 ls [bucket_name]/[path/to/directory]/`<br><b>List all files in a bucket</b>`aws s3 ls --recursive [bucket_name]`<br><b>List all files in a path with a given prefix</b>`aws s3 ls --recursive [bucket_name]/[path/to/directory]/[prefix]`<br><b>Display help</b>`aws s3 ls help`


title: TLDR
content:
<b>Dump the local package database</b>`tlmgr dump-tlpdb --local`<br><b>Dump the remote package database</b>`tlmgr dump-tlpdb --remote`<br><b>Dump the local package database as JSON</b>`tlmgr dump-tlpdb --local --json`


title: TLDR
content:
<b>Configure AWS CLI interactively (creates a new configuration or updates the default)</b>`aws configure`<br><b>Configure a named profile for AWS CLI interactively (creates a new profile or updates an existing one)</b>`aws configure --profile [profile_name]`<br><b>Display the value from a specific configuration variable</b>`aws configure get [name]`<br><b>Display the value for a configuration variable in a specific profile</b>`aws configure get [name] --profile [profile_name]`<br><b>Set the value of a specific configuration variable</b>`aws configure set [name] [value]`<br><b>Set the value of a configuration variable in a specific profile</b>`aws configure set [name] [value] --profile [profile_name]`<br><b>List the configuration entries</b>`aws configure list`<br><b>List the configuration entries for a specific profile</b>`aws configure list --profile [profile_name]`


title: TLDR
content:
<b>Create a new Redis cache instance</b>`az redis create --location [location] [[-n|--name]] [name] [[-g|--resource-group]] [resource_group] --sku [Basic|Premium|Standard] --vm-size [c0|c1|c2|c3|c4|c5|c6|p1|p2|p3|p4|p5]`<br><b>Update a Redis cache</b>`az redis update [[-n|--name]] [name] [[-g|--resource-group]] [resource_group] --sku [Basic|Premium|Standard] --vm-size [c0|c1|c2|c3|c4|c5|c6|p1|p2|p3|p4|p5]`<br><b>Export data stored in a Redis cache</b>`az redis export --container [container] --file-format [file-format] [[-n|--name]] [name] --prefix [prefix] [[-g|--resource-group]] [resource_group]`<br><b>Delete a Redis cache</b>`az redis delete [[-n|--name]] [name] [[-g|--resource-group]] [resource_group] [[-y|--yes]]`


title: TLDR
content:
<b>Create a new SSH key</b>`az sshkey create --name [name] [[-g|--resource-group]] [resource_group]`<br><b>Upload an existing SSH key</b>`az sshkey create --name [name] [[-g|--resource-group]] [resource_group] --public-key "[@path/to/key.pub]"`<br><b>List all SSH public keys</b>`az sshkey list`<br><b>Show information about an SSH public key</b>`az sshkey show --name [name] [[-g|--resource-group]] [resource_group]`


title: TLDR
content:
<b>Run a command once for each line of input data as arguments</b>`[arguments_source] | xe [command]`<br><b>Execute the commands, replacing any occurrence of the placeholder (marked as {}) with the input line</b>`[arguments_source] | xe [command] {} [optional_extra_arguments]`<br><b>Execute a shellscript, joining every N lines into a single call</b>`echo -e 'a\nb' | xe -N[2] -s 'echo $2 $1'`<br><b>Delete all files with a .backup extension</b>`find . -name '[*.backup]' | xe rm -v`<br><b>Run up to max-jobs processes in parallel; the default is 1. If max-jobs is 0, xe will run as many processes as cpu cores</b>`[arguments_source] | xe -j [max-jobs] [command]`


title: TLDR
content:
<b>Upgrade Azure CLI</b>`az upgrade`<br><b>Upgrade Azure CLI and Extensions</b>`az upgrade --all`<br><b>Upgrade Azure CLI and Extensions without prompting for confirmation</b>`az upgrade --all [[-y|--yes]]`


title: TLDR
content:
<b>Start texlua to act as a Lua interpreter</b>`lualatex`<br><b>Compile a Tex file to PDF</b>`lualatex [path/to/file.tex]`<br><b>Compile a Tex file without error interruption</b>`lualatex -interaction nonstopmode [path/to/file.tex]`<br><b>Compile a Tex file with a specific output file name</b>`lualatex -jobname=[filename] [path/to/file.tex]`


title: TLDR
content:
<b>Create a new resource group</b>`az group create [[-n|--name]] [name] [[-l|--location]] [location]`<br><b>Check if a resource group exists</b>`az group exists [[-n|--name]] [name]`<br><b>Delete a resource group</b>`az group delete [[-n|--name]] [name]`<br><b>Wait until a condition of the resource group is met</b>`az group wait [[-n|--name]] [name] --[created|deleted|exists|updated]`


title: TLDR
content:
<b>Build overview images of a raster dataset using the "average" [r]esampling method</b>`gdaladdo -r average [path/to/input.tif]`


title: TLDR
content:
<b>Print a JPEG, PNG, or GIF to the terminal</b>`catimg [path/to/file]`<br><b>Double the [r]esolution of an image</b>`catimg -r 2 [path/to/file]`<br><b>Disable 24-bit color for better [t]erminal support</b>`catimg -t [path/to/file]`<br><b>Specify a custom [w]idth or [H]eight</b>`catimg [-w|-H] [40] [path/to/file]`


title: TLDR
content:
<b>Update the value of a path</b>`gnmic [[-a|--address]] [ip:port] set --update-path [path/to/directory] --update-value [value]`<br><b>Update the value of a path to match the contents of a JSON file</b>`gnmic [[-a|--address]] [ip:port] set --update-path [path/to/directory] --update-file [path/to/file]`<br><b>Replace the value of a path to match the contents of a JSON file</b>`gnmic [[-a|--address]] [ip:port] set --replace-path [path/to/directory] --replace-file [path/to/file]`<br><b>Delete the node at a given path</b>`gnmic [[-a|--address]] [ip:port] set --delete [path/to/directory]`


title: TLDR
content:
<b>Display system logs</b>`adb logcat`<br><b>Display lines that match a reg[e]x</b>`adb logcat -e [regex]`<br><b>Display logs for a tag in a specific mode ([V]erbose, [D]ebug, [I]nfo, [W]arning, [E]rror, [F]atal, [S]ilent), filtering other tags</b>`adb logcat [tag]:[mode] *:S`<br><b>Display logs for React Native applications in [V]erbose mode [S]ilencing other tags</b>`adb logcat ReactNative:V ReactNativeJS:V *:S`<br><b>Display logs for all tags with priority level [W]arning and higher</b>`adb logcat *:W`<br><b>Display logs for a specific PID</b>`adb logcat --pid [pid]`<br><b>Display logs for the process of a specific package</b>`adb logcat --pid $(adb shell pidof -s [package])`<br><b>Color the log (usually use with filters)</b>`adb logcat -v color`


title: TLDR
content:
<b>Display information about a project</b>`Projucer --status [path/to/project_file]`<br><b>Resave all files and resources in a project</b>`Projucer --resave [path/to/project_file]`<br><b>Update the version number in a project</b>`Projucer --set-version [version_number] [path/to/project_file]`<br><b>Generate a JUCE project from a PIP file</b>`Projucer --create-project-from-pip [path/to/PIP] [path/to/output]`<br><b>Remove all JUCE-style comments (//=====, //----- or ///////)</b>`Projucer --tidy-divider-comments [path/to/target_folder]`<br><b>Display help</b>`Projucer --help`


title: TLDR
content:
<b>List service codes of a specific region</b>`aws pricing describe-services --region [us-east-1]`<br><b>List attributes for a given service code in a specific region</b>`aws pricing describe-services --service-code [AmazonEC2] --region [us-east-1]`<br><b>Print pricing information for a service code in a specific region</b>`aws pricing get-products --service-code [AmazonEC2] --region [us-east-1]`<br><b>List values for a specific attribute for a service code in a specific region</b>`aws pricing get-attribute-values --service-code [AmazonEC2] --attribute-name [instanceType] --region [us-east-1]`<br><b>Print pricing information for a service code using filters for instance type and location</b>`aws pricing get-products --service-code [AmazonEC2] --filters "[Type=TERM_MATCH,Field=instanceType,Value=m5.xlarge]" "[Type=TERM_MATCH,Field=location,Value=US East (N. Virginia)]" --region [us-east-1]`


title: TLDR
content:
<b>List all components</b>`gpgconf --list-components`<br><b>List the directories used by gpgconf</b>`gpgconf [[-L|--list-dirs]]`<br><b>List all options of a component</b>`gpgconf --list-options [component]`<br><b>List programs and test whether they are runnable</b>`gpgconf --check-programs`<br><b>Reload a component</b>`gpgconf --reload [component]`


title: TLDR
content:
<b>Display a human-readable summary of differences between files using a specific column as a unique identifier</b>`csv-diff [path/to/file1.csv] [path/to/file2.csv] --key [column_name]`<br><b>Display a human-readable summary of differences between files that includes unchanged values in rows with at least one change</b>`csv-diff [path/to/file1.csv] [path/to/file2.csv] --key [column_name] --show-unchanged`<br><b>Display a summary of differences between files in JSON format using a specific column as a unique identifier</b>`csv-diff [path/to/file1.csv] [path/to/file2.csv] --key [column_name] --json`


title: TLDR
content:
<b>List labels for the repository in the current directory</b>`gh label [[ls|list]]`<br><b>View labels for the repository in the current directory in the default web browser</b>`gh label [[ls|list]] [[-w|--web]]`<br><b>Create a label with a specific name, description and color in hexadecimal format for the repository in the current directory</b>`gh label create [name] [[-d|--description]] "[description]" [[-c|--color]] [color_hex]`<br><b>Delete a label for the repository in the current directory, prompting for confirmation</b>`gh label delete [name]`<br><b>Update the name and description for a specific label for the repository in the current directory</b>`gh label edit [name] [[-n|--name]] [new_name] [[-d|--description]] "[description]"`<br><b>Clone labels from a specific repository into the repository in the current directory</b>`gh label clone [owner]/[repository]`<br><b>Display help for a subcommand</b>`gh label [subcommand] [[-h|--help]]`


title: TLDR
content:
<b>Create a queue</b>`az storage queue create --account-name [storage_account_name] [[-n|--name]] [queue_name] --metadata [queue_metadata]`<br><b>Generate a shared access signature for the queue</b>`az storage queue generate-sas --account-name [storage_account_name] [[-n|--name]] [queue_name] --permissions [queue_permissions] --expiry [expiry_date] --https-only`<br><b>List queues in a storage account</b>`az storage queue list --prefix [filter_prefix] --account-name [storage_account_name]`<br><b>Delete the specified queue and any messages it contains</b>`az storage queue delete --account-name [storage_account_name] [[-n|--name]] [queue_name] --fail-not-exist`


title: TLDR
content:
<b>Determine changes between different versions of a LaTeX file (the resulting LaTeX file can be compiled to show differences underlined)</b>`latexdiff [old.tex] [new.tex] > [diff.tex]`<br><b>Determine changes between different versions of a LaTeX file by highlighting differences in boldface</b>`latexdiff --type=BOLD [old.tex] [new.tex] > [diff.tex]`<br><b>Determine changes between different versions of a LaTeX file, and display minor changes in equations with both added and deleted graphics</b>`latexdiff --math-markup=fine --graphics-markup=both [old.tex] [new.tex] > [diff.tex]`


title: TLDR
content:
<b>View documentation for running Transmission's daemon</b>`tldr transmission-daemon`<br><b>View documentation for interacting with the daemon</b>`tldr transmission-remote`<br><b>View documentation for creating torrent files</b>`tldr transmission-create`<br><b>View documentation for modifying torrent files</b>`tldr transmission-edit`<br><b>View documentation for getting info about torrent files</b>`tldr transmission-show`<br><b>View documentation for the deprecated method for interacting with the daemon</b>`tldr transmission-cli`


title: TLDR
content:
<b>Format a Haskell source file and print the result to stdout</b>`brittany [path/to/file.hs]`<br><b>Format all Haskell source files in the current directory in-place</b>`brittany --write-mode=inplace [*.hs]`<br><b>Check whether a Haskell source file needs changes and indicate the result through the programme's exit code</b>`brittany --check-mode [path/to/file.hs]`<br><b>Format a Haskell source file using the specified amount of spaces per indentation level and line length</b>`brittany --indent [4] --columns [100] [path/to/file.hs]`<br><b>Format a Haskell source file according to the style defined in the specified configuration file</b>`brittany --config-file [path/to/config.yaml] [path/to/file.hs]`


title: TLDR
content:
<b>Add a URL to a torrent's announce list</b>`transmission-edit [[-a|--add]] [http://example.com] [path/to/file.torrent]`<br><b>Remove a URL from a torrent's announce list</b>`transmission-edit [[-d|--delete]] [http://example.com] [path/to/file.torrent]`<br><b>Update a tracker's passcode in a torrent file</b>`transmission-edit [[-r|--replace]] [old-passcode] [new-passcode] [path/to/file.torrent]`


title: TLDR
content:
<b>Create a [N]ew certificate database in the current [d]irectory</b>`certutil -N -d .`<br><b>[L]ist all certificates in a database</b>`certutil -L -d .`<br><b>List all private [K]eys in a database specifying the password [f]ile</b>`certutil -K -d . -f [path/to/password_file.txt]`<br><b>[A]dd the signed certificate to the requesters database specifying a [n]ickname, [t]rust attributes and an [i]nput CRT file</b>`certutil -A -n "[server_certificate]" -t ",," -i [path/to/file.crt] -d .`<br><b>Add subject alternative names to a given [c]ertificate with a specific key size ([g])</b>`certutil -S -f [path/to/password_file.txt] -d . -t ",," -c "[server_certificate]" -n "[server_name]" -g [2048] -s "CN=[common_name],O=[organization]"`


title: TLDR
content:
<b>List all buckets in a project you are logged into</b>`gsutil ls`<br><b>List the objects in a bucket</b>`gsutil ls -r 'gs://[bucket_name]/[prefix]**'`<br><b>Download an object from a bucket</b>`gsutil cp gs://[bucket_name]/[object_name] [path/to/save_location]`<br><b>Upload an object to a bucket</b>`gsutil cp [object_location] gs://[destination_bucket_name]/`<br><b>Rename or move objects in a bucket</b>`gsutil mv gs://[bucket_name]/[old_object_name] gs://[bucket_name]/[new_object_name]`<br><b>Create a new bucket in the project you are logged into</b>`gsutil mb gs://[bucket_name]`<br><b>Delete a bucket and remove all the objects in it</b>`gsutil rm -r gs://[bucket_name]`


title: TLDR
content:
<b>Display system information</b>`fastfetch`<br><b>Display full system information with all the modules enabled</b>`fastfetch [[-c|--config]] all`<br><b>Load a custom configuration file</b>`fastfetch [[-c|--config]] [path/to/config_file]`<br><b>Fetch a specific structure</b>`fastfetch [[-s|--structure]] [os:kernel:de:cpu:gpu]`<br><b>Use a specific logo</b>`fastfetch [[-l|--logo]] [logo]`<br><b>Display system information without a logo</b>`fastfetch [[-l|--logo]] none`<br><b>Use a specific color for the keys and title</b>`fastfetch --color [blue]`


title: TLDR
content:
<b>Render a static image directly in the terminal</b>`pixterm [path/to/file]`<br><b>Use the image's original aspect ratio</b>`pixterm -s 2 [path/to/file]`<br><b>Specify a custom aspect ratio using a specific number of [t]erminal [r]ows and [c]olumns</b>`pixterm -tr [24] -tc [80] [path/to/file]`<br><b>Filter the output with a [m]atte background color and character [d]ithering</b>`pixterm -m [000000] -d 2 [path/to/file]`


title: TLDR
content:
<b>Get a snapshot of the device state at a specific path</b>`gnmic [[-a|--address]] [ip:port] get --path [path]`<br><b>Query the device state at multiple paths</b>`gnmic [[-a|--address]] [ip:port] get --path [path/to/file_or_directory1] --path [path/to/file_or_directory2]`<br><b>Query the device state at multiple paths with a common prefix</b>`gnmic [[-a|--address]] [ip:port] get --prefix [prefix] --path [path/to/file_or_directory1] --path [path/to/file_or_directory2]`<br><b>Query the device state and specify response encoding (json_ietf)</b>`gnmic [[-a|--address]] [ip:port] get --path [path] [[-e|--encoding]] json_ietf`


title: TLDR
content:
<b>Execute code style fixing</b>`pint`<br><b>Display all files that are changed</b>`pint -v`<br><b>Execute code style linting without applying changes</b>`pint --test`<br><b>Execute code style fixes using a specific configuration file</b>`pint --config [path/to/pint.json]`<br><b>Execute code style fixes using a specific preset</b>`pint --preset [psr12]`


title: TLDR
content:
<b>Create a new project using a template</b>`pulumi new`<br><b>Create a new stack using an isolated deployment target</b>`pulumi stack init`<br><b>Configure variables (e.g. keys, regions, etc.) interactively</b>`pulumi config`<br><b>Preview and deploy changes to a program and/or infrastructure</b>`pulumi up`<br><b>Preview deployment changes without performing them (dry-run)</b>`pulumi preview`<br><b>Destroy a program and its infrastructure</b>`pulumi destroy`<br><b>Use Pulumi locally, independent of a Pulumi Cloud</b>`pulumi login [[-l|--local]]`


title: TLDR
content:
<b>Check a specific script file for syntax errors</b>`grub-script-check [path/to/grub_config_file]`<br><b>Display each line of input after reading it</b>`grub-script-check [[-v|--verbose]]`<br><b>Display help</b>`grub-script-check --help`<br><b>Display version</b>`grub-script-check --version`


title: TLDR
content:
<b>Split Zip archive into parts that are no larger than 36000 bytes (36 MB)</b>`zipsplit [path/to/archive.zip]`<br><b>Use a given [n]umber of bytes as the part limit</b>`zipsplit -n [size] [path/to/archive.zip]`<br><b>[p]ause between the creation of each part</b>`zipsplit -p -n [size] [path/to/archive.zip]`<br><b>Output the smaller Zip archives into a given directory</b>`zipsplit -b [path/to/output_directory] -n [size] [path/to/archive.zip]`


title: TLDR
content:
<b>Trigger a run manually</b>`logrotate [path/to/logrotate.conf] --force`<br><b>Run using a specific command to mail reports</b>`logrotate [path/to/logrotate.conf] --mail [/usr/bin/mail_command]`<br><b>Run without using a state (lock) file</b>`logrotate [path/to/logrotate.conf] --state /dev/null`<br><b>Run and skip the state (lock) file check</b>`logrotate [path/to/logrotate.conf] --skip-state-lock`<br><b>Tell logrotate to log verbose output into the log file</b>`logrotate [path/to/logrotate.conf] --log [path/to/log_file]`


title: TLDR
content:
<b>Load a specific keyboard layout for the current console</b>`sudo loadkeys [en|de|fi|dvorak|defkeymap|...]`<br><b>Load a default keymap</b>`sudo loadkeys [[-d|--default]]`<br><b>Create a kernel source table</b>`loadkeys [[-m|--mktable]]`<br><b>Create a binary keymap</b>`loadkeys [[-b|--bkeymap]]`<br><b>Search and parse keymap without action</b>`loadkeys [[-p|--parse]]`<br><b>Load the keymap suppressing all output</b>`loadkeys [[-q|--quiet]]`<br><b>Set a keymap for a specific console</b>`sudo loadkeys [[-C|--console]] [/dev/ttyN] [uk]`<br><b>Load a keymap from the specified file for the console</b>`loadkeys [[-C|--console]] [/dev/ttyN] /[path/to/file]`


title: TLDR
content:
<b>Power off the machine</b>`telinit 0`<br><b>Reboot the machine</b>`telinit 6`<br><b>Change SysV run level</b>`telinit [2|3|4|5]`<br><b>Change to rescue mode</b>`telinit 1`<br><b>Reload daemon configuration</b>`telinit q`<br><b>Do not send a wall message before reboot/power-off (6/0)</b>`telinit --no-wall [value]`


title: TLDR
content:
<b>Create a self-extracting binary file of a Zip archive</b>`cat unzipsfx [path/to/archive.zip] > [filename] && chmod 755 [filename]`<br><b>Extract a self-extracting binary in the current directory</b>`[./path/to/binary]`<br><b>Test a self-extracting binary for errors</b>`[./path/to/binary] -t`<br><b>Print content of a file in the self-extracting binary without extraction</b>`[./path/to/binary] -c [path/to/file]`<br><b>Print comments on Zip archive in the self-extracting binary</b>`[./path/to/binary] -z`


title: TLDR
content:
<b>Start interactive mode with a specific authority file (defaults to ~/.Xauthority)</b>`xauth -f [path/to/file]`<br><b>Display information about the authority file</b>`xauth info`<br><b>Display authorization entries for all the displays</b>`xauth list`<br><b>Add an authorization for a specific display</b>`xauth add [display_name] [protocol_name] [key]`<br><b>Remove the authorization for a specific display</b>`xauth remove [display_name]`<br><b>Print the authorization entry for the current display to stdout</b>`xauth extract - $DISPLAY`<br><b>Merge the authorization entries from a specific file into the authorization database</b>`cat [path/to/file] | xauth merge -`<br><b>Display help</b>`xauth --help`


title: TLDR
content:
<b>Encrypt the contents of a Zip archive</b>`zipcloak [path/to/archive.zip]`<br><b>Decrypt the contents of a Zip archive</b>`zipcloak [[-d|--decrypt]] [path/to/archive.zip]`<br><b>Output the encrypted contents into a new Zip archive</b>`zipcloak [path/to/archive.zip] [[-O|--output-file]] [path/to/encrypted.zip]`


title: TLDR
content:
<b>Print all current sessions</b>`loginctl`<br><b>Print all properties of a specific session</b>`loginctl show-session [session_id] [[-a|--all]]`<br><b>Print all properties of a specific user</b>`loginctl show-user [username]`<br><b>Print a specific property of a user</b>`loginctl show-user [username] [[-p|--property]] [property_name]`<br><b>Execute a loginctl operation on a remote host</b>`loginctl list-users [[-H|--host]] [hostname]`<br><b>Log a user out on all of their sessions</b>`loginctl terminate-user [username]`<br><b>Display help</b>`loginctl [[-h|--help]]`


title: TLDR
content:
<b>Add constant network delay to outbound packages</b>`sudo tc [[q|qdisc]] [[a|add]] dev [eth0] root netem delay [delay_in_milliseconds]ms`<br><b>Add normal distributed network delay to outbound packages</b>`sudo tc [[q|qdisc]] [[a|add]] dev [eth0] root netem delay [mean_delay_ms]ms [delay_std_ms]ms`<br><b>Add package corruption/loss/duplication to a portion of packages</b>`sudo tc [[q|qdisc]] [[a|add]] dev [eth0] root netem [corruption|loss|duplication] [effect_percentage]%`<br><b>Limit bandwidth, burst rate and max latency</b>`sudo tc [[q|qdisc]] [[a|add]] dev eth0 root tbf rate [max_bandwidth_mb]mbit burst [max_burst_rate_kb]kbit latency [max_latency_before_drop_ms]ms`<br><b>Show active traffic control policies</b>`tc [[q|qdisc]] [[s|show]] dev [eth0]`<br><b>Delete all traffic control rules</b>`sudo tc [[q|qdisc]] [[d|delete]] dev [eth0]`<br><b>Change traffic control rule</b>`sudo tc [[q|qdisc]] [[c|change]] dev [eth0] root netem [policy] [policy_parameters]`


title: TLDR
content:
<b>View a compressed file</b>`xzless [path/to/file]`<br><b>View a compressed file and display line numbers</b>`xzless --LINE-NUMBERS [path/to/file]`<br><b>View a compressed file and quit if the entire file can be displayed on the first screen</b>`xzless --quit-if-one-screen [path/to/file]`


title: TLDR
content:
<b>Compile binary to default a.out with gprof information and run it to get gmon.out</b>`gcc [[-p|-pg]] [program.c] && ./a.out`<br><b>Run gprof on default a.out and gmon.out to obtain profile output</b>`gprof`<br><b>Run gprof on a named binary</b>`gprof [path/to/binary] [path/to/gmon.out]`<br><b>Suppress profile field's description</b>`gprof [[-b|--brief]]`<br><b>Display routines that have zero usage</b>`gprof [[-bz|--brief --display-unused-functions]]`


title: TLDR
content:
<b>Compare two files</b>`xzdiff [path/to/file1] [path/to/file2]`<br><b>Compare two files, showing the differences side by side</b>`xzdiff --side-by-side [path/to/file1] [path/to/file2]`<br><b>Compare two files and report only that they differ (no details on what is different)</b>`xzdiff --brief [path/to/file1] [path/to/file2]`<br><b>Compare two files and report when the files are the same</b>`xzdiff --report-identical-files [path/to/file1] [path/to/file2]`<br><b>Compare two files using paginated results</b>`xzdiff --paginate [path/to/file1] [path/to/file2]`


title: TLDR
content:
<b>Send a specific number of disassociate packets given an access point's MAC address, a client's MAC address and an interface</b>`sudo aireplay-ng --deauth [count] --bssid [ap_mac] --dmac [client_mac] [interface]`


title: TLDR
content:
<b>Evaluate an expression</b>`bb [[-e|--eval]] "(+ 1 2 3)"`<br><b>Evaluate a script file</b>`bb [[-f|--file]] [path/to/script.clj]`<br><b>Bind [i]nput to a sequence of lines from stdin</b>`printf "first\nsecond" | bb -i "(map clojure.string/capitalize *input*)"`<br><b>Bind [I]nput to a sequence of EDN (Extensible Data Notation) values from stdin</b>`echo "{:key 'val}" | bb -I "(:key (first *input*))"`


title: TLDR
content:
<b>Compute the object ID without storing it</b>`git hash-object [path/to/file]`<br><b>Compute the object ID and store it in the Git database</b>`git hash-object -w [path/to/file]`<br><b>Compute the object ID specifying the object type</b>`git hash-object -t [blob|commit|tag|tree] [path/to/file]`<br><b>Compute the object ID from stdin</b>`cat [path/to/file] | git hash-object --stdin`


title: TLDR
content:
<b>Create a file holding the contents of the blob specified by its ID then print the name of the temporary file</b>`git unpack-file [blob_id]`


title: TLDR
content:
<b>Run a CPU benchmark with 1 thread for 10 seconds</b>`sysbench cpu run`<br><b>Run a CPU benchmark with multiple threads for a specified time</b>`sysbench --threads=[number_of_threads] --time=[seconds]`<br><b>Run a memory benchmark with 1 thread for 10 seconds</b>`sysbench memory run`<br><b>Prepare a filesystem-level read benchmark</b>`sysbench fileio prepare`<br><b>Run a filesystem-level benchmark</b>`sysbench --file-test-mode=[rndrd|rndrw|rndwr|seqrd|seqrewr|seqwr] fileio run`


title: TLDR
content:
<b>Print the content of the first member in a Zip archive</b>`funzip [path/to/archive.zip]`<br><b>Print the content in a gzip archive</b>`funzip [path/to/archive.gz]`<br><b>Decrypt a Zip or gzip archive and print the content</b>`funzip -password [password] [path/to/archive]`


title: TLDR
content:
<b>View the comments on a Zip archive</b>`zipnote [path/to/file.zip]`<br><b>Extract the comments on a Zip archive to a file</b>`zipnote [path/to/file.zip] > [path/to/file.txt]`<br><b>Add/Update comments in a Zip archive from a file</b>`zipnote < [path/to/file.txt] -w [path/to/file.zip]`


title: TLDR
content:
<b>Capture packets and display information about wireless network(s) on the 2.4GHz band</b>`sudo airodump-ng [interface]`<br><b>Capture packets and display information about wireless network(s) on the 5GHz band</b>`sudo airodump-ng [interface] --band a`<br><b>Capture packets and display information about wireless network(s) on both 2.4GHz and 5GHz bands</b>`sudo airodump-ng [interface] --band abg`<br><b>Capture packets and display information about a wireless network given the MAC address and channel, and save the output to a file</b>`sudo airodump-ng --channel [channel] --write [path/to/file] --bssid [mac] [interface]`


title: TLDR
content:
<b>Execute a specific QEMU Guest Agent command</b>`qm [[g|guest]] [[c|cmd]] [virtual_machine_id] [fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...]`


title: TLDR
content:
<b>Destroy a specific virtual machine</b>`qm [[des|destroy]] [vm_id]`<br><b>Destroy all disks that are not explicitly referenced in a specific virtual machine's configuration</b>`qm [[des|destroy]] [vm_id] --destroy-unreferenced-disks`<br><b>Destroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.)</b>`qm [[des|destroy]] [vm_id] --purge`<br><b>Destroy a specific virtual machine ignoring locks and forcing destroy</b>`sudo qm [[des|destroy]] [vm_id] --skiplock`


title: TLDR
content:
<b>Start with authentication via SSH at 127.0.0.1 with port 22 enabled</b>`cockpit-ws --local-ssh`<br><b>Start an HTTP server on a specific port</b>`cockpit-ws --port [port]`<br><b>Start and bind to a specific IP address (defaults to 0.0.0.0)</b>`cockpit-ws --address [ip_address]`<br><b>Start without TLS</b>`cockpit-ws --no-tls`<br><b>Display help</b>`cockpit-ws --help`


title: TLDR
content:
<b>Serve HTTP requests to a specific port instead of port 9090</b>`cockpit-tls --port [port]`<br><b>Display help</b>`cockpit-tls --help`


title: TLDR
content:
<b>Resume a specific virtual machine</b>`qm [[resu|resume]] [vm_id]`<br><b>Resume a specific virtual machine ignoring locks (requires root)</b>`sudo qm [[resu|resume]] [vm_id] --skiplock true`


title: TLDR
content:
<b>Display the main routing table</b>`ip [[r|route]] [[l|list]]`<br><b>Display the main routing table (same as first example)</b>`ip [[r|route]] [[l|list]] [[t|table]] [main|254]`<br><b>Display the local routing table</b>`ip [[r|route]] [[l|list]] [[t|table]] [local|255]`<br><b>Display all routing tables</b>`ip [[r|route]] [[l|list]] [[t|table]] [all|unspec|0]`<br><b>List routes from a given device only</b>`ip [[r|route]] [[l|list]] dev [ethX]`<br><b>List routes within a given scope</b>`ip [[r|route]] [[l|list]] [[s|scope]] link`<br><b>Display the routing cache</b>`ip [[r|route]] [[l|list]] [[c|cache]]`<br><b>Display only IPv6 or IPv4 routes</b>`ip [-6|-4] [[r|route]]`


title: TLDR
content:
<b>Test a specific website</b>`./goldeneye.py [url]`<br><b>Test a specific website with 100 user agents and 200 concurrent sockets</b>`./goldeneye.py [url] --useragents 100 --sockets 200`<br><b>Test a specific website without verifying the SSL certificate</b>`./goldeneye.py [url] --nosslcheck`<br><b>Test a specific website in debug mode</b>`./goldeneye.py [url] --debug`<br><b>Display help</b>`./goldeneye.py --help`


title: TLDR
content:
<b>Search pubmed then find related sequences</b>`esearch -db pubmed -query "[selective serotonin reuptake inhibitor]" | elink -target nuccore`<br><b>Search nucleotide then find related biosamples</b>`esearch -db nuccore -query "[insulin [PROT] AND rodents [ORGN]]" | elink -target biosample`


title: TLDR
content:
<b>Open a page</b>`cockpit-desktop [url] [SSH_host]`<br><b>Open storage page</b>`cockpit-desktop [/cockpit/@localhost/storage/index.html]`


title: TLDR
content:
<b>Allow goobook to access Google contacts using OAuth2</b>`goobook authenticate`<br><b>Dump all contacts to XML (stdout)</b>`goobook dump_contacts`


title: TLDR
content:
<b>Set a password for a specific user in a virtual machine interactively</b>`qm [[g|guest]] [[p|passwd]] [vm_id] [username]`<br><b>Set an already hashed password for a specific user in a virtual machine interactively</b>`qm [[g|guest]] [[p|passwd]] [vm_id] [username] --crypted 1`


title: TLDR
content:
<b>Start</b>`atop`<br><b>Start and display memory consumption for each process</b>`atop -m`<br><b>Start and display disk information</b>`atop -d`<br><b>Start and display background process information</b>`atop -c`<br><b>Start and display thread-specific resource utilization information</b>`atop -y`<br><b>Start and display the number of processes for each user</b>`atop -au`<br><b>Display help about interactive commands</b>`<?>`


title: TLDR
content:
<b>Copy a virtual machine</b>`qm clone [vm_id] [new_vm_id]`<br><b>Copy a virtual machine using a specific name</b>`qm clone [vm_id] [new_vm_id] --name [name]`<br><b>Copy a virtual machine using a specific descriptionn</b>`qm clone [vm_id] [new_vm_id] --description [description]`<br><b>Copy a virtual machine creating a full copy of all disks</b>`qm clone [vm_id] [new_vm_id] --full`<br><b>Copy a virtual machine using a specific format for file storage (requires --full)</b>`qm clone [vm_id] [new_vm_id] --full --format [qcow2|raw|vmdk]`<br><b>Copy a virtual machine then add it to a specific pool</b>`qm clone [vm_id] [new_vm_id] --pool [pool_name]`


title: TLDR
content:
<b>Open Mumble</b>`mumble`<br><b>Open Mumble and immediately connect to a server</b>`mumble mumble://[username]@[example.com]`<br><b>Open Mumble and immediately connect to a password protected server</b>`mumble mumble://[username]:[password]@[example.com]`<br><b>Mute/unmute the microphone in a running Mumble instance</b>`mumble rpc [mute|unmute]`<br><b>Mute/unmute the microphone and the audio output of Mumble</b>`mumble rpc [deaf|undeaf]`


title: TLDR
content:
<b>Send the specified key event to a specific virtual machine</b>`qm [[sen|sendkey]] [vm_id] [key]`<br><b>Allow root user to send key event and ignore locks</b>`qm [[sen|sendkey]] --skiplock [true] [vm_id] [key]`


title: TLDR
content:
<b>Print all information about a specific serial device</b>`setserial -a [/dev/cuaN]`<br><b>Print the configuration summary of a specific serial device (useful for printing during bootup process)</b>`setserial -b [device]`<br><b>Set a specific configuration parameter to a device</b>`sudo setserial [device] [parameter]`<br><b>Print the configuration of a list of devices</b>`setserial -g [device1 device2 ...]`


title: TLDR
content:
<b>List all cockpit packages</b>`cockpit-bridge --packages`<br><b>Display help</b>`cockpit-bridge --help`


title: TLDR
content:
<b>Scan directories to find and list packages with broken library links that need to be rebuilt</b>`lddd`


title: TLDR
content:
<b>Infer ancestral sequences maximizing the joint or marginal likelihood</b>`treetime ancestral`<br><b>Analyze patterns of recurrent mutations aka homoplasies</b>`treetime homoplasy`<br><b>Estimate molecular clock parameters and reroot the tree</b>`treetime clock`<br><b>Map discrete character such as host or country to the tree</b>`treetime mugration`


title: TLDR
content:
<b>Align two or more sequences using blastp, with the e-value threshold of 1e-9, pairwise output format, output to screen</b>`blastp -query [query.fa] -subject [subject.fa] -evalue [1e-9]`<br><b>Align two or more sequences using blastp-fast</b>`blastp -task blastp-fast -query [query.fa] -subject [subject.fa]`<br><b>Align two or more sequences, custom tabular output format, output to file</b>`blastp -query [query.fa] -subject [subject.fa] -outfmt '[6 qseqid qlen qstart qend sseqid slen sstart send bitscore evalue pident]' -out [output.tsv]`<br><b>Search protein databases using a protein query, 16 threads to use in the BLAST search, with a maximum number of 10 aligned sequences to keep</b>`blastp -query [query.fa] -db [blast_database_name] -num_threads [16] -max_target_seqs [10]`<br><b>Search the remote non-redundant protein database using a protein query</b>`blastp -query [query.fa] -db [nr] -remote`<br><b>Display help (use -help for detailed help)</b>`blastp -h`


title: TLDR
content:
<b>Get the virtual machine configuration of a specific virtual machine</b>`qm [[p|pending]] [vm_id]`


title: TLDR
content:
<b>Mount an archive to a specific mountpoint</b>`archivemount [path/to/archive] [path/to/mount_point]`


title: TLDR
content:
<b>Generate a cloudinit file for a specific configuration type</b>`qm [[clou|cloudinit]] [[d|dump]] [virtual_machine_id] [meta|network|user]`


title: TLDR
content:
<b>Create a snapshot of a specific virtual machine (name must start with a letter)</b>`qm [[sn|snapshot]] [vm_id] [snapshot_name]`<br><b>Create a snapshot with a specific description</b>`qm [[sn|snapshot]] [vm_id] [snapshot_name] --description [description]`<br><b>Create a snapshot including the vmstate</b>`qm [[sn|snapshot]] [vm_id] [snapshot_name] --description [description] --vmstate 1`<br><b>List snapshots of a VM</b>`qm [[lists|listsnapshot]] [100]`<br><b>Rollback the state of a specific VM to a specified snapshot</b>`qm [[ro|rollback]] [vm_id] [snap_name]`


title: TLDR
content:
<b>Start Burp Suite</b>`burpsuite`<br><b>Start Burp Suite using the default configuration</b>`burpsuite --use-defaults`<br><b>Open a specific project file</b>`burpsuite --project-file=[path/to/file]`<br><b>Load a specific configuration file</b>`burpsuite --config-file=[path/to/file]`<br><b>Start without extensions</b>`burpsuite --disable-extensions`


title: TLDR
content:
<b>Start the window manager, if it is not running already (should ideally be run from .xsession or similar)</b>`qtile start`<br><b>Check the configuration file for any compilation errors (default location is ~/.config/qtile/config.py)</b>`qtile check`<br><b>Show current resource usage information</b>`qtile top --force`<br><b>Open the program xterm as a floating window on the group named test-group</b>`qtile run-cmd --group [test-group] --float [xterm]`<br><b>Restart the window manager</b>`qtile cmd-obj --object cmd --function restart`


title: TLDR
content:
<b>Align two or more sequences using megablast (default), with the e-value threshold of 1e-9, pairwise output format (default)</b>`blastn -query [query.fa] -subject [subject.fa] -evalue [1e-9]`<br><b>Align two or more sequences using blastn</b>`blastn -task blastn -query [query.fa] -subject [subject.fa]`<br><b>Align two or more sequences, custom tabular output format, output to file</b>`blastn -query [query.fa] -subject [subject.fa] -outfmt '[6 qseqid qlen qstart qend sseqid slen sstart send bitscore evalue pident]' -out [output.tsv]`<br><b>Search nucleotide databases using a nucleotide query, 16 threads (CPUs) to use in the BLAST search, with a maximum number of 10 aligned sequences to keep</b>`blastn -query [query.fa] -db [path/to/blast_db] -num_threads [16] -max_target_seqs [10]`<br><b>Search the remote non-redundant nucleotide database using a nucleotide query</b>`blastn -query [query.fa] -db [nt] -remote`<br><b>Display help (use -help for detailed help)</b>`blastn -h`


title: TLDR
content:
<b>Convert an RPM package to a cpio archive and save it as file.cpio in the current directory</b>`rpm2cpio [path/to/file.rpm]`


title: TLDR
content:
<b>Display the status of a specific virtual machine</b>`qm [[stat|status]] [vm_id]`<br><b>Display detailed status of a specific virtual machine</b>`qm [[stat|status]] --verbose [true] [vm_id]`


title: TLDR
content:
<b>Validate an XML file against a specific schema</b>`virt-xml-validate [path/to/file.xml] [schema]`<br><b>Validate the domain XML against the domain schema</b>`virt-xml-validate [path/to/domain.xml] domain`


title: TLDR
content:
<b>Migrate a specific virtual machine</b>`qm [[mi|migrate]] [vm_id] [target]`<br><b>Override the current I/O bandwidth limit with 10 KiB/s</b>`qm [[mi|migrate]] [vm_id] [target] --bwlimit 10`<br><b>Allow migration of virtual machines using local devices (root only)</b>`qm [[mi|migrate]] [vm_id] [target] --force true`<br><b>Use online/live migration if a virtual machine is running</b>`qm [[mi|migrate]] [vm_id] [target] --online true`<br><b>Enable live storage migration for local disks</b>`qm [[mi|migrate]] [vm_id] [target] --with-local-disks true`


title: TLDR
content:
<b>Wait until the virtual machine is stopped</b>`qm [[w|wait]] [vm_id]`<br><b>Wait until the virtual machine is stopped with a 10 second timeout</b>`qm [[w|wait]] --timeout [10] [vm_id]`<br><b>Send a shutdown request, then wait until the virtual machine is stopped with a 10 second timeout</b>`qm [[shu|shutdown]] [vm_id] && qm [[w|wait]] --timeout [10] [vm_id]`


title: TLDR
content:
<b>Print all database names</b>`einfo -dbs`<br><b>Print all information of the protein database in XML format</b>`einfo -db [protein]`<br><b>Print all fields of the nuccore database</b>`einfo -db [nuccore] -fields`<br><b>Print all links of the protein database</b>`einfo -db [protein] -links`


title: TLDR
content:
<b>Run a LOLCODE file</b>`lci [path/to/file]`<br><b>Display help</b>`lci -h`<br><b>Display version</b>`lci -v`


title: TLDR
content:
<b>Display syscall number of a specific system call</b>`ausyscall [search_pattern]`<br><b>Display name of a specific system call number</b>`ausyscall [system_call_number]`<br><b>Display all system calls for a specific architecture</b>`ausyscall [architecture] --dump`


title: TLDR
content:
<b>Calculate the checksum for a file using a specific algorithm</b>`xxhsum -H[0|32|64|128] [path/to/file]`<br><b>Run benchmark</b>`xxhsum -b`


title: TLDR
content:
<b>Display help for a specific command</b>`qm [[h|help]] [command]`<br><b>Display help for a specific command with detailed information</b>`qm [[h|help]] [command] --verbose [true|false]`


title: TLDR
content:
<b>Rollback the state of a specific VM to a specified snapshot</b>`qm [[ro|rollback]] [vm_id] [snap_name]`


title: TLDR
content:
<b>Start and navigate the current directory tree interactively</b>`br`<br><b>Start displaying the size of files and directories</b>`br [[-s|--sizes]]`<br><b>Start displaying permissions</b>`br [[-p|--permissions]]`<br><b>Start displaying directories only</b>`br [[-f|--only-folders]]`<br><b>Start displaying hidden files and directories</b>`br [[-h|--hidden]]`


title: TLDR
content:
<b>Fastest method in mashtree to create a tree from fastq and/or fasta files using multiple threads, piping into a newick file</b>`mashtree --numcpus [12] [*.fastq.gz] [*.fasta] > [mashtree.dnd]`<br><b>Most accurate method in mashtree to create a tree from fastq and/or fasta files using multiple threads, piping into a newick file</b>`mashtree --mindepth [0] --numcpus [12] [*.fastq.gz] [*.fasta] > [mashtree.dnd]`<br><b>Most accurate method to create a tree with confidence values (note that any options for mashtree itself has to be on the right side of the --)</b>`mashtree_bootstrap.pl --reps [100] --numcpus [12] [*.fastq.gz] -- --min-depth [0] > [mashtree.bootstrap.dnd]`


title: TLDR
content:
<b>Install a package</b>`pkcon install [package]`<br><b>Remove a package</b>`pkcon remove [package]`<br><b>Refresh the package cache</b>`pkcon refresh`<br><b>Update packages</b>`pkcon update`<br><b>Search for a specific package</b>`pkcon search [package]`<br><b>List all available packages</b>`pkcon get-packages`


title: TLDR
content:
<b>View documentation for managing package managers</b>`tldr apx pkgmanagers`<br><b>View documentation for managing stacks</b>`tldr apx stacks`<br><b>View documentation for managing subsystems</b>`tldr apx subsystems`


title: TLDR
content:
<b>Search the pubmed database for selective serotonin reuptake inhibitor</b>`esearch -db pubmed -query "[selective serotonin reuptake inhibitor]"`<br><b>Search the protein database using a query and regex</b>`esearch -db [protein] -query '[Escherichia*]'`<br><b>Search the nucleotide database for sequences whose metadata contain insulin and rodents</b>`esearch -db nuccore -query "[insulin [PROT] AND rodents [ORGN]]"`<br><b>Display help</b>`esearch [[-h|-help]]`


title: TLDR
content:
<b>Display the virtual machine configuration</b>`qm [[co|config]] [vm_id]`<br><b>Display the current configuration values instead of pending values for the virtual machine</b>`qm [[co|config]] --current [true] [vm_id]`<br><b>Fetch the configuration values from the given snapshot</b>`qm [[co|config]] --snapshot [snapshot_name] [vm_id]`


title: TLDR
content:
<b>Display all updates</b>`snap --nosplash --nogui --modules --list --refresh`<br><b>Display help</b>`snap --help`


title: TLDR
content:
<b>Create and switch to a new feature branch</b>`git feature [feature_branch]`<br><b>Merge a feature branch into the current branch creating a merge commit</b>`git feature finish [feature_branch]`<br><b>Merge a feature branch into the current branch squashing the changes into one commit</b>`git feature finish --squash [feature_branch]`<br><b>Send changes from a specific feature branch to its remote counterpart</b>`git feature [feature_branch] [[-r|--remote]] [remote_name]`


title: TLDR
content:
<b>Record new transactions interactively, saving to the default journal file</b>`hledger add`<br><b>Import new transactions from bank.csv, using bank.csv.rules to convert</b>`hledger import [path/to/bank.csv]`<br><b>Print all transactions, reading from multiple specified journal files</b>`hledger print [[-f|--file]] [path/to/prices-2024.journal] [[-f|--file]] [path/to/prices-2023.journal]`<br><b>Show all accounts, as a hierarchy, and their types</b>`hledger accounts [[-t|--tree]] --types`<br><b>Show asset and liability account balances, including zeros, hierarchically</b>`hledger [[bs|balancesheet]] [[-E|--empty]] [[-t|--tree]] --no-elide`<br><b>Show monthly incomes/expenses/totals, largest first, summarised to 2 levels</b>`hledger [[is|incomestatement]] [[-M|--monthly]] [[-T|--row-total]] [[-A|--average]] --sort [[-2|--depth 2]]`<br><b>Show the assets:bank:checking account's transactions and running balance</b>`hledger [[areg|aregister]] assets:bank:checking`<br><b>Show the amount spent on food from the assets:cash account</b>`hledger print assets:cash | hledger [[-f|--file]] - [[-I|--ignore-assertions]] aregister expenses:food`


title: TLDR
content:
<b>Analyze the dependencies of a .jar or .class file</b>`jdeps [path/to/file.class]`<br><b>Print a summary of all dependencies of a specific .jar file</b>`jdeps [path/to/file.jar] -summary`<br><b>Print all class-level dependencies of a .jar file</b>`jdeps [path/to/file.jar] -verbose`<br><b>Output the results of the analysis in a DOT file into a specific directory</b>`jdeps [path/to/file.jar] -dotoutput [path/to/directory]`<br><b>Display help</b>`jdeps --help`


title: TLDR
content:
<b>Compile an executable</b>`gnatmake [source_file1.adb source_file2.adb ...]`<br><b>Set a custom [o]utput executable name</b>`gnatmake -o [executable_name] [source_file.adb]`<br><b>[f]orce recompilation</b>`gnatmake -f [source_file.adb]`


title: TLDR
content:
<b>Build a project (assuming only one *.gpr file exists in the current directory)</b>`gprbuild`<br><b>Build a specific [P]roject file</b>`gprbuild -P [project_name]`<br><b>Clean up the build workspace</b>`gprclean`<br><b>Install compiled binaries</b>`gprinstall --prefix [path/to/installation_directory]`


title: TLDR
content:
<b>Display help</b>`aws codecommit help`<br><b>Display help for a specific command</b>`aws codecommit [command] help`


title: TLDR
content:
<b>Check connection</b>`pg_isready`<br><b>Check connection with a specific hostname and port</b>`pg_isready [[-h|--host]] [hostname] [[-p|--port]] [port]`<br><b>Check connection displaying a message only when the connection fails</b>`pg_isready [[-q|--quiet]]`


title: TLDR
content:
<b>Merge a repository's branch into the current repository's directory</b>`git merge-repo [path/to/repo] [branch_name] [path/to/directory]`<br><b>Merge a remote repository's branch into the current repository's directory, not preserving history</b>`git merge-repo [path/to/remote_repo] [branch_name] .`


title: TLDR
content:
<b>List all hosted zones, private and public</b>`aws route53 list-hosted-zones`<br><b>Show all records in a zone</b>`aws route53 list-resource-record-sets --hosted-zone-id [zone_id]`<br><b>Create a new, public zone using a request identifier to retry the operation safely</b>`aws route53 create-hosted-zone --name [name] --caller-reference [request_identifier]`<br><b>Delete a zone (if the zone has non-defaults SOA and NS records the command will fail)</b>`aws route53 delete-hosted-zone --id [zone_id]`<br><b>Test DNS resolving by Amazon servers of a given zone</b>`aws route53 test-dns-answer --hosted-zone-id [zone_id] --record-name [name] --record-type [type]`


title: TLDR
content:
<b>Flash a firmware file to an ESP chip with a given port and baud rate</b>`sudo esptool.py --port [port] --baud [baud_rate] write_flash 0x0 [path/to/firmware.bin]`<br><b>Clear the flash of an ESP chip</b>`sudo esptool.py --port [port] --baud [baud_rate] erase_flash`


title: TLDR
content:
<b>Create an image using a Dockerfile or Containerfile in the specified directory</b>`podman build [path/to/directory]`<br><b>Create an image with a specified tag</b>`podman build --tag [image_name:version] [path/to/directory]`<br><b>Create an image from a non-standard file</b>`podman build --file [Containerfile.different] .`<br><b>Create an image without using any previously cached images</b>`podman build --no-cache [path/to/directory]`<br><b>Create an image suppressing all output</b>`podman build --quiet [path/to/directory]`


title: TLDR
content:
<b>List all availables queues</b>`aws sqs list-queues`<br><b>Display the URL of a specific queue</b>`aws sqs get-queue-url --queue-name [queue_name]`<br><b>Create a queue with specific attributes from a file in JSON format</b>`aws sqs create-queue --queue-name [queue_name] --attributes [file://path/to/attributes_file.json]`<br><b>Send a specific message to a queue</b>`aws sqs send-message --queue-url https://sqs.[region].amazonaws.com/[queue_name] --message-body "[message_body]" --delay-seconds [delay] --message-attributes [file://path/to/attributes_file.json]`<br><b>Delete the specified message from a queue</b>`aws sqs delete-message --queue-url [https://queue_url] --receipt-handle [receipt_handle]`<br><b>Delete a specific queue</b>`aws sqs delete-queue --queue-url https://sqs.[region].amazonaws.com/[queue_name]`<br><b>Delete all messages from the specified queue</b>`aws sqs purge-queue --queue-url https://sqs.[region].amazonaws.com/[queue_name]`<br><b>Enable a specific AWS account to send messages to queue</b>`aws sqs add-permission --queue-url https://sqs.[region].amazonaws.com/[queue_name] --label [permission_name] --aws-account-ids [account_id] --actions SendMessage`


title: TLDR
content:
<b>Generate a pre-signed URL for a specific S3 object that is valid for one hour</b>`aws s3 presign s3://[bucket_name]/[path/to/file]`<br><b>Generate a pre-signed URL valid for a specific lifetime</b>`aws s3 presign s3://[bucket_name]/[path/to/file] --expires-in [duration_in_seconds]`<br><b>Display help</b>`aws s3 presign help`


title: TLDR
content:
<b>Check the style of a file</b>`vale [path/to/file]`<br><b>Check the style of a file with a specified configuration</b>`vale --config='[path/to/.vale.ini]' [path/to/file]`<br><b>Output the results in JSON format</b>`vale --output=JSON [path/to/file]`<br><b>Check style issues at the specific severity and higher</b>`vale --minAlertLevel=[suggestion|warning|error] [path/to/file]`<br><b>Check the style from stdin, specifying markup format</b>`cat [file.md] | vale --ext=.md`<br><b>List the current configuration</b>`vale ls-config`


title: TLDR
content:
<b>Connect to a specific instance at <https://account.snowflakecomputing.com> (password can be provided in prompt or configuration file)</b>`snowsql --accountname [account] --username [username] --dbname [database] --schemaname [schema]`<br><b>Connect to an instance specified by a specific configuration file (defaults to ~/.snowsql/config)</b>`snowsql --config [path/to/configuration_file]`<br><b>Connect to the default instance using a token for multi-factor authentication</b>`snowsql --mfa-passcode [token]`<br><b>Execute a single SQL query or SnowSQL command on the default connection (useful in shell scripts)</b>`snowsql --query '[query]'`<br><b>Execute commands from a specific file on the default connection</b>`snowsql --filename [path/to/file.sql]`


title: TLDR
content:
<b>Register the current directory as a workspace</b>`git bulk --addcurrent [workspace_name]`<br><b>Register a workspace for bulk operations</b>`git bulk --addworkspace [workspace_name] /[path/to/repository]`<br><b>Clone a repository inside a specific directory, then register the repository as a workspace</b>`git bulk --addworkspace [workspace_name] /[path/to/parent_directory] --from [remote_repository_location]`<br><b>Clone repositories from a newline-separated list of remote locations, then register them as workspaces</b>`git bulk --addworkspace [workspace_name] /[path/to/root_directory] --from /[path/to/file]`<br><b>List all registered workspaces</b>`git bulk --listall`<br><b>Run a Git command on the repositories of the current workspace</b>`git bulk [command] [command_arguments]`<br><b>Remove a specific workspace</b>`git bulk --removeworkspace [workspace_name]`<br><b>Remove all workspaces</b>`git bulk --purge`


title: TLDR
content:
<b>Create an S3 bucket</b>`aws s3 mb s3://[bucket_name]`<br><b>Create an S3 bucket in a specific region</b>`aws s3 mb s3://[bucket_name] --region [region]`<br><b>Display help</b>`aws s3 mb help`


title: TLDR
content:
<b>Copy unstaged files to a specific remote</b>`git scp [remote_name]`<br><b>Copy staged and unstaged files to a remote</b>`git scp [remote_name] HEAD`<br><b>Copy files that has been changed in the last commit and any staged or unstaged files to a remote</b>`git scp [remote_name] HEAD~1`<br><b>Copy specific files to a remote</b>`git scp [remote_name] [path/to/file1 path/to/file2 ...]`<br><b>Copy a specific directory to a remote</b>`git scp [remote_name] [path/to/directory]`


title: TLDR
content:
<b>Estimate the number and the size of all emails on your Gmail account</b>`gyb --email [email@gmail.com] --action estimate`<br><b>Backup a Gmail account to a specific directory</b>`gyb --email [email@gmail.com] --action backup --local-folder [path/to/directory]`<br><b>Backup only important or starred emails from a Gmail account to the default local folder</b>`gyb --email [email@gmail.com] --search "[is:important OR is:starred]"`<br><b>Restore from a local folder to a Gmail account</b>`gyb --email [email@gmail.com] --action restore --local-folder [path/to/directory]`


title: TLDR
content:
<b>Initialize a new Dolt data repository in the current directory</b>`dolt init`<br><b>Initialize a new Dolt data repository creating a commit with the specified metadata</b>`dolt init --name "[name]" --email "[email]" --date "[2021-12-31T00:00:00]" [[-b|--initial-branch]] "[branch_name]"`


title: TLDR
content:
<b>Display version of all packages</b>`pyats version check`<br><b>Display outdated packages</b>`pyats version check --outdated`<br><b>Update packages to the most recent version</b>`pyats version update`<br><b>Update or downgrade packages to a specific version</b>`pyats version update [version]`


title: TLDR
content:
<b>Authorize twurl to access a Twitter account</b>`twurl authorize [[-c|--consumer-key]] [twitter_api_key] [[-s|--consumer-secret]] [twitter_api_secret]`<br><b>Make a GET request to an API endpoint</b>`twurl [[-X|--request-method]] GET [twitter_api_endpoint]`<br><b>Make a POST request to an API endpoint</b>`twurl [[-X|--request-method]] POST [[-d|--data]] '[endpoint_params]' [twitter_api_endpoint]`<br><b>Upload media to Twitter</b>`twurl [[-H|--host]] "[twitter_upload_url]" [[-X|--request-method]] POST "[twitter_upload_endpoint]" [[-f|--file]] "[path/to/media.jpg]" [[-F|--file-field]] "media"`<br><b>Access a different Twitter API host</b>`twurl [[-H|--host]] [twitter_api_url] [[-X|--request-method]] GET [twitter_api_endpoint]`<br><b>Create an alias for a requested resource</b>`twurl alias [alias_name] [resource]`


title: TLDR
content:
<b>Extract the password hash from an archive, listing all files in the archive</b>`zip2john [path/to/file.zip]`<br><b>Extract the password hash using [o]nly a specific compressed file</b>`zip2john -o [path/to/compressed_file] [path/to/file.zip]`<br><b>Extract the password hash from a compressed file to a specific file (for use with John the Ripper)</b>`zip2john -o [path/to/compressed_file] [path/to/file.zip] > [file.hash]`


title: TLDR
content:
<b>Scan a specific file for viruses</b>`vt scan file [path/to/file]`<br><b>Scan a URL for viruses</b>`vt scan url [url]`<br><b>Display information from a specific analysis</b>`vt analysis [file_id|analysis_id]`<br><b>Download files in encrypted Zip format (requires premium account)</b>`vt download [file_id] --output [path/to/directory] --zip --zip-password [password]`<br><b>Initialize or re-initialize vt to enter API key interactively</b>`vt init`<br><b>Display information about a domain</b>`vt domain [url]`<br><b>Display information for a specific URL</b>`vt url [url]`<br><b>Display information for a specific IP address</b>`vt domain [ip_address]`


title: TLDR
content:
<b>Calculate a hash with a password and a salt with the default parameters</b>`echo "[password]" | argon2 "[salt_text]"`<br><b>Calculate a hash with the specified algorithm</b>`echo "[password]" | argon2 "[salt_text]" -[d|i|id]`<br><b>Display the output [e]ncoded hash without additional information</b>`echo "[password]" | argon2 "[salt_text]" -e`<br><b>Calculate a hash with given iteration [t]imes, [m]emory usage, and [p]arallelism parameters</b>`echo "[password]" | argon2 "[salt_text]" -t [5] -m [20] -p [7]`


title: TLDR
content:
<b>Search for all available versions of a particular package</b>`mamba repoquery search [package]`<br><b>Search for all packages satisfying specific constraints</b>`mamba repoquery search "[sphinx<5]"`<br><b>List the dependencies of a package installed in the currently activated environment, in a tree format</b>`mamba repoquery depends [[-t|--tree]] [scipy]`<br><b>Print packages in the current environment that require a particular package to be installed (i.e. inverse of depends)</b>`mamba repoquery whoneeds [ipython]`


title: TLDR
content:
<b>Stamp the last commit message referencing it with the issue number from your bug tracker</b>`git stamp [issue_number]`<br><b>Stamp the last commit message linking it to its review page</b>`git stamp [Review https://example.org/path/to/review]`<br><b>Stamp the last commit message replacing previous issues with a new one</b>`git stamp [[-r|--replace]] [issue_number]`


title: TLDR
content:
<b>Check directories for duplicated, empty and broken files</b>`rmlint [path/to/directory1 path/to/directory2 ...]`<br><b>Check for duplicates bigger than a specific size, preferably keeping files in tagged directories (after the double slash)</b>`rmlint [[-s|--size]] [1MB] [path/to/directory] // [path/to/original_directory]`<br><b>Check for space wasters, keeping everything in the untagged directories</b>`rmlint [[-k|--keep-all-untagged]] [path/to/directory] // [path/to/original_directory]`<br><b>Delete duplicate files found by an execution of rmlint</b>`./rmlint.sh`<br><b>Find duplicate directory trees based on data, ignoring names</b>`rmlint [[-D|--merge-directories]] [path/to/directory]`<br><b>Mark files at lower path [d]epth as originals, on tie choose shorter [l]ength</b>`rmlint [[-S|--rank-by]] [dl] [path/to/directory]`<br><b>Find files with identical filename and contents, and link rather than delete the duplicates</b>`rmlint [[-c|--config]] sh:link [[-b|--match-basename]] [path/to/directory]`<br><b>Use data as master directory. Find only duplicates in backup that are also in data. Do not delete any files in data</b>`rmlint [path/to/backup] // [path/to/data] [[-k|--keep-all-tagged]] [[-m|--must-match-tagged]]`


title: TLDR
content:
<b>Create a new Cognito user pool</b>`aws cognito-idp create-user-pool --pool-name [name]`<br><b>List all user pools</b>`aws cognito-idp list-user-pools --max-results [10]`<br><b>Delete a specific user pool</b>`aws cognito-idp delete-user-pool --user-pool-id [user_pool_id]`<br><b>Create a user in a specific pool</b>`aws cognito-idp admin-create-user --username [username] --user-pool-id [user_pool_id]`<br><b>List the users of a specific pool</b>`aws cognito-idp list-users --user-pool-id [user_pool_id]`<br><b>Delete a user from a specific pool</b>`aws cognito-idp admin-delete-user --username [username] --user-pool-id [user_pool_id]`


title: TLDR
content:
<b>List all WorkMail organizations</b>`aws workmail list-organizations`<br><b>List all users of a specific organization</b>`aws workmail list-users --organization-id [organization_id]`<br><b>Create a WorkMail user in a specific organization</b>`aws workmail create-user --name [username] --display-name [name] --password [password] --organization-id [organization_id]`<br><b>Register and enable a group/user to WorkMail</b>`aws workmail register-to-work-mail --entity-id [entity_id] --email [email] --organization-id [organization_id]`<br><b>Create a WorkMail group in a specific organization</b>`aws workmail create-group --name [group_name] --organization-id [organization_id]`<br><b>Associate a member to a specific group</b>`aws workmail associate-member-to-group --group-id [group_id] --member-id [member_id] --organization-id [organization_id]`<br><b>Deregister and disable a user/group from WorkMail</b>`aws workmail deregister-from-work-mail --entity-id [entity_id] --organization-id [organization_id]`<br><b>Delete a user from an organization</b>`aws workmail delete-user --user-id [user_id] --organization-id [organization_id]`


title: TLDR
content:
<b>Launch the GUI</b>`qmmp`<br><b>Start or stop the currently playing audio</b>`qmmp [[-t|--play-pause]]`<br><b>Seek [f]or[w]ar[d]s or [b]ack[w]ar[d]s a specific amount of time in seconds</b>`qmmp --seek-[fwd|bwd] [time_in_seconds]`<br><b>Play the next audio file</b>`qmmp --next`<br><b>Play the previous audio file</b>`qmmp --previous`<br><b>Display the current volume</b>`qmmp --volume-status`<br><b>[inc]rease or [dec]rease the volume of the currently playing audio by 5%</b>`qmmp --volume-[inc|dec]`


title: TLDR
content:
<b>Run full benchmark</b>`redis-benchmark`<br><b>Run benchmark on a specific Redis server</b>`redis-benchmark -h [host] -p [port] -a [password]`<br><b>Run a subset of tests with default 100000 requests</b>`redis-benchmark -h [host] -p [port] -t [set,lpush] -n [100000]`<br><b>Run with a specific script</b>`redis-benchmark -n [100000] script load "[redis.call('set', 'foo', 'bar')]"`<br><b>Run benchmark by using 100000 [r]andom keys</b>`redis-benchmark -t [set] -r [100000]`<br><b>Run benchmark by using a [P]ipelining of 16 commands</b>`redis-benchmark -n [1000000] -t [set,get] -P [16]`<br><b>Run benchmark [q]uietly and only show query per seconds result</b>`redis-benchmark -q`


title: TLDR
content:
<b>List all feeds</b>`r2e list`<br><b>Convert RSS entries to email</b>`r2e run`<br><b>Add a feed</b>`r2e add [feed_address]`<br><b>Add a feed with a specific email address</b>`r2e add [feed_address] [new_email@example.com]`<br><b>Delete a specific feed</b>`r2e delete [number_of_feed_in_list]`<br><b>Display help</b>`r2e [[-h|--help]]`


title: TLDR
content:
<b>Compress a specific PNG as much as possible and write result to a new file</b>`pngquant [path/to/file.png]`<br><b>Compress a specific PNG and override original</b>`pngquant --ext .png --force [path/to/file.png]`<br><b>Try to compress a specific PNG with custom quality (skip if below the min value)</b>`pngquant --quality [0-100] [path/to/file.png]`<br><b>Compress a specific PNG with the number of colors reduced to 64</b>`pngquant [64] [path/to/file.png]`<br><b>Compress a specific PNG and skip if the file is larger than the original</b>`pngquant --skip-if-larger [path/to/file.png]`<br><b>Compress a specific PNG and remove metadata</b>`pngquant --strip [path/to/file.png]`<br><b>Compress a specific PNG and save it to the given path</b>`pngquant [path/to/file.png] --output [path/to/file.png]`<br><b>Compress a specific PNG and show progress</b>`pngquant --verbose [path/to/file.png]`


title: TLDR
content:
<b>Create a new environment, installing the specified packages into it</b>`mamba create [[-n|--name]] [environment_name] [python=3.10 matplotlib]`<br><b>Install packages into the current environment, specifying the package channel</b>`mamba install [[-c|--channel]] [conda-forge] [python=3.6 numpy]`<br><b>Update all packages in the current environment</b>`mamba update [[-a|--all]]`<br><b>Search for a specific package across repositories</b>`mamba repoquery search [numpy]`<br><b>List all environments</b>`mamba info [[-e|--envs]]`<br><b>Remove unused packages and tarballs from the cache</b>`mamba clean [[-pt|--packages --tarballs]]`<br><b>Activate an environment</b>`mamba activate [environment_name]`<br><b>List all installed packages in the currently activated environment</b>`mamba list`


title: TLDR
content:
<b>Run tests from specific files</b>`pytest [path/to/test_file1.py path/to/test_file2.py ...]`<br><b>Run tests with names matching a specific [k]eyword expression</b>`pytest -k [expression]`<br><b>Exit as soon as a test fails or encounters an error</b>`pytest --exitfirst`<br><b>Run tests matching or excluding markers</b>`pytest -m [marker_name1 and not marker_name2]`<br><b>Run until a test failure, continuing from the last failing test</b>`pytest --stepwise`<br><b>Run tests without capturing output</b>`pytest --capture=no`<br><b>Run tests with increased [v]erbosity, displaying individual test names</b>`pytest -v`


title: TLDR
content:
<b>Show information for IPv4 and IPv6 sockets for both listening and connected sockets</b>`sockstat`<br><b>Show information for IPv[4]/IPv[6] sockets [l]istening on specific [p]orts using a specific p[R]otocol</b>`sockstat -[4|6] -l -R [tcp|udp|raw|unix] -p [port1,port2...]`<br><b>Also show [c]onnected sockets and [u]nix sockets</b>`sockstat -cu`<br><b>Only show sockets of the specified pid or process</b>`sockstat -P [pid|process]`<br><b>Only show sockets of the specified uid or user</b>`sockstat -U [uid|user]`<br><b>Only show sockets of the specified gid or group</b>`sockstat -G [gid|group]`


title: TLDR
content:
<b>Run a single query</b>`dolt sql [[-q|--query]] "[INSERT INTO t values (1, 3);]"`<br><b>List all saved queries</b>`dolt sql [[-l|--list-saved]]`


title: TLDR
content:
<b>Start an interactive session</b>`octave`<br><b>Execute a specific script file</b>`octave [path/to/script.m]`<br><b>Execute a script file with specific arguments</b>`octave [path/to/script.m] [argument1 argument2 ...]`<br><b>Start an interactive session with a GUI</b>`octave --gui`<br><b>Display help</b>`octave --help`<br><b>Display version</b>`octave --version`


title: TLDR
content:
<b>Start Flips to create and apply patches interactively</b>`flips`<br><b>Apply a patch and create a new ROM file</b>`flips --apply [patch.bps] [rom.smc] [hack.smc]`<br><b>Create a patch from two ROMs</b>`flips --create [rom.smc] [hack.smc] [patch.bps]`


title: TLDR
content:
<b>Open pyATS shell with a defined Testbed file</b>`pyats shell --testbed-file [path/to/testbed.yaml]`<br><b>Open pyATS shell with a defined Pickle file</b>`pyats shell --pickle-file [path/to/pickle.file]`<br><b>Open pyATS with IPython disabled</b>`pyats shell --no-ipython`


title: TLDR
content:
<b>Copy a file from local to a specific bucket</b>`aws s3 cp [path/to/file] s3://[bucket_name]/[path/to/remote_file]`<br><b>Copy a specific S3 object into another bucket</b>`aws s3 cp s3://[bucket_name1]/[path/to/file] s3://[bucket_name2]/[path/to/target]`<br><b>Copy a specific S3 object into another bucket keeping the original name</b>`aws s3 cp s3://[bucket_name1]/[path/to/file] s3://[bucket_name2]`<br><b>Copy S3 objects to a local directory recursively</b>`aws s3 cp s3://[bucket_name] . --recursive`<br><b>Display help</b>`aws s3 cp help`


title: TLDR
content:
<b>Build a specific C project in the current directory</b>`verilator --binary --build-jobs 0 -Wall [path/to/source.v]`<br><b>Create a C++ executable in a specific folder</b>`verilator --cc --exe --build --build-jobs 0 -Wall [path/to/source.cpp] [path/to/output.v]`<br><b>Perform linting over a code in the current directory</b>`verilator --lint-only -Wall`<br><b>Create XML output about the design (files, modules, instance hierarchy, logic and data types) to feed into other tools</b>`verilator --xml-output -Wall [path/to/output.xml]`


title: TLDR
content:
<b>Incorporate changes from the named commits into the current branch</b>`dolt merge [branch_name]`<br><b>Incorporate changes from the named commits into the current branch without updating the commit history</b>`dolt merge --squash [branch_name]`<br><b>Merge a branch and create a merge commit even when the merge resolves as a fast-forward</b>`dolt merge --no-ff [branch_name]`<br><b>Merge a branch and create a merge commit with a specific commit message</b>`dolt merge --no-ff [[-m|--message]] "[message]" [branch_name]`<br><b>Abort the current conflict resolution process</b>`dolt merge --abort`


title: TLDR
content:
<b>List all virtual private servers, or instances</b>`aws lightsail get-instances`<br><b>List all bundles (instance plans)</b>`aws lightsail list-bundles`<br><b>List all available instance images, or blueprints</b>`aws lightsail list-blueprints`<br><b>Create an instance</b>`aws lightsail create-instances --instance-names [name] --availability-zone [region] --bundle-id [nano_2_0] --blueprint-id [blueprint_id]`<br><b>Print the state of a specific instance</b>`aws lightsail get-instance-state --instance-name [name]`<br><b>Stop a specific instance</b>`aws lightsail stop-instance --instance-name [name]`<br><b>Delete a specific instance</b>`aws lightsail delete-instance --instance-name [name]`


title: TLDR
content:
<b>Start an authenticated session</b>`kcadm.sh config credentials --server [host] --realm [realm_name] --user [username] --password [password]`<br><b>Create a user</b>`kcadm.sh create users -s username=[username] -r [realm_name]`<br><b>List all realms</b>`kcadm.sh get realms`<br><b>Update a realm with JSON config</b>`kcadm.sh update realms/[realm_name] -f [path/to/file.json]`


title: TLDR
content:
<b>Use symbol definitions from a file</b>`gnatprep [source_file] [target_file] [definitions_file]`<br><b>Specify symbol values in the command-line</b>`gnatprep -D[name]=[value] [source_file] [target_file]`


title: TLDR
content:
<b>List regions that support Kubernetes clusters</b>`doctl [[k|kubernetes]] [[o|options]] [[r|regions]]`<br><b>List machine sizes that can be used in a Kubernetes cluster</b>`doctl [[k|kubernetes]] [[o|options]] [[s|sizes]]`<br><b>List Kubernetes versions that can be used with DigitalOcean clusters</b>`doctl [[k|kubernetes]] [[o|options]] [[v|versions]]`


title: TLDR
content:
<b>Generate a configuration file on very first run and display help</b>`spicetify`<br><b>Backup and preprocess Spotify application files</b>`spicetify backup`<br><b>Print all configuration fields and values</b>`spicetify config`<br><b>Change the value of a configuration field</b>`spicetify config [field] [value]`<br><b>Apply the customization changes to Spotify</b>`spicetify apply`<br><b>Restore Spotify to its original state</b>`spicetify restore`


title: TLDR
content:
<b>Create a Kubernetes cluster</b>`doctl [[k|kubernetes]] [[c|cluster]] [[c|create]] --count [3] --region [nyc1] --size [s-1vcpu-2gb] --version [latest] [cluster_name]`<br><b>List all Kubernetes clusters</b>`doctl [[k|kubernetes]] [[c|cluster]] [[ls|list]]`<br><b>Fetch and save the kubeconfig</b>`doctl [[k|kubernetes]] [[c|cluster]] [[cfg|kubeconfig]] [[s|save]] [cluster_name]`<br><b>Check for available upgrades</b>`doctl [[k|kubernetes]] [[c|cluster]] [[gu|get-upgrades]] [cluster_name]`<br><b>Upgrade a cluster to a new Kubernetes version</b>`doctl [[k|kubernetes]] [[c|cluster]] upgrade [cluster_name]`<br><b>Delete a cluster</b>`doctl [[k|kubernetes]] [[c|cluster]] [[d|delete]] [cluster_name]`


title: TLDR
content:
<b>Decompress a specific file</b>`ouch decompress [path/to/archive.tar.xz]`<br><b>Decompress a file to a specific location</b>`ouch decompress [path/to/archive.tar.xz] --dir [path/to/directory]`<br><b>Decompress multiple files</b>`ouch decompress [path/to/archive1.tar path/to/archive2.tar.gz ...]`<br><b>Compress files</b>`ouch compress [path/to/file1 path/to/file2 ...] [path/to/archive.zip]`


title: TLDR
content:
<b>Merge a source branch into a specific destination branch</b>`git merge-into [source_branch] [destination_branch]`<br><b>Merge current branch into a specific destination branch</b>`git merge-into [destination_branch]`


title: TLDR
content:
<b>Upload to PyPI</b>`twine upload dist/*`<br><b>Upload to the Test PyPI repository to verify things look right</b>`twine upload [[-r|--repository]] testpypi dist/*`<br><b>Upload to PyPI with a specified username and password</b>`twine upload [[-u|--username]] [username] [[-p|--password]] [password] dist/*`<br><b>Upload to an alternative repository URL</b>`twine upload --repository-url [repository_url] dist/*`<br><b>Check that your distribution's long description should render correctly on PyPI</b>`twine check dist/*`<br><b>Upload using a specific pypirc configuration file</b>`twine upload --config-file [configuration_file] dist/*`<br><b>Continue uploading files if one already exists (only valid when uploading to PyPI)</b>`twine upload --skip-existing dist/*`<br><b>Upload to PyPI showing detailed information</b>`twine upload --verbose dist/*`


title: TLDR
content:
<b>List available runtimes for a web application</b>`az webapp list-runtimes [[-os|--os-type]] [windows|linux]`<br><b>Create a web application</b>`az webapp up [[-n|--name]] [name] [[-l|--location]] [location] [[-r|--runtime]] [runtime]`<br><b>List all web applications</b>`az webapp list`<br><b>Delete a specific web application</b>`az webapp delete [[-n|--name]] [name] [[-g|--resource-group]] [resource_group]`


title: TLDR
content:
<b>List existing machines</b>`podman machine ls`<br><b>Create a new default machine</b>`podman machine init`<br><b>Create a new machine with a specific name</b>`podman machine init [name]`<br><b>Create a new machine with different resources</b>`podman machine init --cpus=[4] --memory=[4096] --disk-size=[50]`<br><b>Start or stop a machine</b>`podman machine [start|stop] [name]`<br><b>Connect to a running machine via SSH</b>`podman machine ssh [name]`<br><b>Inspect information about a machine</b>`podman machine inspect [name]`


title: TLDR
content:
<b>Move a file from local to a specified bucket</b>`aws s3 mv [path/to/local_file] s3://[bucket_name]/[path/to/remote_file]`<br><b>Move a specific S3 object into another bucket</b>`aws s3 mv s3://[bucket_name1]/[path/to/file] s3://[bucket_name2]/[path/to/target]`<br><b>Move a specific S3 object into another bucket keeping the original name</b>`aws s3 mv s3://[bucket_name1]/[path/to/file] s3://[bucket_name2]`<br><b>Display help</b>`aws s3 mv help`


title: TLDR
content:
<b>Connect local serverless support to a functions namespace</b>`doctl [[sls|serverless]] connect`<br><b>Deploy a functions project to your functions namespace</b>`doctl [[sls|serverless]] deploy`<br><b>Obtain metadata of a functions project</b>`doctl [[sls|serverless]] get-metadata`<br><b>Provide information about serverless support</b>`doctl [[sls|serverless]] status`


title: TLDR
content:
<b>Inspect a remote image from a registry</b>`skopeo inspect docker://[registry_hostname]/[image:tag]`<br><b>List available tags for a remote image</b>`skopeo list-tags docker://[registry_hostname]/[image]`<br><b>Download an image from a registry</b>`skopeo copy docker://[registry_hostname]/[image:tag] dir:[path/to/directory]`<br><b>Copy an image from one registry to another</b>`skopeo copy docker://[source_registry]/[image:tag] docker://[destination_registry]/[image:tag]`<br><b>Delete an image from a registry</b>`skopeo delete docker://[registry_hostname]/[image:tag]`<br><b>Log in to a registry</b>`skopeo login --username [username] [registry_hostname]`


title: TLDR
content:
<b>Authorize a Salesforce Organization</b><br>`sfdx force:auth:web:login --setalias [organization] --instanceurl [organization_url]`<br><br><b>List all authorized organizations</b><br>`sfdx force:org:list`<br><br><b>Open a specific organization in the default web browser</b><br>`sfdx force:org:open --targetusername [organization]`<br><br><b>Display information about a specific organization</b><br>`sfdx force:org:display --targetusername [organization]`<br><br><b>Push source metadata to an Organization</b><br>`sfdx force:source:push --targetusername [organization]`<br><br><b>Pull source metadata from an Organization</b><br>`sfdx force:source:pull --targetusername [organization]`<br><br><b>Generate a password for the organization's logged-in user</b><br>`sfdx force:user:password:generate --targetusername [organization]`<br><br><b>Assign a permission set for the organization's logged-in user</b><br>`sfdx force:user:permset:assign --permsetname [permission_set_name] --targetusername [organization]`<br>


title: TLDR
content:
<b>Disassemble and list one or more .class files</b>`javap [path/to/file1.class path/to/file2.class ...]`<br><b>Disassemble and list a built-in class file</b>`javap java.[package].[class]`<br><b>Display help</b>`javap -help`<br><b>Display version</b>`javap -version`


title: TLDR
content:
<b>Show events from a specific binary log file</b>`mysqlbinlog [path/to/binlog]`<br><b>Show entries from a binary log for a specific database</b>`mysqlbinlog --database [database_name] [path/to/binlog]`<br><b>Show events from a binary log between specific dates</b>`mysqlbinlog --start-datetime='[2022-01-01 01:00:00]' --stop-datetime='[2022-02-01 01:00:00]' [path/to/binlog]`<br><b>Show events from a binary log between specific positions</b>`mysqlbinlog --start-position=[100] --stop-position=[200] [path/to/binlog]`<br><b>Show binary log from a MySQL server on the given host</b>`mysqlbinlog --host=[hostname] [path/to/binlog]`


title: TLDR
content:
<b>Fetch the latest changes from the default remote upstream repository (origin)</b>`dolt fetch`<br><b>Fetch latest changes from a specific remote upstream repository</b>`dolt fetch [remote_name]`<br><b>Update branches with the current state of the remote, overwriting any conflicting history</b>`dolt fetch -f`


title: TLDR
content:
<b>Display the serialVersionUID of a class</b>`serialver [classnames]`<br><b>Display the serialVersionUID for a colon-separated list of classes and resources</b>`serialver -classpath [path/to/directory] [classname1:classname2:...]`<br><b>Use a specific option from reference page of Java application launcher to the Java Virtual Machine</b>`serialver -Joption [classnames]`


title: TLDR
content:
<b>Display information about installed nest version</b>`nest [[i|info]]`<br><b>Create a new NestJS project in a directory of the same name</b>`nest [[n|new]] [project_name]`<br><b>Build a specific NestJS project</b>`nest build [project_name]`<br><b>Run a specific NestJS project</b>`nest start [project_name]`<br><b>Import a library into the current NestJS project</b>`nest add [library_name]`<br><b>Generate a new component</b>`nest [[g|generate]] [module|controller|service|...] [component_name]`<br><b>Display help</b>`nest`


title: TLDR
content:
<b>Build the specified target in the workspace</b>`bazel build [target]`<br><b>Remove output files and stop the server if running</b>`bazel clean`<br><b>Stop the bazel server</b>`bazel shutdown`<br><b>Display runtime info about the bazel server</b>`bazel info`<br><b>Display help</b>`bazel help`<br><b>Display version</b>`bazel version`


title: TLDR
content:
<b>Remake the configuration file storing into a specific location</b><br>`tlmgr generate --dest [output_file]`<br><br><b>Remake the configuration file using a local configuration file</b><br>`tlmgr generate --localcfg [local_configuration_file]`<br><br><b>Run necessary programs after rebuilding configuration files</b><br>`tlmgr generate --rebuild-sys`<br>


title: TLDR
content:
<b>Login to a Railway account</b>`railway login`<br><b>Link to an existing Project under a Railway account or team</b>`railway link [projectId]`<br><b>Create a new project</b>`railway init`<br><b>Run a local command using variables from the active environment</b>`railway run [cmd]`<br><b>Deploy the linked project directory (if running from a subdirectory, the project root is still deployed)</b>`railway up`<br><b>Open an interactive shell to a database</b>`railway connect`


title: TLDR
content:
<b>List all available voices</b>`flite -lv`<br><b>Convert a text string to speech</b>`flite -t "[string]"`<br><b>Convert the contents of a file to speech</b>`flite -f [path/to/file.txt]`<br><b>Use the specified voice</b>`flite -voice [file://path/to/filename.flitevox|url]`<br><b>Store output into a wav file</b>`flite -voice [file://path/to/filename.flitevox|url] -f [path/to/file.txt] -o [output.wav]`<br><b>Display version</b>`flite --version`


title: TLDR
content:
<b>Check dotfile status</b>`tuckr status`<br><b>Add all dotfiles to system</b>`tuckr add \*`<br><b>Add all dotfiles except specified programs</b>`tuckr add \* -e [program1],[program2]`<br><b>Remove all dotfiles from the system</b>`tuckr rm \*`<br><b>Add a program dotfile and run its setup script</b>`tuckr set [program]`


title: TLDR
content:
<b>Create a cluster</b>`k3d cluster create [cluster_name]`<br><b>Delete a cluster</b>`k3d cluster delete [cluster_name]`<br><b>Create a new containerized k3s node</b>`k3d node create [node_name]`<br><b>Import an image from Docker into a k3d cluster</b>`k3d image import [image_name] --cluster [cluster_name]`<br><b>Create a new registry</b>`k3d registry create [registry_name]`


title: TLDR
content:
<b>Clone a Git repository into a new directory</b>`git force-clone [remote_repository_location] [path/to/directory]`<br><b>Clone a Git repository into a new directory, checking out an specific branch</b>`git force-clone [[-b|--branch]] [branch_name] [remote_repository_location] [path/to/directory]`<br><b>Clone a Git repository into an existing directory of a Git repository, performing a force-reset to resemble it to the remote and checking out an specific branch</b>`git force-clone [[-b|--branch]] [branch_name] [remote_repository_location] [path/to/directory]`


title: TLDR
content:
<b>Delete a specific S3 object</b>`aws s3 rm s3://[bucket_name]/[path/to/file]`<br><b>Preview the deletion of a specific S3 object without deleting it (dry-run)</b>`aws s3 rm s3://[bucket_name]/[path/to/file] --dryrun`<br><b>Delete an object from a specific S3 access point</b>`aws s3 rm s3://arn:aws:s3:[region]:[account_id]:[access_point]/[access_point_name]/[object_key]`<br><b>Remove all objects from a bucket (empty the bucket)</b>`aws s3 rm s3://[bucket_name] --recursive`<br><b>Display help</b>`aws s3 rm help`


title: TLDR
content:
<b>Crack the password</b>`bully [[-b|--bssid]] "[mac]" [[-c|--channel]] "[channel]" [[-B|--bruteforce]] "[interface]"`<br><b>Display help</b>`bully [[-h|--help]]`


title: TLDR
content:
<b>Walk the SNMP tree of host with public string querying all OIDs under .1.3.6</b>`braa public@[ip]:[.1.3.6.*]`<br><b>Query the whole subnet ip_range for system.sysLocation.0</b>`braa public@[ip_range]:[.1.3.6.1.2.1.1.6.0]`<br><b>Attempt to set the value of system.sysLocation.0 to a specific workgroup</b>`braa private@[ip]:[.1.3.6.1.2.1.1.6.0]=s'[workgroup]'`


title: TLDR
content:
<b>Display system cracking speed</b>`pyrit benchmark`<br><b>List available cores</b>`pyrit list_cores`<br><b>Set [e]SSID</b>`pyrit -e "[ESSID]" create_essid`<br><b>[r]ead and analyze a specific packet capture file</b>`pyrit -r [path/to/file.cap|path/to/file.pcap] analyze`<br><b>Read and [i]mport passwords to the current database</b>`pyrit -i [path/to/file] [import_unique_passwords|unique_passwords|import_passwords]`<br><b>Exp[o]rt passwords from database to a specific file</b>`pyrit -o [path/to/file] export_passwords`<br><b>Translate passwords with Pired Master Keys</b>`pyrit batch`<br><b>[r]ead the capture file and crack the password</b>`pyrit -r [path/to/file] attack_db`


title: TLDR
content:
<b>Run a subshell asynchronously</b>`coproc { [command1; command2; ...]; }`<br><b>Create a coprocess with a specific name</b>`coproc [name] { [command1; command2; ...]; }`<br><b>Write to a specific coprocess stdin</b>`echo "[input]" >&"$[{name[1]]}"`<br><b>Read from a specific coprocess stdout</b>`read <&"$[{name[0]]}" [variable]`<br><b>Create a coprocess which repeatedly reads stdin and runs some commands on the input</b>`coproc [name] { while read [line]; do [command1; command2; ...]; done }`<br><b>Create a coprocess which repeatedly reads stdin, runs a pipeline on the input, and writes the output to stdout</b>`coproc [name] { while read [line]; do [echo "$line"] | [command1 | command2 | ...] | cat /dev/fd/0; done }`<br><b>Create and use a coprocess running bc</b>`coproc BC { bc --mathlib; }; echo "1/3" >&"${BC[1]}"; read <&"${BC[0]}" output; echo "$output"`


title: TLDR
content:
<b>Print the best common ancestor of two commits</b>`git merge-base [commit_1] [commit_2]`<br><b>Print all best common ancestors of two commits</b>`git merge-base [[-a|--all]] [commit_1] [commit_2]`<br><b>Check if a commit is an ancestor of a specific commit</b>`git merge-base --is-ancestor [ancestor_commit] [commit]`


title: TLDR
content:
<b>Show command-line for a specific virtual machine</b>`qm [[sho|showcmd]] [vm_id]`<br><b>Put each option on a new line to enhance human readability</b>`qm [[sho|showcmd]] --pretty [true] [vm_id]`<br><b>Fetch configuration values from a specific snapshot</b>`qm [[sho|showcmd]] --snapshot [string] [vm_id]`


title: TLDR
content:
<b>List all the suboptions for a specific option</b>`virt-xml --[option]=?`<br><b>List all the suboptions for disk, network, and boot</b>`virt-xml --disk=? --network=? --boot=?`<br><b>Edit a value for a specific domain</b>`virt-xml [domain] --edit --[option] [suboption]=[new_value]`<br><b>Change the description for a specific domain</b>`virt-xml [domain] --edit --metadata description="[new_description]"`<br><b>Enable/Disable the boot device menu for a specific domain</b>`virt-xml [domain] --edit --boot bootmenu=[on|off]`<br><b>Attach host USB hub to a running VM (run lsusb to see a list of USB devices with their IDs)</b>`virt-xml [domain] --update --add-device --hostdev [bus].[device]`


title: TLDR
content:
<b>Launch virt-viewer with a prompt to select running virtual machines</b>`virt-viewer`<br><b>Launch virt-viewer for a specific virtual machine by ID, UUID or name</b>`virt-viewer "[domain]"`<br><b>Wait for a virtual machine to start and automatically reconnect if it shutdown and restarts</b>`virt-viewer --reconnect --wait "[domain]"`<br><b>Connect to a specific remote virtual machine over TLS</b>`virt-viewer --connect "xen//[url]" "[domain]"`<br><b>Connect to a specific remote virtual machine over SSH</b>`virt-viewer --connect "qemu+ssh//[username]@[url]/system" "[domain]"`


title: TLDR
content:
<b>Add packages to the local image (Note: After executing this command, you need to apply these changes.)</b>`sudo abroot pkg add [package]`<br><b>Remove packages from the local image (Note: After executing this command, you need to apply these changes.)</b>`sudo abroot pkg remove [package]`<br><b>List packages in the local image</b>`sudo abroot pkg list`<br><b>Apply changes in the local image (Note: You need to reboot your system for these changes to be applied)</b>`sudo abroot pkg apply`<br><b>Rollback your system to previous state</b>`sudo abroot rollback`<br><b>Edit/View kernel parameters</b>`sudo abroot kargs [edit|show]`<br><b>Display status</b>`sudo abroot status`<br><b>Display help</b>`abroot [[-h|--help]]`


title: TLDR
content:
<b>List all genres</b>`id3v2 [[-L|--list-genres]]`<br><b>List all tags of specific files</b>`id3v2 [[-l|--list]] [path/to/file1 path/to/file2 ...]`<br><b>Delete all id3v2 or id3v1 tags of specific files</b>`id3v2 [--delete-v2|--delete-v1] [path/to/file1 path/to/file2 ...]`<br><b>Display help</b>`id3v2 [[-h|--help]]`<br><b>Display version</b>`id3v2 [[-v|--version]]`


title: TLDR
content:
<b>Set output column count to a specific value</b>`img2txt [[-W|--width]] [10] [path/to/image]`<br><b>Set output line count to a specific value</b>`img2txt [[-H|--height]] [5] [path/to/image]`<br><b>Set output font width to a specific value</b>`img2txt [[-x|--font-width]] [12] [path/to/image]`<br><b>Set output font height to a specific value</b>`img2txt [[-y|--font-height]] [14] [path/to/image]`<br><b>Set image brightness to a specific value</b>`img2txt [[-b|--brightness]] [2] [path/to/image]`


title: TLDR
content:
<b>Execute a specific command via a guest agent</b>`qm [[g|guest]] exec [vm_id] [command] [argument1 argument2 ...]`<br><b>Execute a specific command via a guest agent asynchronously</b>`qm [[g|guest]] exec [vm_id] [argument1 argument2 ...] --synchronous 0`<br><b>Execute a specific command via a guest agent with a specified timeout of 10 seconds</b>`qm [[g|guest]] exec [vm_id] [argument1 argument2...] --timeout [10]`<br><b>Execute a specific command via a guest agent and forward input from stdin until EOF to the guest agent</b>`qm [[g|guest]] exec [vm_id] [argument1 argument2 ...] --pass-stdin 1`


title: TLDR
content:
<b>Upscale an image</b>`waifu2x-ncnn-vulkan -i [path/to/input_file] -o [path/to/output_file]`<br><b>Upscale an image by a custom scale factor and denoise it</b>`waifu2x-ncnn-vulkan -i [path/to/input_file] -o [path/to/output_file] -s [1|2|4|8|16|32] -n [-1|0|1|2|3]`<br><b>Save the upscaled image in a specific format</b>`waifu2x-ncnn-vulkan -i [path/to/input_file] -o [path/to/output_file] -f [jpg|png|webp]`


title: TLDR
content:
<b>Launch the flowchart and diagram application</b>`calligraflow`<br><b>Open a specific file</b>`calligraflow [path/to/file]`<br><b>Display help or version</b>`calligraflow --[help|version]`


title: TLDR
content:
<b>Discover specific directories and files that match in the wordlist with extensions and 100 threads and a random user-agent</b>`feroxbuster --url "[https://example.com]" --wordlist [path/to/file] --threads [100] --extensions "[php,txt]" --random-agent`<br><b>Enumerate directories without recursion through a specific proxy</b>`feroxbuster --url "[https://example.com]" --wordlist [path/to/file] --no-recursion --proxy "[http://127.0.0.1:8080]"`<br><b>Find links in webpages</b>`feroxbuster --url "[https://example.com]" --extract-links`<br><b>Filter by a specific status code and a number of chars</b>`feroxbuster --url "[https://example.com]" --filter-status [301] --filter-size [4092]`


title: TLDR
content:
<b>List tables in the current project</b>`cbt ls`<br><b>Print count of rows in a specific table in the current project</b>`cbt count "[table_name]"`<br><b>Display a single row from a specific table with only 1 (most recent) cell revision per column in the current project</b>`cbt lookup "[table_name]" "[row_key]" cells-per-column=[1]`<br><b>Display a single row with only specific column(s) (omit qualifier to return entire family) in the current project</b>`cbt lookup "[table_name]" "[row_key]" columns="[family1:qualifier1,family2:qualifier2,...]"`<br><b>Search up to 5 rows in the current project by a specific regex pattern and print them</b>`cbt read "[table_name]" regex="[row_key_pattern]" count=[5]`<br><b>Read a specific range of rows and print only returned row keys in the current project</b>`cbt read [table_name] start=[start_row_key] end=[end_row_key] keys-only=true`


title: TLDR
content:
<b>Display available options</b>`clangd --help`<br><b>List of available options</b>`clangd --help-list`<br><b>Display version</b>`clangd --version`


title: TLDR
content:
<b>Create an empty file of 15 kilobytes</b>`mkfile -n [15k] [path/to/file]`<br><b>Create a file of a given size and unit (bytes, KB, MB, GB)</b>`mkfile -n [size][b|k|m|g] [path/to/file]`<br><b>Create two files of 4 megabytes each</b>`mkfile -n [4m] [first_filename] [second_filename]`


title: TLDR
content:
<b>Run gcpdiag on your project, returning all rules</b>`gcpdiag lint --project=[gcp_project_id]`<br><b>Hide rules that are ok</b>`gcpdiag lint --project=[gcp_project_id] --hide-ok`<br><b>Authenticate using a service account private key file</b>`gcpdiag lint --project=[gcp_project_id] --auth-key [path/to/private_key]`<br><b>Search logs and metrics from a number of days back (default: 3 days)</b>`gcpdiag lint --project=[gcp_project_id] --within-days [number]`<br><b>Display help</b>`gcpdiag lint --help`


title: TLDR
content:
<b>Return BackupPlan details for a specific BackupPlanId</b>`aws backup get-backup-plan --backup-plan-id [id]`<br><b>Create a backup plan using a specific backup plan name and backup rules</b>`aws backup create-backup-plan --backup-plan [plan]`<br><b>Delete a specific backup plan</b>`aws backup delete-backup-plan --backup-plan-id [id]`<br><b>List all active backup plans for the current account</b>`aws backup list-backup-plans`<br><b>Display details about your report jobs</b>`aws backup list-report-jobs`


title: TLDR
content:
<b>Print the contents of the system PATH variable, with one element per line</b>`lspath`<br><b>Print the current contents of the system PATH variable, with one element per line, with the output paged</b>`lspath --page`


title: TLDR
content:
<b>Capture a screenshot of the entire desktop</b>`spectacle`<br><b>Capture a screenshot of the active window</b>`spectacle [[-a|--activewindow]]`<br><b>Capture a screenshot of a specific region</b>`spectacle [[-r|--region]]`<br><b>Start another Spectacle instance so that you can screenshot Spectacle itself</b>`spectacle [[-i|--new-instance]]`


title: TLDR
content:
<b>Launch the word processor application</b>`calligrawords`<br><b>Open a specific document</b>`calligrawords [path/to/document]`<br><b>Display help or version</b>`calligrawords --[help|version]`


title: TLDR
content:
<b>Use a specific extension (default: aff)</b>`afconvert -a [extension] [path/to/input_file] [path/to/output_file1 path/to/output_file2 ...]`<br><b>Use a specific compression level (default: 7)</b>`afconvert -X[0..7] [path/to/input_file] [path/to/output_file1 path/to/output_file2 ...]`


title: TLDR
content:
<b>Start the video editor</b>`kdenlive`<br><b>Open a specific file</b>`kdenlive [path/to/file.kdenlive]`<br><b>Use a specific path for an MLT environment</b>`kdenlive --mlt-path [path/to/directory]`<br><b>Use a specific log level for an MLT environment</b>`kdenlive --mlt-log [verbose|debug]`<br><b>Display help</b>`kdenlive --help`<br><b>Display version</b>`kdenlive --version`


title: TLDR
content:
<b>Launch the presentation application</b>`calligrastage`<br><b>Open a specific presentation</b>`calligrastage [path/to/presentation]`<br><b>Display help or version</b>`calligrastage --[help|version]`


title: TLDR
content:
<b>Create MicroVM based on Fedora</b>`krunvm create [docker.io/fedora] --cpus [number_of_vcpus] --mem [memory_in_megabytes] --name "[name]"`<br><b>Start a specific image</b>`krunvm start "[image_name]"`<br><b>List images</b>`krunvm list`<br><b>Change a specific image</b>`krunvm changevm --cpus [number_of_vcpus] --mem [memory_in_megabytes] --name "[new_vm_name]" "[current_vm_name]"`<br><b>Delete a specific image</b>`krunvm delete "[image_name]"`


title: TLDR
content:
<b>Launch the GUI</b>`audacious`<br><b>Start a new instance and play an audio</b>`audacious --new-instance [path/to/audio]`<br><b>Enqueue a specific directory of audio files</b>`audacious --enqueue [path/to/directory]`<br><b>Start or stop playback</b>`audacious --play-pause`<br><b>Skip forwards ([fwd]) or backwards ([rew]) in the playlist</b>`audacious --[fwd|rew]`<br><b>Stop playback</b>`audacious --stop`<br><b>Start in CLI mode (headless)</b>`audacious --headless`<br><b>Exit as soon as playback stops or there is nothing to playback</b>`audacious --quit-after-play`


title: TLDR
content:
<b>List duplicate or similar files in specific directories</b>`czkawka-cli [dup|image] --directories [path/to/directory1 path/to/directory2 ...]`<br><b>Find duplicate files in specific directories and delete them (default: NONE)</b>`czkawka-cli dup --directories [path/to/directory1 path/to/directory2 ...] --delete-method [AEN|AEO|ON|OO|HARD|NONE]`


title: TLDR
content:
<b>Index paths recursively for the very first run</b>`scd -ar [path/to/directory]`<br><b>Change to a specific directory</b>`scd [path/to/directory]`<br><b>Change to a path matching specific patterns</b>`scd "[pattern1 pattern2 ...]"`<br><b>Show selection menu and ranking of 20 most likely directories</b>`scd -v`<br><b>Add a specific alias for the current directory</b>`scd --alias=[word]`<br><b>Change to a directory using a specific alias</b>`scd [word]`


title: TLDR
content:
<b>Launch the spreadsheet application</b>`calligrasheets`<br><b>Open a specific spreadsheet</b>`calligrasheets [path/to/spreadsheet]`<br><b>Display help or version</b>`calligrasheets --[help|version]`


title: TLDR
content:
<b>Setup using npm 6.x</b>`npm create vite@latest my-react-app --template react-ts`<br><b>Setup using npm 7+, extra double-dash is needed</b>`npm create vite@latest my-react-app -- --template react-ts`<br><b>Setup using yarn</b>`yarn create vite my-react-app --template react-ts`<br><b>Setup using pnpm</b>`pnpm create vite my-react-app --template react-ts`


title: TLDR
content:
<b>Set the default boot entry to an entry number, name or identifier</b>`sudo grub-set-default [entry_number]`<br><b>Set the default boot entry to an entry number, name or identifier for an alternative boot directory</b>`sudo grub-set-default --boot-directory /[path/to/boot_directory] [entry_number]`


title: TLDR
content:
<b>Resolve a local service to its IPv4</b>`avahi-resolve -4 [[-n|--name]] [service.local]`<br><b>Resolve an IP to a hostname, verbosely</b>`avahi-resolve [[-v|--verbose]] [[-a|--address]] [IP]`


title: TLDR
content:
<b>List [a]ll configuration values available</b>`getconf -a`<br><b>List the configuration values for a specific directory</b>`getconf -a [path/to/directory]`<br><b>Check if the system is 32-bit or 64-bit</b>`getconf LONG_BIT`<br><b>Check how many processes the current user can run at once</b>`getconf CHILD_MAX`<br><b>List every configuration value and then find patterns with the grep command (i.e every value with MAX in it)</b>`getconf -a | grep MAX`


title: TLDR
content:
<b>Compile a source code file into an object file</b>`mpicc -c [path/to/file.c]`<br><b>Link an object file and make an executable</b>`mpicc -o [executable] [path/to/object_file.o]`<br><b>Compile and link source code in a single command</b>`mpicc -o [executable] [path/to/file.c]`


title: TLDR
content:
<b>Check if a file is an ARM EFI image</b>`grub-file --is-arm-efi [path/to/file]`<br><b>Check if a file is an i386 EFI image</b>`grub-file --is-i386-efi [path/to/file]`<br><b>Check if a file is an x86_64 EFI image</b>`grub-file --is-x86_64-efi [path/to/file]`<br><b>Check if a file is an ARM image (Linux kernel)</b>`grub-file --is-arm-linux [path/to/file]`<br><b>Check if a file is an x86 image (Linux kernel)</b>`grub-file --is-x86-linux [path/to/file]`<br><b>Check if a file is an x86_64 XNU image (macOS kernel)</b>`grub-file --is-x86_64-xnu [path/to/file]`


title: TLDR
content:
<b>Set the default boot entry to an entry number, name or identifier for the next boot</b>`sudo grub-reboot [entry_number]`<br><b>Set the default boot entry to an entry number, name or identifier for an alternative boot directory for the next boot</b>`sudo grub-reboot --boot-directory /[path/to/boot_directory] [entry_number]`


title: TLDR
content:
<b>Poison all hosts to intercept packets on [i]nterface for the host</b>`sudo arpspoof -i [wlan0] [host_ip]`<br><b>Poison [t]arget to intercept packets on [i]nterface for the host</b>`sudo arpspoof -i [wlan0] -t [target_ip] [host_ip]`<br><b>Poison both [t]arget and host to intercept packets on [i]nterface for the host</b>`sudo arpspoof -i [wlan0] -r -t [target_ip] [host_ip]`


title: TLDR
content:
<b>Set capability cap_net_raw (to use RAW and PACKET sockets) for a given file</b>`setcap '[cap_net_raw]' [path/to/file]`<br><b>Set multiple capabilities on a file (ep behind the capability means "effective permitted")</b>`setcap '[cap_dac_read_search,cap_sys_tty_config+ep]' [path/to/file]`<br><b>Remove all capabilities from a file</b>`setcap -r [path/to/file]`<br><b>Verify that the specified capabilities are currently associated with the specified file</b>`setcap -v '[cap_net_raw]' [path/to/file]`<br><b>The optional -n root_uid argument can be used to set the file capability for use only in a user namespace with this root user ID owner</b>`setcap -n [root_uid] '[cap_net_admin]' [path/to/file]`


title: TLDR
content:
<b>Search for a pattern within a file</b>`xzgrep "[search_pattern]" [path/to/file]`<br><b>Search for an exact string (disables regex)</b>`xzgrep [[-F|--fixed-strings]] "[exact_string]" [path/to/file]`<br><b>Search for a pattern in all files showing line numbers of matches</b>`xzgrep [[-n|--line-number]] "[search_pattern]" [path/to/file]`<br><b>Use extended regex (supports ?, +, {}, () and |), in case-insensitive mode</b>`xzgrep [[-E|--extended-regexp]] [[-i|--ignore-case]] "[search_pattern]" [path/to/file]`<br><b>Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match</b>`xzgrep --[context|before-context|after-context] [3] "[search_pattern]" [path/to/file]`<br><b>Print file name and line number for each match with color output</b>`xzgrep [[-H|--with-filename]] [[-n|--line-number]] --color=always "[search_pattern]" [path/to/file]`<br><b>Search for lines matching a pattern, printing only the matched text</b>`xzgrep [[-o|--only-matching]] "[search_pattern]" [path/to/file]`


title: TLDR
content:
<b>Clean capture and save only the 4-way handshake and a beacon in the result</b>`wpaclean [path/to/result.cap] [path/to/capture.cap]`<br><b>Clean multiple captures and save 4-way handshakes and beacons in the result</b>`wpaclean [path/to/result.cap] [path/to/capture1.cap path/to/capture2.cap ...]`


title: TLDR
content:
<b>Find hosts in the local network with SMB shares</b>`nmblookup [[-S|--status]] '*'`<br><b>Find hosts in the local network with SMB shares run by SAMBA</b>`nmblookup [[-S|--status]] __SAMBA__`


title: TLDR
content:
<b>Store Git credentials in a specific file</b>`git config credential.helper 'store --file=[path/to/file]'`


title: TLDR
content:
<b>Store a key and a value on the default database</b>`skate set "[key]" "[value]"`<br><b>Show your keys saved on the default database</b>`skate list`<br><b>Delete key and value from the default database</b>`skate delete "[key]"`<br><b>Create a new key and value in a new database</b>`skate set "[key]"@"[database_name]" "[value]"`<br><b>Show your keys saved in a non default database</b>`skate list @"[database_name]"`<br><b>Delete key and value from a specific database</b>`skate delete "[key]"@"[database_name]"`<br><b>Show the databases available</b>`skate list-dbs`<br><b>Delete local db and pull down fresh copy from Charm Cloud</b>`skate reset @"[database_name]"`


title: TLDR
content:
<b>Remove wireless headers from an open network capture file and use the access point's MAC address to filter</b>`airdecap-ng -b [ap_mac] [path/to/capture.cap]`<br><b>Decrypt a [w]EP encrypted capture file using the key in hex format</b>`airdecap-ng -w [hex_key] [path/to/capture.cap]`<br><b>Decrypt a WPA/WPA2 encrypted capture file using the access point's [e]ssid and [p]assword</b>`airdecap-ng -e [essid] -p [password] [path/to/capture.cap]`<br><b>Decrypt a WPA/WPA2 encrypted capture file preserving the headers using the access point's [e]ssid and [p]assword</b>`airdecap-ng -l -e [essid] -p [password] [path/to/capture.cap]`<br><b>Decrypt a WPA/WPA2 encrypted capture file using the access point's [e]ssid and [p]assword and use its MAC address to filter</b>`airdecap-ng -b [ap_mac] -e [essid] -p [password] [path/to/capture.cap]`


title: TLDR
content:
<b>Store Git credentials for a specific amount of time</b>`git config credential.helper 'cache --timeout=[time_in_seconds]'`


title: TLDR
content:
<b>Crack key from capture file using [w]ordlist</b>`aircrack-ng -w [path/to/wordlist.txt] [path/to/capture.cap]`<br><b>Crack key using multiple CPU threads from capture file using [w]ordlist</b>`aircrack-ng -p [number] -w [path/to/wordlist.txt] [path/to/capture.cap]`<br><b>Crack key from capture file using [w]ordlist and the access point's [e]ssid</b>`aircrack-ng -w [path/to/wordlist.txt] -e [essid] [path/to/capture.cap]`<br><b>Crack key from capture file using [w]ordlist and the access point's MAC address</b>`aircrack-ng -w [path/to/wordlist.txt] --bssid [mac] [path/to/capture.cap]`


title: TLDR
content:
<b>Capture packets with verbose output</b>`sudo snort -v -i [interface]`<br><b>Capture packets and dump application layer data with verbose output</b>`sudo snort -vd -i [interface]`<br><b>Capture packets and display link layer packet headers with verbose output</b>`sudo snort -ve -i [interface]`<br><b>Capture packets and save them in the specified directory</b>`sudo snort -i [interface] -l [path/to/directory]`<br><b>Capture packets according to rules and save offending packets along with alerts</b>`sudo snort -i [interface] -c [path/to/rules.conf] -l [path/to/directory]`


title: TLDR
content:
<b>Connect to a remote host</b>`dbclient [user]@[host]`<br><b>Connect to a remote host on [p]ort 2222</b>`dbclient [user]@[host] -p 2222`<br><b>Connect to a remote host using a specific [i]dentity key in dropbear format</b>`dbclient -i [path/to/key_file] [user]@[host]`<br><b>Run a command on the remote host with a [t]ty allocation allowing interaction with the remote command</b>`dbclient [user]@[host] -t [command] [argument1 argument2 ...]`<br><b>Connect and forward [A]gent connections to remote host</b>`dbclient -A [user]@[host]`


title: TLDR
content:
<b>Show the current state of the cgroups and system contexts stored by systemd-oomd</b>`oomctl dump`


title: TLDR
content:
<b>Save the current configuration as a profile</b>`konsave [[-s|--save]] [profile_name]`<br><b>Apply a profile</b>`konsave [[-a|--apply]] [profile_name]`<br><b>Save the current configuration as a profile, overwriting existing profiles if they exist with the same name</b>`konsave [[-s|--save]] [profile_name] [[-f|--force]]`<br><b>List all profiles</b>`konsave [[-l|--list]]`<br><b>Remove a profile</b>`konsave [[-r|--remove]] [profile_name]`<br><b>Export a profile as a .knsv to the home directory</b>`konsave [[-e|--export-profile]] [profile_name]`<br><b>Import a .knsv profile</b>`konsave [[-i|--import-profile]] [path/to/profile_name.knsv]`


title: TLDR
content:
<b>Convert an OpenSSH private key to the Dropbear format</b>`dropbearconvert openssh dropbear [path/to/input_key] [path/to/output_key]`<br><b>Convert a Dropbear private key to the OpenSSH format</b>`dropbearconvert dropbear openssh [path/to/input_key] [path/to/output_key]`


title: TLDR
content:
<b>Export an app from the container to the host (the desktop entry/icon will show up in your host system's application list)</b>`distrobox-export [[-a|--app]] [package] [[-ef|--extra-flags]] "--foreground"`<br><b>Export a binary from the container to the host</b>`distrobox-export [[-b|--bin]] [path/to/binary] [[-ep|--export-path]] [path/to/binary_on_host]`<br><b>Export a binary from the container to the host (i.e.$HOME/.local/bin)</b>`distrobox-export [[-b|--bin]] [path/to/binary] [[-ep|--export-path]] [path/to/export]`<br><b>Export a service from the container to the host (--sudo will run the service as root inside the container)</b>`distrobox-export --service [package] [[-ef|--extra-flags]] "--allow-newer-config" [[-S|--sudo]]`<br><b>Unexport/delete an exported application</b>`distrobox-export [[-a|--app]] [package] [[-d|--delete]]`


title: TLDR
content:
<b>Start a transient service</b>`sudo systemd-run [command] [argument1 argument2 ...]`<br><b>Start a transient service under the service manager of the current user (no privileges)</b>`systemd-run --user [command] [argument1 argument2 ...]`<br><b>Start a transient service with a custom unit name and description</b>`sudo systemd-run [[-u|--unit]] [name] --description [string] [command] [argument1 argument2 ...]`<br><b>Start a transient service that does not get cleaned up after it terminates with a custom environment variable</b>`sudo systemd-run [[-r|--remain-after-exit]] --set-env=[name]=[value] [command] [argument1 argument2 ...]`<br><b>Start a transient timer that periodically runs its transient service (see man systemd.time for calendar event format)</b>`sudo systemd-run --on-calendar=[calendar_event] [command] [argument1 argument2 ...]`<br><b>Share the terminal with the program (allowing interactive input/output) and make sure the execution details remain after the program exits</b>`systemd-run [[-r|--remain-after-exit]] --pty [command]`<br><b>Set properties (e.g. CPUQuota, MemoryMax) of the process and wait until it exits</b>`systemd-run [[-p|--property]] MemoryMax=[memory_in_bytes] [[-p|--property]] CPUQuota=[percentage_of_CPU_time]% --wait [command]`<br><b>Use the program in a shell pipeline</b>`[command1] | systemd-run [[-P|--pipe]] [command2] | [command3]`


title: TLDR
content:
<b>Connect your system to the Ubuntu Pro support contract</b>`sudo pro attach`<br><b>Display the status of Ubuntu Pro services</b>`pro status`<br><b>Check if the system is affected by a specific vulnerability (and apply a fix if possible)</b>`pro fix [CVE-number]`<br><b>Display the number of unsupported packages</b>`pro security-status`<br><b>List packages that are no longer available for download</b>`pro security-status --unavailable`<br><b>List third-party packages</b>`pro security-status --thirdparty`


title: TLDR
content:
<b>Generate an SSH key of [t]ype ed25519 and write it to key [f]ile</b>`dropbearkey -t [ed25519] -f [path/to/key_file]`<br><b>Generate an SSH key of [t]ype ecdsa and write it to key [f]ile</b>`dropbearkey -t [ecdsa] -f [path/to/key_file]`<br><b>Generate an SSH key of [t]ype RSA with 4096-bit key [s]ize and write it to key [f]ile</b>`dropbearkey -t [rsa] -s [4096] -f [path/to/key_file]`<br><b>Print the private key fingerprint and public key in key [f]ile</b>`dropbearkey -y -f [path/to/key_file]`


title: TLDR
content:
<b>Stop a Distrobox container</b>`distrobox-stop [container_name]`<br><b>Stop a Distrobox container non-interactively (without confirmation)</b>`distrobox-stop [[-n|--name]] [container_name] [[-Y|--yes]]`


title: TLDR
content:
<b>Open a URL in the default application</b>`handlr open [https://example.com]`<br><b>Open a PDF in the default PDF viewer</b>`handlr open [path/to/file.pdf]`<br><b>Set imv as the default application for PNG files</b>`handlr set [.png] [imv.desktop]`<br><b>Set MPV as the default application for all audio files</b>`handlr set '[audio/*]' [mpv.desktop]`<br><b>List all default apps</b>`handlr list`<br><b>Print the default application for PNG files</b>`handlr get [.png]`


title: TLDR
content:
<b>Create a squashfs filesystem (compressed using gzip by default) from an uncompressed tar archive</b>`sqfstar < [archive.tar] [filesystem.squashfs]`<br><b>Create a squashfs filesystem from a tar archive compressed with gzip, and [comp]ress the filesystem using a specific algorithm</b>`zcat [archive.tar.gz] | sqfstar -comp [gzip|lzo|lz4|xz|zstd|lzma] [filesystem.squashfs]`<br><b>Create a squashfs filesystem from a tar archive compressed with xz, excluding some of the files</b>`xzcat [archive.tar.xz] | sqfstar [filesystem.squashfs] [file1 file2 ...]`<br><b>Create a squashfs filesystem from a tar archive compressed with zstd, excluding files ending with .gz</b>`zstdcat [archive.tar.zst] | sqfstar [filesystem.squashfs] "[*.gz]"`<br><b>Create a squashfs filesystem from a tar archive compressed with lz4, excluding files matching a regex</b>`lz4cat [archive.tar.lz4] | sqfstar [filesystem.squashfs] -regex "[regex]"`


title: TLDR
content:
<b>Execute command on the host system from inside the Distrobox container</b>`distrobox-host-exec "[command]"`<br><b>Execute the ls command on the host system from inside the container</b>`distrobox-host-exec ls`


title: TLDR
content:
<b>Initialize a repository of the files in $PWD with metadata in $PWD/path/to/repo</b>`ostree init --repo [path/to/repo]`<br><b>Create a commit (snapshot) of the files</b>`ostree commit --repo [path/to/repo] --branch [branch_name]`<br><b>Show files in commit</b>`ostree ls --repo [path/to/repo] [commit_id]`<br><b>Show metadata of commit</b>`ostree show --repo [path/to/repo] [commit_id]`<br><b>Show list of commits</b>`ostree log --repo [path/to/repo] [branch_name]`<br><b>Show repo summary</b>`ostree summary --repo [path/to/repo] --view`<br><b>Show available refs (branches)</b>`ostree refs --repo [path/to/repo]`


title: TLDR
content:
<b>If specified with onboot, this fixfiles will record the current date in the /.autorelabel file, so that it can be used later to speed up labeling. If used with restore, the restore will only affect files that were modified today</b>`fixfiles -B`<br><b>[F]orce reset of context to match file_context for customizable files</b>`fixfiles -F`<br><b>Clear /tmp directory without confirmation</b>`fixfiles -f`<br><b>Use the [R]pm database to discover all files within specific packages and restore the file contexts</b>`fixfiles -R [rpm_package1,rpm_package2 ...]`<br><b>Run a diff on the PREVIOUS_FILECONTEXT file to the [C]urrently installed one, and restore the context of all affected files</b>`fixfiles -C PREVIOUS_FILECONTEXT`<br><b>Only act on files created after a specific date which will be passed to find --newermt command</b>`fixfiles -N [YYYY-MM-DD HH:MM]`<br><b>Bind [M]ount filesystems before relabeling them, this allows fixing the context of files or directories that have been mounted over</b>`fixfiles -M`<br><b>Modify [v]erbosity from progress to verbose and run restorecon with -v instead of -p</b>`fixfiles -v`


title: TLDR
content:
<b>Extract a squashfs filesystem to squashfs-root in the current working directory</b>`unsquashfs [filesystem.squashfs]`<br><b>Extract a squashfs filesystem to the specified directory</b>`unsquashfs [[-d|-dest]] [path/to/directory] [filesystem.squashfs]`<br><b>Display the names of files as they are extracted</b>`unsquashfs [[-i|-info]] [filesystem.squashfs]`<br><b>Display the names of files and their attributes as they are extracted</b>`unsquashfs [[-li|-linfo]] [filesystem.squashfs]`<br><b>List files inside the squashfs filesystem (without extracting)</b>`unsquashfs [[-l|-ls]] [filesystem.squashfs]`<br><b>List files and their attributes inside the squashfs filesystem (without extracting)</b>`unsquashfs [[-ll|-lls]] [filesystem.squashfs]`


title: TLDR
content:
<b>Check for system updates to the host system</b>`vso sys-upgrade check`<br><b>Upgrade the host system now</b>`vso sys-upgrade upgrade --now`<br><b>Initialize the Pico subsystem (used for package management)</b>`vso pico-init`<br><b>Install applications inside the subsystem</b>`vso install [package1 package2 ...]`<br><b>Remove applications from the subsystem</b>`vso remove [package1 package2 ...]`<br><b>Enter the subsystem's shell</b>`vso shell`<br><b>Run an application from the subsystem</b>`vso run [package]`<br><b>Display VSO configuration</b>`vso config show`


title: TLDR
content:
<b>Set the screen temperature to 3000K</b>`gummy [[-t|--temperature]] [3000]`<br><b>Set the screen backlight to 50%</b>`gummy --backlight [50]`<br><b>Set the screen pixel brightness to 45%</b>`gummy [[-b|--brightness]] [45]`<br><b>Increase current screen pixel brightness by 10%</b>`gummy [[-b|--brightness]] [+10]`<br><b>Decrease current screen pixel brightness by 10%</b>`gummy [[-b|--brightness]] [-10]`<br><b>Set the temperature and pixel brightness for the second screen</b>`gummy [[-s|--screen]] [1] [[-t|--temperature]] [3800] [[-b|--brightness]] [65]`


title: TLDR
content:
<b>Set the priority of the specified network interface (a higher number indicates lower priority)</b>`sudo ifmetric [interface] [value]`<br><b>Reset the priority of the specified network interface</b>`sudo ifmetric [interface] [0]`


title: TLDR
content:
<b>Convert a .mol file to XYZ coordinates</b>`obabel [path/to/file.mol] -O [path/to/output_file.xyz]`<br><b>Convert a SMILES string to a 500x500 picture</b>`obabel -:"[SMILES]" -O [path/to/output_file.png] -xp 500`<br><b>Convert a file of SMILES string to separate 3D .mol files</b>`obabel [path/to/file.smi] -O [path/to/output_file.mol] --gen3D -m`<br><b>Render multiple inputs into one picture</b>`obabel [path/to/file1 path/to/file2 ...] -O [path/to/output_file.png]`


title: TLDR
content:
<b>Create a Debian Stable directory chroot</b>`sudo mmdebstrap stable [path/to/debian-root]/`<br><b>Create a Debian Bookworm tarball chroot using a mirror</b>`mmdebstrap bookworm [path/to/debian-bookworm.tar] [http://mirror.example.org/debian]`<br><b>Create a Debian Sid tarball chroot with additional packages</b>`mmdebstrap sid [path/to/debian-sid.tar] --include=[pkg1,pkg2]`


title: TLDR
content:
<b>Create an ISO image from the given source directory</b>`genisoimage -o [myimage.iso] [path/to/source_directory]`<br><b>Create an ISO image with files larger than 2GiB by reporting a smaller apparent size for ISO9660 filesystems</b>`genisoimage -o -allow-limited-size [myimage.iso] [path/to/source_directory]`


title: TLDR
content:
<b>List existing links with their status</b>`networkctl list`<br><b>Show an overall network status</b>`networkctl status`<br><b>Bring network devices up</b>`networkctl up [interface1 interface2 ...]`<br><b>Bring network devices down</b>`networkctl down [interface1 interface2 ...]`<br><b>Renew dynamic configurations (e.g. IP addresses received from a DHCP server)</b>`networkctl renew [interface1 interface2 ...]`<br><b>Reload configuration files (.netdev and .network)</b>`networkctl reload`<br><b>Reconfigure network interfaces (if you edited the config, you need to call networkctl reload first)</b>`networkctl reconfigure [interface1 interface2 ...]`


title: TLDR
content:
<b>Enable picom during a session</b>`picom &`<br><b>Start picom as a background process</b>`picom [[-b|--daemon]]`<br><b>Use a custom configuration file</b>`picom --config [path/to/config_file]`


title: TLDR
content:
<b>Switch between different GPU modes</b>`sudo envycontrol [[-s|--switch]] [nvidia|integrated|hybrid]`<br><b>Specify your display manager manually</b>`envycontrol --dm`<br><b>Check current GPU mode</b>`sudo envycontrol [[-q|--query]]`<br><b>Reset settings</b>`sudo envycontrol --reset`<br><b>Display help</b>`envycontrol [[-h|--help]]`<br><b>Display version</b>`envycontrol [[-v|--version]]`


title: TLDR
content:
<b>Create or append files and directories to a squashfs filesystem (compressed using gzip by default)</b>`mksquashfs [path/to/file_or_directory1 path/to/file_or_directory2 ...] [filesystem.squashfs]`<br><b>Create or append files and directories to a squashfs filesystem, using a specific [comp]ression algorithm</b>`mksquashfs [path/to/file_or_directory1 path/to/file_or_directory2 ...] [filesystem.squashfs] -comp [gzip|lzo|lz4|xz|zstd|lzma]`<br><b>Create or append files and directories to a squashfs filesystem, [e]xcluding some of them</b>`mksquashfs [path/to/file_or_directory1 path/to/file_or_directory2 ...] [filesystem.squashfs] -e [file|directory1 file|directory2 ...]`<br><b>Create or append files and directories to a squashfs filesystem, [e]xcluding those ending with gzip</b>`mksquashfs [path/to/file_or_directory1 path/to/file_or_directory2 ...] [filesystem.squashfs] -wildcards -e "[*.gz]"`<br><b>Create or append files and directories to a squashfs filesystem, [e]xcluding those matching a regex</b>`mksquashfs [path/to/file_or_directory1 path/to/file_or_directory2 ...] [filesystem.squashfs] -regex -e "[regex]"`


title: TLDR
content:
<b>Upgrade a container using the container's native package manager</b>`distrobox-upgrade [container_name]`<br><b>Upgrade all containers using the container's native package managers</b>`distrobox-upgrade [[-a|--all]]`<br><b>Upgrade specific containers via the container's native package manager</b>`distrobox-upgrade [container1 container2 ...]`


title: TLDR
content:
<b>Extract [m]essage from file</b>`stegsnow [path/to/file.txt]`<br><b>Extract [C]ompressed and [p]assword protected [m]essage from file</b>`stegsnow -C -p [password] [path/to/file.txt]`<br><b>Determine approximate [S]torage capacity with line [l]ength less than 72 for file</b>`stegsnow -S -l 72 [path/to/file.txt]`<br><b>Conceal [m]essage in text from file and save to result</b>`stegsnow -m '[message]' [path/to/file.txt] [path/to/result.txt]`<br><b>Conceal message [f]ile content [C]ompressed in text from file and save to result</b>`stegsnow -C -f '[path/to/message.txt]' [path/to/file.txt] [path/to/result.txt]`<br><b>Conceal [m]essage [C]ompressed and [p]assword protected in text from file and save to result</b>`stegsnow -C -p [password] -m '[message]' [path/to/file.txt] [path/to/result.txt]`


title: TLDR
content:
<b>Install a package, or update it to the latest available version</b>`sudo nala install [package]`<br><b>Remove a package</b>`sudo nala remove [package]`<br><b>Remove a package and its configuration files</b>`nala purge [package]`<br><b>Search package names and descriptions using a word, regex (default) or glob</b>`nala search "[pattern]"`<br><b>Update the list of available packages and upgrade the system</b>`sudo nala upgrade`<br><b>Remove all unused packages and dependencies from your system</b>`sudo nala autoremove`<br><b>Fetch fast mirrors to improve download speeds</b>`sudo nala fetch`<br><b>Display the history of all transactions</b>`nala history`


title: TLDR
content:
<b>Connect to a TFTP server specifying its IP address and port</b>`tftp [server_ip] [port]`<br><b>Connect to a TFTP server and execute a TFTP [c]ommand</b>`tftp [server_ip] -c [command]`<br><b>Connect to a TFTP server using IPv6 and force originating port to be in [R]ange</b>`tftp [server_ip] -6 -R [port]:[port]`<br><b>Set the transfer mode to binary or ASCIi through the tftp client</b>`mode [binary|ascii]`<br><b>Download file from a server through the tftp client</b>`get [file]`<br><b>Upload file to a server through the tftp client</b>`put [file]`<br><b>Exit the tftp client</b>`quit`


title: TLDR
content:
<b>View documentation for creating containers</b>`tldr distrobox-create`<br><b>View documentation for listing container's information</b>`tldr distrobox-list`<br><b>View documentation for entering the container</b>`tldr distrobox-enter`<br><b>View documentation for executing a command on the host from inside a container</b>`tldr distrobox-host-exec`<br><b>View documentation for exporting app/service/binary from the container to the host</b>`tldr distrobox-export`<br><b>View documentation for upgrading containers</b>`tldr distrobox-upgrade`<br><b>View documentation for stopping the containers</b>`tldr distrobox-stop`<br><b>View documentation for removing the containers</b>`tldr distrobox-rm`


title: TLDR
content:
<b>Screenshot all outputs</b>`grim`<br><b>Screenshot a specific output</b>`grim -o [path/to/output_file]`<br><b>Screenshot a specific region</b>`grim -g "[x_position],[y_position] [width]x[height]"`<br><b>Select a specific region and screenshot it, (using slurp)</b>`grim -g "[$(slurp)]"`<br><b>Use a custom filename</b>`grim "[path/to/file.png]"`<br><b>Screenshot and copy to clipboard</b>`grim - | [clipboard_manager]`


title: TLDR
content:
<b>Run the default application in the flake in the current directory</b>`nix run`<br><b>Run a command whose name matches the package name from nixpkgs (if you want a different command from that package, see tldr nix3 shell)</b>`nix run nixpkgs#[pkg]`<br><b>Run a command with provided arguments</b>`nix run nixpkgs#[vim] -- [path/to/file]`<br><b>Run from a remote repository</b>`nix run [remote_name]:[owner]/[repo]`<br><b>Run from a remote repository using a specific tag, revision or branch</b>`nix run [remote_name]:[owner]/[repo]/[reference]`<br><b>Run from a remote repository specifying a subdirectory and a program</b>`nix run "[remote_name]:[owner]/[repo]?dir=[dir_name]#[app]"`<br><b>Run the flake of a GitHub pull request</b>`nix run github:[owner]/[repo]/pull/[number]/head`


title: TLDR
content:
<b>Create a new flake (just the flake.nix file) from the default template, in the current directory</b>`nix flake init`<br><b>Update all inputs (dependencies) of the flake in the current directory</b>`nix flake update`<br><b>Update a specific input (dependency) of the flake in the current directory</b>`nix flake lock --update-input [input]`<br><b>Show all the outputs of a flake on github</b>`nix flake show [github:owner/repo]`<br><b>Display help</b>`nix flake --help`


title: TLDR
content:
<b>List applications</b>`argocd app list --output [json|yaml|wide]`<br><b>Get application details</b>`argocd app get [app_name] --output [json|yaml|wide]`<br><b>Deploy application internally (to the same cluster that Argo CD is running in)</b>`argocd app create [app_name] --repo [git_repo_url] --path [path/to/repo] --dest-server https://kubernetes.default.svc --dest-namespace [ns]`<br><b>Delete an application</b>`argocd app delete [app_name]`<br><b>Enable application auto-sync</b>`argocd app set [app_name] --sync-policy auto --auto-prune --self-heal`<br><b>Preview app synchronization without affecting cluster</b>`argocd app sync [app_name] --dry-run --prune`<br><b>Show application deployment history</b>`argocd app history [app_name] --output [wide|id]`<br><b>Rollback application to a previous deployed version by history ID (deleting unexpected resources)</b>`argocd app rollback [app_name] [history_id] --prune`


title: TLDR
content:
<b>Convert tldr-pages files and save into the same directories</b>`md-to-clip [path/to/page1.md path/to/page2.md ...]`<br><b>Convert tldr-pages files and save into a specific directory</b>`md-to-clip --output-directory [path/to/directory] [path/to/page1.md path/to/page2.md ...]`<br><b>Convert a tldr-page file to stdout</b>`md-to-clip --no-file-save <(echo '[page-content]')`<br><b>Convert tldr-pages files while recognizing additional placeholders from a specific config</b>`md-to-clip --special-placeholder-config [path/to/config.yaml] [path/to/page1.md path/to/page2.md ...]`<br><b>Display help</b>`md-to-clip --help`<br><b>Display version</b>`md-to-clip --version`


title: TLDR
content:
<b>Build a package from nixpkgs, symlinking the result to ./result</b>`nix build [nixpkgs#pkg]`<br><b>Build a package from a flake in the current directory, showing the build logs in the process</b>`nix build -L [.#pkg]`<br><b>Build the default package from a flake in some directory</b>`nix build [./path/to/directory]`<br><b>Build a package without making the result symlink, instead printing the store path to the stdout</b>`nix build --no-link --print-out-paths`


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


title: TLDR
content:
<b>Open the remote control console</b>`birdc`<br><b>Reload the configuration without restarting BIRD</b>`birdc configure`<br><b>Show the current status of BIRD</b>`birdc show status`<br><b>Show all configured protocols</b>`birdc show protocols`<br><b>Show all details about a protocol</b>`birdc show protocols [upstream1] all`<br><b>Show all routes that contain a specific AS number</b>`birdc "show route where bgp_path ~ [[4242120045]]"`<br><b>Show all best routes</b>`birdc show route primary`<br><b>Show all details of all routes from a given prefix</b>`birdc show route for [fd00:/8] all`


title: TLDR
content:
<b>Resolve lists of transitive dependencies of two dependencies</b>`cs resolve [group_id1]:[artifact_id1]:[artifact_version1] [group_id2]:[artifact_id2]:[artifact_version2]`<br><b>Resolve lists of transitive dependencies of a package by the dependency tree</b>`cs resolve --tree [group_id]:[artifact_id]:[artifact_version]`<br><b>Resolve dependency tree in a reverse order (from a dependency to its dependencies)</b>`cs resolve --reverse-tree [group_id]:[artifact_id]:[artifact_version]`<br><b>Print all the libraries that depends on a specific library</b>`cs resolve [group_id]:[artifact_id]:[artifact_version] --what-depends-on [searched_group_id]:[searched_artifact_id]`<br><b>Print all the libraries that depends on a specific library version</b>`cs resolve [group_id]:[artifact_id]:[artifact_version] --what-depends-on [searched_group_id]:[searched_artifact_id][searched_artifact_version]`<br><b>Print eventual conflicts between a set of packages</b>`cs resolve --conflicts [group_id1:artifact_id1:artifact_version1 group_id2:artifact_id2:artifact_version2 ...]`


title: TLDR
content:
<b>Edit a pod in the default namespace</b>`kubectl edit [[po|pods]]/[pod_name]`<br><b>Edit a deployment in the default namespace</b>`kubectl edit [[deploy|deployment]]/[deployment_name]`<br><b>Edit a service in the default namespace</b>`kubectl edit [[svc|service]]/[service_name]`<br><b>Edit all entries of a given resource in a given namespace</b>`kubectl edit [resource] [[-n|--namespace]] [namespace]`<br><b>Edit a resource using a specific editor</b>`KUBE_EDITOR=[nano] kubectl edit [resource]/[resource_name]`<br><b>Edit a resource in JSON format</b>`kubectl edit [resource]/[resource_name] [[-o|--output]] json`


title: TLDR
content:
<b>Fetch a specific version of a jar</b>`cs fetch [group_id]:[artifact_id]:[artifact_version]`<br><b>Fetch a package and evaluate the classpath corresponding to the selected package in an env var</b>`CP="$(cs fetch --classpath org.scalameta::scalafmt-cli:latest.release)"`<br><b>Fetch a source of a specific jar</b>`cs fetch --sources [group_id]:[artifact_id]:[artifact_version]`<br><b>Fetch the javadoc jars</b>`cs fetch --javadoc [group_id]:[artifact_id]:[artifact_version]`<br><b>Fetch dependency with javadoc jars and source jars</b>`cs fetch --default=[true] --sources --javadoc [group_id]:[artifact_id]:[artifact_version]`<br><b>Fetch jars coming from dependency files</b>`cs fetch [--dependency-file path/to/file1 --dependency-file path/to/file2 ...]`


title: TLDR
content:
<b>Run the compiler interactively</b>`prqlc compile`<br><b>Compile a specific .prql file to stdout</b>`prqlc compile [path/to/file.prql]`<br><b>Compile a .prql file to a .sql file</b>`prqlc compile [path/to/source.prql] [path/to/target.sql]`<br><b>Compile a query</b>`echo "[from employees | filter has_dog | select salary]" | prqlc compile`<br><b>Watch a directory and compile on file modification</b>`prqlc watch [path/to/directory]`


title: TLDR
content:
<b>Install a specific application</b>`cs install [application_name]`<br><b>Install a specific version of an application</b>`cs install [application_name]:[application_version]`<br><b>Search an application by a specific name</b>`cs search [application_partial_name]`<br><b>Update a specific application if available</b>`cs update [application_name]`<br><b>Update all the installed applications</b>`cs update`<br><b>Uninstall a specific application</b>`cs uninstall [application_name]`<br><b>List all installed applications</b>`cs list`<br><b>Pass specific Java options to an installed application</b>`[application_name] [-Jjava_option_name1=value1 -Jjava_option_name2=value2 ...]`


title: TLDR
content:
<b>Convert a specific audio file to all of the given file formats</b>`whisper [path/to/audio.mp3]`<br><b>Convert an audio file specifying the output format of the converted file</b>`whisper [path/to/audio.mp3] --output_format [txt]`<br><b>Convert an audio file using a specific model for conversion</b>`whisper [path/to/audio.mp3] --model [tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large]`<br><b>Convert an audio file specifying which language the audio file is in to reduce conversion time</b>`whisper [path/to/audio.mp3] --language [english]`<br><b>Convert an audio file and save it to a specific location</b>`whisper [path/to/audio.mp3] --output_dir "[path/to/output]"`<br><b>Convert an audio file in quiet mode</b>`whisper [path/to/audio.mp3] --verbose [False]`


title: TLDR
content:
<b>Use it as a search engine, asking for the mass of the sun</b>`sgpt "[mass of the sun]"`<br><b>Execute Shell commands, and apply chmod 444 to all files in the current directory</b>`sgpt --shell "[make all files in current directory read only]"`<br><b>Generate code, solving classic fizz buzz problem</b>`sgpt --code "[solve fizz buzz problem using Python]"`<br><b>Start a chat session with a unique session name</b>`sgpt --chat [session_name] "[please remember my favorite number: 4]"`<br><b>Start a REPL (Read-eval-print loop) session</b>`sgpt --repl [command]`<br><b>Display help</b>`sgpt --help`


title: TLDR
content:
<b>Create a tape file (add commands to the tape file using an editor)</b>`vhs new [path/to/file.tape]`<br><b>Record inputs to a tape file</b>`vhs record > [path/to/file.tape]`<br><b>Record inputs to a tape file using a specific shell</b>`vhs record [[-s|--shell]] [shell] > [path/to/file.tape]`<br><b>Stop recording</b>`exit`<br><b>Validate the syntax of a tape file</b>`vhs validate [path/to/file.tape]`<br><b>Create a GIF from a tape file</b>`vhs [path/to/file.tape]`<br><b>Publish a GIF to <https://vhs.charm.sh> and get a shareable URL</b>`vhs publish [path/to/file.gif]`


title: TLDR
content:
<b>Brute force the password for an archive (tries to guess the archive type)</b>`rarcrack [path/to/file.zip]`<br><b>Specify the archive type</b>`rarcrack --type [rar|zip|7z] [path/to/file.zip]`<br><b>Use multiple threads</b>`rarcrack --threads [6] [path/to/file.zip]`


title: TLDR
content:
<b>Start an interactive environment for evaluating Nix expressions</b>`nix repl`<br><b>Load all packages from a flake (e.g. nixpkgs) into scope</b>`:lf [nixpkgs]`<br><b>Build a package from an expression</b>`:b [expression]`<br><b>Start a shell with package from the expression available</b>`:u [expression]`<br><b>Start a shell with dependencies of the package from the expression available</b>`:s [expression]`


title: TLDR
content:
<b>Pin the nixpkgs revision to the current version of the upstream repository</b>`nix registry pin [nixpkgs]`<br><b>Pin an entry to the latest version of the branch, or a particular reivision of a GitHub repository</b>`nix registry pin [entry] [github:owner/repo/branch_or_revision]`<br><b>Add a new entry that always points to the latest version of a GitHub repository, updating automatically</b>`nix registry add [entry] [github:owner/repo]`<br><b>Remove a registry entry</b>`nix registry remove [entry]`<br><b>See documentation about what Nix flake registries are</b>`nix registry --help`


title: TLDR
content:
<b>Directory and file bruteforce using the specified [w]ordlist and also [p]roxying the traffic</b>`wfuzz -w [path/to/file] -p [127.0.0.1:8080:HTTP] [http://example.com/FUZZ]`<br><b>Save the results to a [f]ile</b>`wfuzz -w [path/to/file] -f [filename] [http://example.com/FUZZ]`<br><b>Show [c]olorized output while only showing the declared response codes in the output</b>`wfuzz -c -w [path/to/file] --sc [200,301,302] [http://example.com/FUZZ]`<br><b>Use a custom [H]eader to fuzz subdomains while [h]iding specific response [c]odes and word counts. Increase the [t]hreads to 100 and include the target ip/domain</b>`wfuzz -w [path/to/file] -H "[Host: FUZZ.example.com]" --hc [301] --hw [222] -t [100] [example.com]`<br><b>Brute force Basic Authentication using a list of usernames and passwords from files for each FUZ[z] keyword, [h]iding response [c]odes of unsuccessful attempts</b>`wfuzz -c --hc [401] -s [delay_between_requests_in_seconds] -z file,[path/to/usernames] -z file,[path/to/passwords] --basic 'FUZZ:FUZ2Z' [https://example.com]`<br><b>Provide wordlist directly from the command-line and use POST request for fuzzing</b>`wfuzz -z list,[word1-word2-...] [https://api.example.com] -d "[id=FUZZ&showwallet=true]"`<br><b>Provide wordlists from a file applying base64 and md5 encoding on them (wfuzz -e encoders lists all available encoders)</b>`wfuzz -z file,[path/to/file],none-base64-md5 [https://example.com/FUZZ]`<br><b>List available encoders/payloads/iterators/printers/scripts</b>`wfuzz -e [encoders|payloads|iterators|printers|scripts]`


title: TLDR
content:
<b>Download a specific Docker image</b>`docker pull [image]:[tag]`<br><b>Download a specific Docker image in quiet mode</b>`docker pull [[-q|--quiet]] [image]:[tag]`<br><b>Download all tags of a specific Docker image</b>`docker pull [[-a|--all-tags]] [image]`<br><b>Download a Docker images for a specific platform, e.g. linux/amd64</b>`docker pull --platform [linux/amd64] [image]:[tag]`<br><b>Display help</b>`docker pull [[-h|--help]]`


title: TLDR
content:
<b>Calculate the BLAKE3 checksum for one or more files</b>`b3sum [path/to/file1 path/to/file2 ...]`<br><b>Calculate and save the list of BLAKE3 checksums to a file</b>`b3sum [path/to/file1 path/to/file2 ...] > [path/to/file.b3]`<br><b>Calculate a BLAKE3 checksum from stdin</b>`[command] | b3sum`<br><b>Read a file of BLAKE3 checksums and filenames and verify all files have matching checksums</b>`b3sum [[-c|--check]] [path/to/file.b3]`<br><b>Only show a message for missing files or when verification fails</b>`b3sum [[-c|--check]] --quiet [path/to/file.b3]`<br><b>Check a known BLAKE3 checksum of a file</b>`echo [known_blake3_checksum_of_the_file] [path/to/file] | b3sum [[-c|--check]]`


title: TLDR
content:
<b>Merge a specific patch into CVS</b>`git cvsexportcommit -v -c -w [path/to/project_cvs_checkout] [commit_sha1]`


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


title: TLDR
content:
<b>Specify a configuration [d]irectory</b><br>`clash -d [path/to/directory]`<br><br><b>Specify a configuration [f]ile</b><br>`clash -f [path/to/configuration_file]`<br>


title: TLDR
content:
<b>Make a STUN request</b>`pystun3`<br><b>Make a STUN request and specify the stun server</b>`pystun3 --stun-host [stun.1und1.de]`<br><b>Make a STUN request and specify the source port</b>`pystun3 --source-port [7932]`


title: TLDR
content:
<b>Search for a package in nixpkgs via its name</b>`nix-env [[-qaP|--query --available --attr-path]] [search_term_regex]`<br><b>Start a shell with the specified packages available</b>`nix-shell [[-p|--packages]] [pkg1 pkg2 pkg3 ...]`<br><b>Install some packages permanently</b>`nix-env [[-iA|--install --attr]] [nixpkgs.pkg1 nixpkgs.pkg2 ...]`<br><b>Show all dependencies of a store path (package), in a tree format</b>`nix-store [[-q|--query]] --tree /nix/store/[checksum-package-version.ext]`<br><b>Update the channels (repositories)</b>`nix-channel --update`<br><b>Remove unused paths from Nix store</b>`nix-collect-garbage`


title: TLDR
content:
<b>List installed applications</b>`cs list`<br><b>Install a specific application</b>`cs install [application_name]`<br><b>Uninstall a specific application</b>`cs uninstall [application_name]`<br><b>Setup machine for the Scala development</b>`cs setup`<br><b>Update all the installed applications</b>`cs update`<br><b>Display version</b>`cs version`


title: TLDR
content:
<b>Create a keystore</b>`keytool -genkeypair -v -keystore [path/to/file.keystore] -alias [key_name]`<br><b>Change a keystore password</b>`keytool -storepasswd -keystore [path/to/file.keystore]`<br><b>Change a key's password inside a specific keystore</b>`keytool -keypasswd -alias [key_name] -keystore [path/to/file.keystore]`


title: TLDR
content:
<b>Start the daemon with one or more [c]onfiguration files (read in order)</b>`babeld -c [path/to/ports.conf] -c [path/to/filters.conf] -c [path/to/interfaces.conf]`<br><b>[D]eamonize after startup</b>`babeld -D`<br><b>Specify a [C]onfiguration command</b>`babeld -C '[redistribute metric 256]'`<br><b>Specify on which interfaces to operate</b>`babeld [eth0] [eth1] [wlan0]`


title: TLDR
content:
<b>Install and switch to the specified version of Neovim</b>`bob use [nightly|stable|latest|version_string|commit_hash]`<br><b>List installed and currently used versions of Neovim</b>`bob list`<br><b>Uninstall the specified version of Neovim</b>`bob uninstall [nightly|stable|latest|version_string|commit_hash]`<br><b>Uninstall Neovim and erase any changes bob has made</b>`bob erase`<br><b>Roll back to a previous nightly version</b>`bob rollback`


title: TLDR
content:
<b>Show status across all supported websites for the specified email address</b>`holehe [username@example.org]`<br><b>Show status for only sites where the specified email address is in use</b>`holehe [username@example.org] --only-used`


title: TLDR
content:
<b>Assign a name and tag to a specific image ID</b>`docker tag [id] [name]:[tag]`<br><b>Assign a tag to a specific image</b>`docker tag [image]:[current_tag] [image]:[new_tag]`<br><b>Display help</b>`docker tag`


title: TLDR
content:
<b>Encode a file with base64 encoding</b>`basenc --base64 [path/to/file]`<br><b>Decode a file with base64 encoding</b>`basenc [[-d|--decode]] --base64 [path/to/file]`<br><b>Encode from stdin with base32 encoding with 42 columns</b>`[command] | basenc --base32 [[-w|--wrap]] 42`<br><b>Encode from stdin with base32 encoding</b>`[command] | basenc --base32`


title: TLDR
content:
<b>List all nvme devices</b>`sudo nvme list`<br><b>Show device information</b>`sudo nvme smart-log [device]`


title: TLDR
content:
<b>Search nixpkgs for a package based on its name or description</b>`nix search [nixpkgs] [search_term]`<br><b>Show description of a package from nixpkgs</b>`nix search [nixpkgs#pkg]`<br><b>Show all packages available from a flake on github</b>`nix search [github:owner/repo]`


title: TLDR
content:
<b>Create a basic cluster</b>`eksctl create cluster`<br><b>List the details about a cluster or all of the clusters</b>`eksctl get cluster --name=[name] --region=[region]`<br><b>Create a cluster passing all configuration information in a file</b>`eksctl create cluster --config-file=[path/to/file]`<br><b>Create a cluster using a configuration file and skip creating nodegroups until later</b>`eksctl create cluster --config-file=<path> --without-nodegroup`<br><b>Delete a cluster</b>`eksctl delete cluster --name=[name] --region=[region]`<br><b>Create cluster and write cluster credentials to a file other than the default</b>`eksctl create cluster --name=[name] --nodes=[4] --kubeconfig=[path/to/config.yaml]`<br><b>Create a cluster and prevent storing cluster credentials locally</b>`eksctl create cluster --name=[name] --nodes=[4] --write-kubeconfig=false`<br><b>Create a cluster and let eksctl manage cluster credentials under the ~/.kube/eksctl/clusters directory</b>`eksctl create cluster --name=[name] --nodes=[4] --auto-kubeconfig`


title: TLDR
content:
<b>Render specific local pages</b>`clip-view [path/to/page1.clip path/to/page2.clip ...]`<br><b>Render specific remote pages</b>`clip-view [page_name1 page_name2 ...]`<br><b>Render pages by a specific render</b>`clip-view --render [tldr|tldr-colorful|docopt|docopt-colorful] [page_name1 page_name2 ...]`<br><b>Render pages with a specific color theme</b>`clip-view --theme [path/to/local_theme.yaml|remote_theme_name] [page_name1 page_name2 ...]`<br><b>Clear a page or theme cache</b>`clip-view --clear-[page|theme]-cache`<br><b>Display help</b>`clip-view --help`<br><b>Display version</b>`clip-view --version`


title: TLDR
content:
<b>Compile and link 2 source files to generate an executable</b>`tcc -o [executable_name] [path/to/file1.c] [path/to/file2.c]`<br><b>Directly run an input file like a script and pass arguments to it</b>`tcc -run [path/to/source_file.c] [arguments]`<br><b>Interpret C source files with a shebang inside the file</b>`#!/[path/to/tcc] -run`


title: TLDR
content:
<b>Retry a command until it succeeds</b>`retry [command]`<br><b>Retry a command every n seconds until it succeeds</b>`retry --delay=[n] [command]`<br><b>Give up after n attempts</b>`retry --times=[n] [command]`


title: TLDR
content:
<b>Start fastd with a specific configuration file</b>`fastd [[-c|--config]] [path/to/fastd.conf]`<br><b>Start a Layer 3 VPN with an MTU of 1400, loading the rest of the configuration parameters from a file</b>`fastd [[-m|--mode]] [tap] [[-M|--mtu]] [1400] [[-c|--config]] [path/to/fastd.conf]`<br><b>Validate a configuration file</b>`fastd --verify-config [[-c|--config]] [path/to/fastd.conf]`<br><b>Generate a new keypair</b>`fastd --generate-key`<br><b>Show the public key to a private key in a configuration file</b>`fastd --show-key [[-c|--config]] [path/to/fastd.conf]`<br><b>Display version</b>`fastd [[-v|--version]]`


title: TLDR
content:
<b>Update restart policy to apply when a specific container exits</b>`docker update --restart [always|no|on-failure|unless-stopped] [container_name]`<br><b>Update the policy to restart up to three times a specific container when it exits with non-zero exit status</b>`docker update --restart on-failure:3 [container_name]`<br><b>Update the number of CPUs available to a specific container</b>`docker update --cpus [count] [container_name]`<br><b>Update the memory limit in [M]egabytes for a specific container</b>`docker update [[-m|--memory]] [limit]M [container_name]`<br><b>Update the maximum number of process IDs allowed inside a specific container (use -1 for unlimited)</b>`docker update --pids-limit [count] [container_name]`<br><b>Update the amount of memory in [M]egabytes a specific container can swap to disk (use -1 for unlimited)</b>`docker update --memory-swap [limit]M [container_name]`


title: TLDR
content:
<b>Check a table</b>`mysqlcheck --check [table]`<br><b>Check a table and provide credentials to access it</b>`mysqlcheck --check [table] --user [username] --password [password]`<br><b>Repair a table</b>`mysqlcheck --repair [table]`<br><b>Optimize a table</b>`mysqlcheck --optimize [table]`


title: TLDR
content:
<b>List local Docker images</b>`podman image ls`<br><b>Delete unused local Docker images</b>`podman image prune`<br><b>Delete all unused images (not just those without a tag)</b>`podman image prune --all`<br><b>Show the history of a local Docker image</b>`podman image history [image]`


title: TLDR
content:
<b>Show why the currently running NixOS system requires a certain store path</b>`nix why-depends [/run/current-system] [/nix/store/...]`<br><b>Show why a package from nixpkgs requires another package as a _build-time_ dependency</b>`nix why-depends --derivation [nixpkgs#dependent] [nixpkgs#dependency]`


title: TLDR
content:
<b>Install some packages from nixpkgs into the default profile</b>`nix profile install [nixpkgs#pkg1 nixpkgs#pkg2 ...]`<br><b>Install a package from a flake on GitHub into a custom profile</b>`nix profile install [github:owner/repo/pkg] --profile [./path/to/directory]`<br><b>List packages currently installed in the default profile</b>`nix profile list`<br><b>Remove a package installed from nixpkgs from the default profile, by name</b>`nix profile remove [legacyPackages.x86_64-linux.pkg]`<br><b>Upgrade packages in the default to the latest available versions</b>`nix profile upgrade`<br><b>Rollback (cancel) the latest action on the default profile</b>`nix profile rollback`


title: TLDR
content:
<b>Calculate default CRC32 digests of a file</b>`rhash [path/to/file]`<br><b>Recursively process a directory to generate an SFV file using SHA1</b>`rhash --sha1 --recursive [path/to/folder] > [path/to/output.sfv]`<br><b>Verify the integrity of files based on an SFV file</b>`rhash --check [path/to/file.sfv]`<br><b>Calculate the SHA3 digest of a text message</b>`rhash --sha3-256 --message '[message]'`<br><b>Calculate CRC32 digest of a file and output digest encoded in base64 using BSD format</b>`rhash --base64 --bsd [path/to/file]`<br><b>Use custom output template</b>`rhash --printf '[%p\t%s\t%{mtime}\t%m\n]' [path/to/file]`


title: TLDR
content:
<b>Create a copy of the default configuration in your current working directory</b>`yolo task=init`<br><b>Train the object detection, instance segment, or classification model with the specified configuration file</b>`yolo task=[detect|segment|classify] mode=train cfg=[path/to/config.yaml]`


title: TLDR
content:
<b>Listen on all interfaces (0.0.0.0) and port 8080</b>`xsp`<br><b>Listen on a specific IP address and port</b>`xsp --address [127.0.0.1] --port [8000]`


title: TLDR
content:
<b>Create a Python virtual environment</b>`python -m venv [path/to/virtual_environment]`<br><b>Activate the virtual environment (Linux and macOS)</b>`[[.|source]] [path/to/virtual_environment]/bin/activate`<br><b>Activate the virtual environment (Windows)</b>`[path\to\virtual_environment]\Scripts\activate.bat`<br><b>Deactivate the virtual environment</b>`deactivate`<br><b>Create an alias that generates a venv folder and automatically activates it</b>`alias venv='python -m venv .venv && source [.venv/bin/activate|.venv\Scripts\activate.bat]'`


title: TLDR
content:
<b>Display Java version by using coursier</b>`cs java -version`<br><b>Call a specific Java version with custom properties using coursier</b>`cs java --jvm [jvm_name]:[jvm_version] -Xmx32m -X[another_jvm_opt] -jar [path/to/jar_name.jar]`<br><b>List all the available JVM in the coursier default index</b>`cs java --available`<br><b>List all the installed JVM in the system with his own location</b>`cs java --installed`<br><b>Set a specific JVM as one-off default for the shell instance</b>`cs java --jvm [jvm_name]:[jvm_version] --env`<br><b>Revert the changes for the default JVM settings</b>`eval "$(cs java --disable)"`<br><b>Set a specific JVM as default for the whole system</b>`cs java --jvm [jvm_name]:[jvm_version] --setup`


title: TLDR
content:
<b>Show the current pinning data</b>`tlmgr pinning show`<br><b>Pin the matching the packages to the given repository</b>`tlmgr pinning add [repository] [package1 package2 ...]`<br><b>Remove any packages recorded in the pinning file matching the packages for the given repository</b>`tlmgr pinning remove [repository] [package1 package2 ...]`<br><b>Remove all pinning data for the given repository</b>`tlmgr pinning remove [repository] --all`


title: TLDR
content:
<b>Start a shell with all dependencies of a package from nixpkgs available</b>`nix develop [nixpkgs#pkg]`<br><b>Start a development shell for the default package in a flake in the current directory</b>`nix develop`<br><b>In that shell, configure and build the sources</b>`configurePhase; buildPhase`


title: TLDR
content:
<b>List all repos in a specific project</b>`az repos list [[-p|--project]] [project_name]`<br><b>Add policy on a specific branch of a specific repository to restrict basic merge</b>`az repos policy merge-strategy create --repository-id [repository_id_in_repos_list] --branch [branch_name] --blocking --enabled --allow-no-fast-forward false --allow-rebase true --allow-rebase-merge true --allow-squash true`<br><b>Add build validation on a specific repository, using an existing build pipeline, to be triggered automatically on source update</b>`az repos policy build create --repository-id [repository_id] --build-definition-id [build_pipeline_id] --branch main --blocking --enabled --queue-on-source-update-only true --display-name [name] --valid-duration [minutes]`<br><b>List all active Pull Requests on a specific repository within a specific project</b>`az repos pr list [[-p|--project]] [project_name] [[-r|--repository]] [repository_name] --status active`


title: TLDR
content:
<b>Open the source of the Nix expression of a package from nixpkgs in your $EDITOR</b>`nix edit [nixpkgs#pkg]`<br><b>Dump the source of a package to stdout</b>`EDITOR=cat nix edit [nixpkgs#pkg]`


title: TLDR
content:
<b>Download songs from the provided URLs and embed metadata</b>`spotdl [open.spotify.com/playlist/playlistId1 open.spotify.com/track/trackId2 ...]`<br><b>Start a web interface to download individual songs</b>`spotdl web`<br><b>Save only the metadata without downloading anything</b>`spotdl save [open.spotify.com/playlist/playlistId1 open.spotify.com/track/trackId2 ...] --save-file [path/to/save_file.spotdl]`


title: TLDR
content:
<b>Ask GPT to improve the code with no extra options</b>`rgpt --i "$(git diff [path/to/file])"`<br><b>Get a more detailed verbose output from rgpt while reviewing the code</b>`rgpt --v --i "$(git diff [path/to/file])"`<br><b>Ask GPT to improve the code and limit it to a certain amount of GPT3 tokens</b>`rgpt --max [300] --i "$(git diff [path/to/file])"`<br><b>Ask GPT for a more unique result using a float value between 0 and 2. (higher = more unique)</b>`rgpt --pres [1.2] --i "$(git diff [path/to/file])"`<br><b>Ask GPT to review your code using a specific model</b>`rgpt --model [davinci] --i "$(git diff [path/to/file])"`<br><b>Make rgpt use a JSON output</b>`rgpt --json --i "$(git diff [path/to/file])"`


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


title: TLDR
content:
<b>Print the mcfly integration code for the specified shell</b>`mcfly init [bash|fish|zsh]`<br><b>Search the history for a command, with 20 results</b>`mcfly search --results [20] "[search_terms]"`<br><b>Add a new command to the history</b>`mcfly add "[command]"`<br><b>Record that a directory has moved and transfer the historical records from the old path to the new one</b>`mcfly move "[path/to/old_directory]" "[path/to/new_directory]"`<br><b>Train the suggestion engine (developer tool)</b>`mcfly train`<br><b>Display help for a specific subcommand</b>`mcfly help [subcommand]`


title: TLDR
content:
<b>Set the Personal Access Token (PAT) to login to a particular organization</b>`az devops login [[--org|--organization]] [organization_url]`<br><b>Open a project in the browser</b>`az devops project show [[-p|--project]] [project_name] --open`<br><b>List members of a specific team working on a particular project</b>`az devops team list-member [[-p|--project]] [project_name] --team [team_name]`<br><b>Check the Azure DevOps CLI current configuration</b>`az devops configure [[-l|--list]]`<br><b>Configure the Azure DevOps CLI behavior by setting a default project and a default organization</b>`az devops configure [[-d|--defaults]] project=[project_name] organization=[organization_url]`


title: TLDR
content:
<b>Scan a Docker image</b>`osv-scanner -D [docker_image_name]`<br><b>Scan a package lockfile</b>`osv-scanner -L [path/to/lockfile]`<br><b>Scan an SBOM file</b>`osv-scanner -S [path/to/sbom_file]`<br><b>Scan multiple directories recursively</b>`osv-scanner -r [directory1 directory2 ...]`<br><b>Skip scanning Git repositories</b>`osv-scanner --skip-git [-r|-D] [target]`<br><b>Output result in JSON format</b>`osv-scanner --json [-D|-L|-S|-r] [target]`


title: TLDR
content:
<b>Download images from the specified URL</b>`gallery-dl "[url]"`<br><b>Save images to a specific directory</b>`gallery-dl --destination [path/to/directory] "[url]"`<br><b>Retrieve pre-existing cookies from your web browser (useful for sites that require login)</b>`gallery-dl --cookies-from-browser [browser] "[url]"`<br><b>Get the direct URL of an image from a site supporting authentication with username and password</b>`gallery-dl --get-urls --username [username] --password [password] "[url]"`<br><b>Filter manga chapters by chapter number and language</b>`gallery-dl --chapter-filter "[10 <= chapter < 20]" --option "lang=[language_code]" "[url]"`


title: TLDR
content:
<b>Run text-to-speech with the default models, writing the output to "tts_output.wav"</b>`tts --text "[text]"`<br><b>List provided models</b>`tts --list_models`<br><b>Query info for a model by idx</b>`tts --model_info_by_idx [model_type/model_query_idx]`<br><b>Query info for a model by name</b>`tts --model_info_by_name [model_type/language/dataset/model_name]`<br><b>Run a text-to-speech model with its default vocoder model</b>`tts --text "[text]" --model_name [model_type/language/dataset/model_name]`<br><b>Run your own text-to-speech model (using the Griffin-Lim vocoder)</b>`tts --text "[text]" --model_path [path/to/model.pth] --config_path [path/to/config.json] --out_path [path/to/file.wav]`


title: TLDR
content:
<b>Print a formatted version of a shell script</b>`shfmt [path/to/file]`<br><b>List unformatted files</b>`shfmt --list [path/to/directory]`<br><b>Write the result to the file instead of printing it to the terminal</b>`shfmt --write [path/to/file]`<br><b>Simplify the code, removing redundant pieces of syntax (i.e. removing "$" from vars in expressions)</b>`shfmt --simplify [path/to/file]`


title: TLDR
content:
<b>List all Podman images</b>`podman images`<br><b>List all Podman images including intermediates</b>`podman images --all`<br><b>List the output in quiet mode (only numeric IDs)</b>`podman images --quiet`<br><b>List all Podman images not used by any container</b>`podman images --filter dangling=true`<br><b>List images that contain a substring in their name</b>`podman images "[*image|image*]"`


title: TLDR
content:
<b>Package a web page</b>`pake [https://www.example.com/]`<br><b>Package a web page with a specific window size</b>`pake --width [800] --height [600] [https://www.example.com/]`<br><b>Package a web page with a custom application name and icon</b>`pake --name [application_name] --icon [path/to/icon.ico] [https://www.example.com/]`<br><b>Package a web page with a non-resizable window</b>`pake --no-resizable [https://www.example.com/]`<br><b>Package a web page with fullscreen mode</b>`pake --fullscreen [https://www.example.com/]`<br><b>Package a web page with a transparent title bar</b>`pake --transparent [https://www.example.com/]`


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


title: TLDR
content:
<b>Launch a specific application with arguments</b>`cs launch [application_name] -- [argument1 argument2 ...]`<br><b>Launch a specific application version with arguments</b>`cs launch [application_name]:[application_version] -- [argument1 argument2 ...]`<br><b>Launch a specific version of an application specifying which is the main file</b>`cs launch [group_id]:[artifact_id]:[artifact_version] --main-class [path/to/main_class_file]`<br><b>Launch an application with specific Java options and JVM memory ones</b>`cs launch --java-opt [-Doption_name1:option_value1 -Doption_name2:option_value2 ...] --java-opt [-Xjvm_option1 -Xjvm_option2 ...] [application_name]`


title: TLDR
content:
<b>Backup your Charm account keys</b>`charm backup-keys`<br><b>Backup Charm account keys to a specific location</b>`charm backup-keys [[-o|--output]] [path/to/output_file.tar]`<br><b>Import previously backed up Charm account keys</b>`charm import-keys "[charm-keys-backup.tar]"`<br><b>Find where your cloud.charm.sh folder resides on your machine</b>`charm where`<br><b>Start your Charm server</b>`charm serve`<br><b>Print linked SSH keys</b>`charm keys`<br><b>Print your Charm ID</b>`charm id`


title: TLDR
content:
<b>Start Bird with a specific configuration file</b>`bird -c [path/to/bird.conf]`<br><b>Start Bird as a specific user and group</b>`bird -u [username] -g [group]`


title: TLDR
content:
<b>Start an interactive shell with some packages from nixpkgs</b>`nix shell [nixpkgs#pkg1 nixpkgs#packageSet.pkg2 ...]`<br><b>Start a shell providing a package from an older version of nixpkgs (21.05)</b>`nix shell [nixpkgs/nixos-21.05#pkg]`<br><b>Start a shell with the "default package" from a flake in the current directory, printing build logs if any builds happen</b>`nix shell -L`<br><b>Start a shell with a package from a flake on GitHub</b>`nix shell [github:owner/repo#pkg]`<br><b>Run a command in a shell with a package</b>`nix shell [nixpkgs#pkg] -c [some-cmd --someflag 'Some other arguments']`


title: TLDR
content:
<b>Login to Argo CD server</b>`argocd login --insecure --username [user] --password [password] [argocd_server:port]`<br><b>List applications</b>`argocd app list`


title: TLDR
content:
<b>Make a STUN request</b>`stun [stun.1und1.de]`<br><b>Make a STUN request and specify the source port</b>`stun [stun.1und1.de] -p [4302]`


title: TLDR
content:
<b>List models</b>`openai api models.list`<br><b>Create a completion</b>`openai api completions.create --model [ada] --prompt "[Hello world]"`<br><b>Create a chat completion</b>`openai api chat_completions.create --model [gpt-3.5-turbo] --message [user "Hello world"]`<br><b>Generate images via DALL·E API</b>`openai api image.create --prompt "[two dogs playing chess, cartoon]" --num-images [1]`


title: TLDR
content:
<b>List all supported ID3v2.3 or ID3v2.4 frames and their meanings</b>`mid3v2 --list-frames [path/to/file1.mp3 path/to/file2.mp3 ...]`<br><b>List all supported ID3v1 numeric genres</b>`mid3v2 --list-genres [path/to/file1.mp3 path/to/file2.mp3 ...]`<br><b>List all tags in specific files</b>`mid3v2 --list [path/to/file1.mp3 path/to/file2.mp3 ...]`<br><b>Set specific artist, album, or song information</b>`mid3v2 [--artist|--album|--song]=[string] [path/to/file1.mp3 path/to/file2.mp3 ...]`<br><b>Set specific picture information</b>`mid3v2 --picture=[filename:description:image_type:mime_type] [path/to/file1.mp3 path/to/file2.mp3 ...]`<br><b>Set specific year information</b>`mid3v2 --year=[YYYY] [path/to/file1.mp3 path/to/file2.mp3 ...]`<br><b>Set specific date information</b>`mid3v2 --date=[YYYY-MM-DD] [path/to/file1.mp3 path/to/file2.mp3 ...]`


title: TLDR
content:
<b>Launch the GUI</b>`anki`<br><b>Use a specific profile</b>`anki [[-p|--profile]] [profile_name]`<br><b>Use a specific language</b>`anki [[-l|--lang]] [language]`<br><b>Use a non-default directory (~/Anki for default)</b>`anki [[-b|--base]] [path/to/directory]`


title: TLDR
content:
<b>Compile multiple source files into an executable</b>`gfortran [path/to/source1.f90 path/to/source2.f90 ...] -o [path/to/output_executable]`<br><b>Show common warnings, debug symbols in output, and optimize without affecting debugging</b>`gfortran [path/to/source.f90] -Wall -g -Og -o [path/to/output_executable]`<br><b>Include libraries from a different path</b>`gfortran [path/to/source.f90] -o [path/to/output_executable] -I[path/to/mod_and_include] -L[path/to/library] -l[library_name]`<br><b>Compile source code into Assembler instructions</b>`gfortran -S [path/to/source.f90]`<br><b>Compile source code into an object file without linking</b>`gfortran -c [path/to/source.f90]`


title: TLDR
content:
<b>Collect garbage, i.e. remove unused paths to reduce space usage</b>`nix store gc`<br><b>Hard-link identical files together to reduce space usage</b>`nix store optimise`<br><b>Delete a specific store path (most be unused)</b>`nix store delete [/nix/store/...]`<br><b>List a contents of the store path, on a remote store</b>`nix store --store [https://cache.nixos.org] ls [/nix/store/...]`<br><b>Show the differences in versions between two store paths, with their respective dependencies</b>`nix store diff-closures [/nix/store/...] [/nix/store/...]`


title: TLDR
content:
<b>Print which artifacts are published under a specific Maven group identifier</b>`cs complete-dep [group_id]`<br><b>List published library versions under a specific Maven group identifier and an artifact one</b>`cs complete-dep [group_id]:[artifact_id]`<br><b>Print which artifacts are pubblished under a given Maven groupId searching in the ivy2local</b>`cs complete-dep [group_id] --repository ivy2local`<br><b>List published artifacts under a Maven group identifier searching in a specific repository and credentials</b>`cs complete-dep [group_id]:[artifact_id] --repository [repository_url] --credentials [user]:[password]`


title: TLDR
content:
<b>Run trayer</b>`trayer`<br><b>Position trayer to a specific edge</b>`trayer --edge [left|right|top|bottom]`<br><b>Provide a specific height and width of the panel (in pixels)</b>`trayer --width [10] --height [32]`<br><b>Provide the width of the panel in pixels or percentages</b>`trayer --widthtype [pixel|percent] --width [72]`<br><b>Align trayer to a specific direction</b>`trayer --align [left|center|right]`<br><b>Provide spacing between icons (in pixels)</b>`trayer --iconspacing [10]`


title: TLDR
content:
<b>Mount a file system (image or block device) at /run/media/system/LABEL where LABEL is the filesystem label or the device name if there is no label</b>`systemd-mount [path/to/file_or_device]`<br><b>Mount a file system (image or block device) at a specific location</b>`systemd-mount [path/to/file_or_device] [path/to/mount_point]`<br><b>List all local, known block devices with file systems that may be mounted</b>`systemd-mount --list`<br><b>Create an automount point that mounts the actual file system at the time of first access</b>`systemd-mount --automount yes [path/to/file_or_device]`<br><b>Unmount one or more devices</b>`systemd-mount [[-u|--umount]] [path/to/mount_point_or_device1 path/to/mount_point_or_device2 ...]`<br><b>Mount a file system (image or block device) with a specific file system type</b>`systemd-mount [[-t|--type]] [file_system_type] [path/to/file_or_device] [path/to/mount_point]`<br><b>Mount a file system (image or block device) with additional mount options</b>`systemd-mount [[-o|--options]] [mount_options] [path/to/file_or_device] [path/to/mount_point]`


title: TLDR
content:
<b>Operate on the specified directory instead of the root directory of the host system</b>`sudo systemd-firstboot --root [path/to/root_directory]`<br><b>Set the system keyboard layout</b>`sudo systemd-firstboot --keymap [keymap]`<br><b>Set the system hostname</b>`sudo systemd-firstboot --hostname [hostname]`<br><b>Set the root user's password</b>`sudo systemd-firstboot --root-password [password]`<br><b>Prompt the user interactively for a specific basic setting</b>`sudo systemd-firstboot --prompt [setting]`<br><b>Force writing configuration even if the relevant files already exist</b>`sudo systemd-firstboot --force`<br><b>Remove all existing files that are configured by systemd-firstboot</b>`sudo systemd-firstboot --reset`<br><b>Remove the password of the system's root user</b>`sudo systemd-firstboot --delete-root-password`


title: TLDR
content:
<b>Start in GUI mode</b>`dirbuster -u [http://example.com]`<br><b>Start in headless (no GUI) mode</b>`dirbuster -H -u [http://example.com]`<br><b>Set the file extension list</b>`dirbuster -e [txt,html]`<br><b>Enable verbose output</b>`dirbuster -v`<br><b>Set the report location</b>`dirbuster -r [path/to/report.txt]`


title: TLDR
content:
<b>List available cameras</b>`cam [[-l|--list]]`<br><b>List controls of a camera</b>`cam [[-c|--camera]] [camera_index] --list-controls`<br><b>Write frames to a folder</b>`cam [[-c|--camera]] [camera_index] [[-C|--capture=]][frames_to_capture] [[-F|--file]]`<br><b>Display camera feed in a window</b>`cam [[-c|--camera]] [camera_index] [[-C|--capture]] [[-S|--sdl]]`


title: TLDR
content:
<b>Display the current label and UUID of a swap area</b>`swaplabel [path/to/file]`<br><b>Set the label of a swap area</b>`swaplabel [[-L|--label]] [new_label] [path/to/file]`<br><b>Set the UUID of a swap area (you can generate a UUID using uuidgen)</b>`swaplabel [[-U|--uuid]] [new_uuid] [path/to/file]`


title: TLDR
content:
<b>Notify systemd that the service has completed its initialization and is fully started. It should be invoked when the service is ready to accept incoming requests</b>`systemd-notify --booted`<br><b>Signal to systemd that the service is ready to handle incoming connections or perform its tasks</b>`systemd-notify --ready`<br><b>Provide a custom status message to systemd (this information is shown by systemctl status)</b>`systemd-notify --status "[Add custom status message here...]"`


title: TLDR
content:
<b>Interactively create a new package manager configuration</b>`apx pkgmanagers create`<br><b>List all available package manager confirgurations</b>`apx pkgmanagers list`<br><b>Remove a package manager configuration</b>`apx pkgmanagers rm --name [string]`<br><b>Display information about a specific package manager</b>`apx pkgmanagers show [name]`


title: TLDR
content:
<b>Install a new package</b>`xbps-install [package]`<br><b>Synchronize and update all packages</b>`xbps-install [[-S|--sync]] [[-u|--update]]`


title: TLDR
content:
<b>Format a partition with bcachefs</b>`sudo bcachefs format [path/to/partition]`<br><b>Mount a bcachefs filesystem</b>`sudo bcachefs mount [path/to/partition] [path/to/mountpoint]`<br><b>Create a RAID 0 filesystem where an SSD acts as a cache and an HDD acts as a long-term storage</b>`sudo bcachefs format [[-l|--label]] [ssd.ssd1] [path/to/ssd_partition] [[-l|--label]] [hdd.hdd1] [path/to/hdd_partition] --replicas 1 --foreground_target [ssd] --promote_target [ssd] --background_target [hdd]`<br><b>Mount a multidevice filesystem</b>`sudo bcachefs mount [path/to/partition1]:[path/to/partition2] [path/to/mountpoint]`<br><b>Display disk usage</b>`bcachefs fs usage [[-h|--human-readable]] [path/to/mountpoint]`<br><b>Set replicas after formatting and mounting</b>`sudo bcachefs set-fs-option --metadata_replicas [2] --data_replicas [2] [path/to/partition]`<br><b>Force bcachefs to ensure all files are replicated</b>`sudo bcachefs data rereplicate [path/to/mountpoint]`<br><b>Create a snapshot of a particular directory</b>`bcachefs subvolume snapshot [path/to/directory] [path/to/snapshot]`


title: TLDR
content:
<b>Create files and directories as specified in the configuration</b>`systemd-tmpfiles --create`<br><b>Clean up files and directories with age parameters configured</b>`systemd-tmpfiles --clean`<br><b>Remove files and directories as specified in the configuration</b>`systemd-tmpfiles --remove`<br><b>Apply operations for user-specific configurations</b>`systemd-tmpfiles --create --user`<br><b>Execute lines marked for early boot</b>`systemd-tmpfiles --create --boot`


title: TLDR
content:
<b>Search for a package in remote repositories using a regex or a keyword (if --regex is omitted)</b>`xbps-query [[-s|--search]] [regex|keyword] --repository --regex`<br><b>Show information about an installed package</b>`xbps-query [[-S|--show]] [package]`<br><b>Show information about a package in remote repositories</b>`xbps-query [[-S|--show]] [package] --repository`<br><b>List packages registered in the package database</b>`xbps-query [[-l|--list-pkgs]]`<br><b>List explicitly installed packages (i.e. not automatically installed as dependencies)</b>`xbps-query [[-m|--list-manual-pkgs]]`


title: TLDR
content:
<b>Create users and groups from a specific configuration file</b>`systemd-sysusers [path/to/file]`<br><b>Process configuration files and print what would be done without actually doing anything</b>`systemd-sysusers --dry-run [path/to/file]`<br><b>Print the contents of all configuration files (before each file, its name is printed as a comment)</b>`systemd-sysusers --cat-config`<br><b>Create users based on files listed in the previous command</b>`systemd-sysusers`


title: TLDR
content:
<b>Generate an initramfs image for the current kernel without overriding any options</b>`dracut`<br><b>Generate an initramfs image for the current kernel and overwrite the existing one</b>`dracut [[-f|--force]]`<br><b>Generate an initramfs image for a specific kernel</b>`dracut --kver [kernel_version]`<br><b>List available modules</b>`dracut --list-modules`


title: TLDR
content:
<b>Set policy to complain mode</b>`sudo aa-complain [path/to/profile1 path/to/profile2 ...]`<br><b>Set policies to complain mode</b>`sudo aa-complain [[-d|--dir]] [path/to/profiles]`


title: TLDR
content:
<b>List detectable virtualization technologies</b>`systemd-detect-virt --list`<br><b>Detect virtualization, print the result and return a zero status code when running in a VM or a container, and a non-zero code otherwise</b>`systemd-detect-virt`<br><b>Silently check without printing anything</b>`systemd-detect-virt [[-q|--quiet]]`<br><b>Only detect container virtualization</b>`systemd-detect-virt [[-c|--container]]`<br><b>Only detect hardware virtualization</b>`systemd-detect-virt [[-v|--vm]]`


title: TLDR
content:
<b>Display all available hardware information</b>`hwinfo`<br><b>Display information about a specific hardware component</b>`hwinfo --[cpu|memory|disk|gfxcard|network|usb|pci|keyboard|mouse|monitor|sound|fingerprint|...]`<br><b>Display information about a specific hardware component succinctly</b>`hwinfo [--component] --short`<br><b>Write all hardware information to a file</b>`hwinfo --all --log [path/to/file]`<br><b>Display help</b>`hwinfo --help`


title: TLDR
content:
<b>List all virtual machines</b>`qm list`<br><b>List all virtual machines with a full status about the ones which are currently running</b>`qm list --full 1`


title: TLDR
content:
<b>Display a small preview window of a pixel's color with it's hexadecimal value, and copy this value to the clipboard</b>`farge`<br><b>Copy a pixel's hexadecimal value to the clipboard without displaying a preview window</b>`farge --no-preview`<br><b>Output a pixel's hexadecimal value to stdout, and copy this value to the clipboard</b>`farge --stdout`<br><b>Output a pixel's RGB value to stdout, and copy this value to the clipboard</b>`farge --rgb --stdout`<br><b>Display a pixel's hexadecimal value as a notification which expires in 5000 milliseconds, and copy this value to the clipboard</b>`farge --notify --expire-time 5000`


title: TLDR
content:
<b>Write the output of the specified command to the journal (both output streams are captured)</b>`systemd-cat [command]`<br><b>Write the output of a pipeline to the journal (stderr stays connected to the terminal)</b>`[command] | systemd-cat`<br><b>Use the specified identifier (default: cat when reading from a pipeline, executable name otherwise)</b>`[command] | systemd-cat [[-t|--identifier]] [id]`<br><b>Use the specified default priority level for all logged messages</b>`systemd-cat [[-p|--priority]] [emerg|alert|crit|err|warning|notice|info|debug] [command]`<br><b>Use the specified default priority level for the logged messages from the command's stderr</b>`systemd-cat --stderr-priority [emerg|alert|crit|err|warning|notice|info|debug] [command]`


title: TLDR
content:
<b>Convert binary CD into a standard iso9960 image file</b>`bchunk [path/to/image.bin] [path/to/image.cue] [path/to/output]`<br><b>Convert with verbose mode</b>`bchunk -v [path/to/image.bin] [path/to/image.cue] [path/to/output]`<br><b>Output audio files in WAV format</b>`bchunk -w [path/to/image.bin] [path/to/image.cue] [path/to/output]`


title: TLDR
content:
<b>Display a list of known paths and their current values</b>`systemd-path`<br><b>Query the specified path and display its value</b>`systemd-path "[path_name]"`<br><b>Suffix printed paths with suffix_string</b>`systemd-path --suffix [suffix_string]`<br><b>Print a short version string and then exit</b>`systemd-path --version`


title: TLDR
content:
<b>Lock the screen using the config in $HOME/.swaylock/config or $XDG_CONFIG_HOME/swaylock/config</b>`swaylock`<br><b>Lock the screen with a simple color background (rrggbb format)</b>`swaylock [[-c|--color]] [0000ff]`<br><b>Lock the screen with a background image</b>`swaylock [[-i|--image]] [path/to/image]`<br><b>Lock the screen and disable the unlock indicator (removes feedback on keypress)</b>`swaylock [[-u|--no-unlock-indicator]]`<br><b>Detach from the controlling terminal after locking (like i3lock)</b>`swaylock [[-f|--daemonize]]`<br><b>Lock the screen with a background image tiled over all monitors</b>`swaylock [[-i|--image]] [path/to/image] [[-t|--tiling]]`<br><b>Lock the screen and show the number of failed login attempts</b>`swaylock [[-F|--show-failed-attempts]]`<br><b>Load the configuration from a specific file</b>`swaylock [[-C|--config]] [path/to/config]`


title: TLDR
content:
<b>View the current security context of a file or directory</b>`ls [[-dlZ|--directory -l --context]] [path/to/file_or_directory]`<br><b>Restore the security context of a file or directory</b>`restorecon [path/to/file_or_directory]`<br><b>Restore the security context of a directory recursively, and show all changed labels</b>`restorecon -R -v [path/to/directory]`<br><b>Restore the security context of a directory recursively, using all available threads, and show progress</b>`restorecon -R -T [0] -p [path/to/directory]`<br><b>Preview the label changes that would happen without applying them</b>`restorecon -R -n -v [path/to/directory]`


title: TLDR
content:
<b>Interactively create a new stack configuration</b>`apx stacks new`<br><b>Interactively update a stack configuration</b>`apx stacks update [name]`<br><b>List all available stack configurations</b>`apx stacks list`<br><b>Remove a specified stack configuration</b>`apx stacks rm --name [string]`<br><b>Import a stack configuration</b>`apx stacks import --input [path/to/stack.yml]`<br><b>Export the stack configuration (Note: The output flag is optional, it is exported to the current working directory by default)</b>`apx stacks export --name [string] --output [path/to/output_file]`


title: TLDR
content:
<b>Show current build configuration to verify what would be built</b>`mkosi summary`<br><b>Build an image with default settings (if no distribution is selected, the distribution of the host system is used)</b>`mkosi build --distribution [fedora|debian|ubuntu|arch|opensuse|...]`<br><b>Build an image and run an interactive shell in a systemd-nspawn container of the image</b>`mkosi shell`<br><b>Boot an image in a virtual machine using QEMU (only supported for disk images or CPIO images when a kernel is provided)</b>`mkosi qemu`<br><b>Display help</b>`mkosi help`


title: TLDR
content:
<b>Disable profile</b>`sudo aa-disable [path/to/profile1 path/to/profile2 ...]`<br><b>Disable profiles in a directory (defaults to /etc/apparmor.d)</b>`sudo aa-disable --dir [path/to/profiles]`


title: TLDR
content:
<b>Move a virtual disk</b>`qm [[di|disk]] [[m|move]] [vm_id] [destination] [index]`<br><b>Delete the previous copy of the virtual disk</b>`qm [[di|disk]] [[m|move]] --delete [vm_id] [destination] [index]`


title: TLDR
content:
<b>List all currently pending system password requests</b>`systemd-tty-ask-password-agent --list`<br><b>Continuously process password requests</b>`systemd-tty-ask-password-agent --watch`<br><b>Process all currently pending system password requests by querying the user on the calling TTY</b>`systemd-tty-ask-password-agent --query`<br><b>Forward password requests to wall instead of querying the user on the calling TTY</b>`systemd-tty-ask-password-agent --wall`


title: TLDR
content:
<b>Find out whether the network is connected and print the result to stdout</b>`nm-online`<br><b>Wait n seconds for a connection (30 by default)</b>`nm-online --timeout [n]`


title: TLDR
content:
<b>View documentation for authenticating pkgctl with services like GitLab</b>`tldr pkgctl auth`<br><b>View documentation for building packages inside a clean chroot</b>`tldr pkgctl build`<br><b>View documentation for updating the binary repository as final release step</b>`tldr pkgctl db update`<br><b>View documentation for comparing package files using different modes</b>`tldr pkgctl diff`<br><b>View documentation for releasing build artifacts</b>`tldr pkgctl release`<br><b>View documentation for managing Git packaging repositories and their configuration</b>`tldr pkgctl repo`<br><b>Display version</b>`pkgctl version`


title: TLDR
content:
<b>Show if Secure Boot is enabled</b>`mokutil --sb-state`<br><b>Enable Secure Boot</b>`mokutil --enable-validation`<br><b>Disable Secure Boot</b>`mokutil --disable-validation`<br><b>List enrolled keys</b>`mokutil --list-enrolled`<br><b>Enroll a new key</b>`mokutil --import [path/to/key.der]`<br><b>List the keys to be enrolled</b>`mokutil --list-new`<br><b>Set shim verbosity</b>`mokutil --set-verbosity true`


title: TLDR
content:
<b>Convert a PDF file to an HTML file</b>`pdftohtml [path/to/file.pdf] [path/to/output_file.html]`<br><b>Ignore images in the PDF file</b>`pdftohtml -i [path/to/file.pdf] [path/to/output_file.html]`<br><b>Generate a single HTML file that includes all PDF pages</b>`pdftohtml -s [path/to/file.pdf] [path/to/output_file.html]`<br><b>Convert a PDF file to an XML file</b>`pdftohtml -xml [path/to/file.pdf] [path/to/output_file.xml]`


title: TLDR
content:
<b>List all known user records</b>`userdbctl user`<br><b>Show details of a specific user</b>`userdbctl user [username]`<br><b>List all known groups</b>`userdbctl group`<br><b>Show details of a specific group</b>`userdbctl group [groupname]`<br><b>List all services currently providing user/group definitions to the system</b>`userdbctl services`


title: TLDR
content:
<b>Download a profile</b>`instaloader [profile_name]`<br><b>Download highlights</b>`instaloader --highlights [profile_name]`<br><b>Download posts with geotags (if available), suppressing any user interaction</b>`instaloader [[-q|--quiet]] [[-G|--geotags]] [profile_name]`<br><b>Specify a user agent for HTTP requests</b>`instaloader --user-agent [user_agent] [profile_name]`<br><b>Specify login info and download posts (useful for private profiles)</b>`instaloader [[-l|--login]] [username] [[-p|--password]] [password] [profile_name]`<br><b>Skip a target if the first downloaded file has been found (useful for updating Instagram archives)</b>`instaloader [[-F|--fast-update]] [profile_name]`<br><b>Download stories and IGTV videos (login required)</b>`instaloader [[-l|--login]] [username] [[-p|--password]] [password] [[-s|--stories]] --igtv [profile_name]`<br><b>Download all types of posts (login required)</b>`instaloader [[-l|--login]] [username] [[-p|--password]] [password] [[-s|--stories]] --igtv --highlights [profile_name]`


title: TLDR
content:
<b>List installed extension images</b>`systemd-sysext list`<br><b>Merge system extension images into /usr/ and /opt/</b>`systemd-sysext merge`<br><b>Check the current merge status</b>`systemd-sysext status`<br><b>Unmerge all currently installed system extension images from /usr/ and /opt/</b>`systemd-sysext unmerge`<br><b>Refresh system extension images (a combination of unmerge and merge)</b>`systemd-sysext refresh`


title: TLDR
content:
<b>Authenticate pkgctl with the GitLab instance</b>`pkgctl auth login`<br><b>View authentication status</b>`pkgctl auth status`


title: TLDR
content:
<b>Show the contents of the initramfs image for the current kernel</b>`lsinitrd`<br><b>Show the contents of the initramfs image for the specified kernel</b>`lsinitrd --kver [kernel_version]`<br><b>Show the contents of the specified initramfs image</b>`lsinitrd [path/to/initramfs.img]`<br><b>List modules included in the initramfs image</b>`lsinitrd --mod`<br><b>Unpack the initramfs to the current directory</b>`lsinitrd --unpack`


title: TLDR
content:
<b>Clone a package repository (requires setting an SSH key in your Arch Linux GitLab account)</b>`pkgctl repo clone [pkgname]`<br><b>Clone a package repository over HTTPS</b>`pkgctl repo clone --protocol https [pkgname]`<br><b>Create a new GitLab package repository and clone it after creation (requires valid GitLab API authentication)</b>`pkgctl repo create [pkgbase]`<br><b>Switch a package repository to a specified version</b>`pkgctl repo switch [version] [pkgbase]`<br><b>Open a package repository's website</b>`pkgctl repo web [pkgbase]`


title: TLDR
content:
<b>Display the full list of builtin commands</b>`help`<br><b>Print instructions on how to use the while loop construct</b>`help while`<br><b>Print instructions on how to use the for loop construct</b>`help for`<br><b>Print instructions on how to use [[ ]] for conditional commands</b>`help [[ ]]`<br><b>Print instruction on how to use (( )) to evaluate arithmetic expressions</b>`help \( \)`<br><b>Print instructions on how to use the cd command</b>`help cd`


title: TLDR
content:
<b>Continuously read barcodes and print them to stdout</b>`zbarcam`<br><b>Disable output video window while scanning</b>`zbarcam --nodisplay`<br><b>Print barcodes without type information</b>`zbarcam --raw`<br><b>Define capture device</b>`zbarcam [/dev/video_device]`


title: TLDR
content:
<b>List all removable kernel versions (or those matching version if the argument is specified)</b>`vkpurge list [version]`<br><b>Remove all unused kernels</b>`vkpurge rm all`<br><b>Remove kernel versions matching version</b>`vkpurge rm [version]`


title: TLDR
content:
<b>Show all overridden configuration files</b>`systemd-delta`<br><b>Show only files of specific types (comma-separated list)</b>`systemd-delta [[-t|--type]] [masked|equivalent|redirected|overridden|extended|unchanged]`<br><b>Show only files whose path starts with the specified prefix (Note: A prefix is a directory containing subdirectories with systemd configuration files)</b>`systemd-delta [/etc|/run|/usr/lib|...]`<br><b>Further restrict the search path by adding a suffix (the prefix is optional)</b>`systemd-delta [prefix]/[tmpfiles.d|sysctl.d|systemd/system|...]`


title: TLDR
content:
<b>List all objects managed by WirePlumber</b>`wpctl status`<br><b>Print all properties of an object</b>`wpctl inspect [id]`<br><b>Set an object to be the default in its group</b>`wpctl set-default [id]`<br><b>Get the volume of a sink</b>`wpctl get-volume [id]`<br><b>Set the volume of a sink to n percent</b>`wpctl set-volume [id] [n]%`<br><b>Increase/Decrease the volume of a sink by n percent</b>`wpctl set-volume [id] [n]%[+|-]`<br><b>Increase the volume of a sink by n percent but limit the volume below 100%</b>`wpctl set-volume [[-l|--limit]] 1 [id] [n]%-`<br><b>Mute/Unmute a sink (1 is mute, 0 is unmute)</b>`wpctl set-mute [id] [1|0|toggle]`


title: TLDR
content:
<b>Suspend a virtual machine by ID</b>`qm [[su|suspend]] [vm_id] [integer]`<br><b>Skip the lock check when suspending the VM</b>`qm [[su|suspend]] [vm_id] [integer] --skiplock`<br><b>Skip the lock check for storage when suspending the VM</b>`qm [[su|suspend]] [vm_id] [integer] --skiplockstorage`


title: TLDR
content:
<b>List all local USB devices and their bus ID's</b>`usbip list [[-l|--local]]`<br><b>Start a usbip daemon on the server</b>`systemctl start usbipd`<br><b>Bind a USB device to usbip on the server</b>`sudo usbip bind [[-b|--busid]] [bus_id]`<br><b>Load the kernel module required by usbip on the client</b>`sudo modprobe vhci-hcd`<br><b>Attach to the usbip device on the client (bus ID is the same as on the server)</b>`sudo usbip attach [[-r|--remote]] [ip_address] [[-b|--busid]] [bus_id]`<br><b>List attached devices</b>`usbip port`<br><b>Detach from a device</b>`sudo usbip detach [[-p|--port]] [port]`<br><b>Unbind a device</b>`usbip unbind [[-b|--busid]] [bus_id]`


title: TLDR
content:
<b>Run auto-cpufreq in a specific mode</b>`sudo auto-cpufreq --[monitor|live|update|remove|stats|force=governor]`


title: TLDR
content:
<b>List all file labelling rules</b>`sudo semanage fcontext [[-l|--list]]`<br><b>List all user-defined file labelling rules without headings</b>`sudo semanage fcontext [[-l|--list]] [[-C|--locallist]] [[-n|--noheading]]`<br><b>Add a user-defined rule that labels any path which matches a PCRE regex</b>`sudo semanage fcontext [[-a|--add]] [[-t|--type]] [samba_share_t] '[/mnt/share(/.*)?]'`<br><b>Delete a user-defined rule using its PCRE regex</b>`sudo semanage fcontext [[-d|--delete]] '[/mnt/share(/.*)?]'`<br><b>Relabel a directory recursively by applying the new rules</b>`restorecon -R -v [path/to/directory]`


title: TLDR
content:
<b>Update the binary hardware database in /etc/udev</b>`systemd-hwdb update`<br><b>Query the hardware database and print the result for a specific modalias</b>`systemd-hwdb query [modalias]`<br><b>Update the binary hardware database, returning a non-zero exit value on any parsing error</b>`systemd-hwdb [[-s|--strict]] update`<br><b>Update the binary hardware database in /usr/lib/udev</b>`systemd-hwdb --usr update`<br><b>Update the binary hardware database in the specified root path</b>`systemd-hwdb [[-r|--root]] [path/to/root] update`


title: TLDR
content:
<b>Import your projects (this is necessary to enable project prompts)</b>`tod project import`<br><b>Quickly create a task with due date</b>`tod --quickadd [Buy more milk today]`<br><b>Create a new task (you will be prompted for content and project)</b>`tod task create`<br><b>Create a task in a project</b>`tod task create --content "[Write more rust]" --project [code]`<br><b>Get the next task for a project</b>`tod task next`<br><b>Get your work schedule</b>`tod task list --scheduled --project [work]`<br><b>Get all tasks for work</b>`tod task list --project [work]`


title: TLDR
content:
<b>Start Waydroid</b>`waydroid show-full-ui`<br><b>Initialize Waydroid (required on first run or after reinstalling Android)</b>`sudo waydroid init`<br><b>Install a new Android app from a file</b>`waydroid app install [path/to/file.apk]`<br><b>Launch an Android app by its package name</b>`waydroid app launch [com.example.app]`<br><b>Start or stop the Waydroid session</b>`waydroid session [start|stop]`<br><b>Manage the Waydroid container</b>`sudo waydroid container [start|stop|restart|freeze|unfreeze]`<br><b>Open Waydroid shell</b>`sudo waydroid shell`<br><b>Adjust Waydroid window dimensions</b>`waydroid prop set persist.waydroid.[width|height] [number]`


title: TLDR
content:
<b>Print the iptables configuration</b>`sudo iptables-save`<br><b>Print the iptables configuration of a specific table</b>`sudo iptables-save [[-t|--table]] [table]`<br><b>Save the iptables configuration to a file</b>`sudo iptables-save [[-f|--file]] [path/to/file]`


title: TLDR
content:
<b>Check status</b>`sudo aa-status`<br><b>Display status in JSON format</b>`sudo aa-status --json`<br><b>Display status in pretty JSON format</b>`sudo aa-status --pretty-json`<br><b>Display the number of loaded policies</b>`sudo aa-status --profiled`<br><b>Display the number of loaded enforicing policies</b>`sudo aa-status --enforced`<br><b>Display the number of loaded non-enforcing policies</b>`sudo aa-status --complaining`<br><b>Display the number of loaded enforcing policies that kill tasks</b>`sudo aa-status --kill`


title: TLDR
content:
<b>Remove a package</b>`xbps-remove [package]`<br><b>Remove a package and its dependencies</b>`xbps-remove [[-R|--recursive]] [package]`<br><b>Remove orphan packages (installed as dependencies but no longer required by any package)</b>`xbps-remove [[-o|--remove-orphans]]`<br><b>Remove obsolete packages from the cache</b>`xbps-remove [[-O|--clean-cache]]`


title: TLDR
content:
<b>Capture traffic on a specific interface, port and host:</b>`sudo tcpick [[-i|--interface]] [interface] [[-C|--colors]] -h [host] -p [port]`<br><b>Capture traffic on port 80 (HTTP) of a specific host</b>`sudo tcpick [[-i|--interface]] [eth0] [[-C|--colors]] -h [192.168.1.100] -p [80]`<br><b>Display help</b>`tcpick --help`


title: TLDR
content:
<b>Connect using the specified username or $USER by default (you will be prompted for a password)</b>`mount.cifs -o user=[username] //[server]/[share_name] [mountpoint]`<br><b>Connect as the guest user (without a password)</b>`mount.cifs -o guest //[server]/[share_name] [mountpoint]`<br><b>Set ownership information for the mounted directory</b>`mount.cifs -o uid=[user_id|username],gid=[group_id|groupname] //[server]/[share_name] [mountpoint]`


title: TLDR
content:
<b>Switch between different GPU modes</b>`optimus-manager --switch [nvidia|integrated|hybrid]`<br><b>Clean up</b>`optimus-manager --cleanup`


title: TLDR
content:
<b>Display the contents of one or more files from a squashfs filesystem</b>`sqfscat [filesystem.squashfs] [file1 file2 ...]`


title: TLDR
content:
<b>Enroll a new password (similar to cryptsetup luksAddKey)</b>`systemd-cryptenroll --password [path/to/luks2_block_device]`<br><b>Enroll a new recovery key (i.e. a randomly generated passphrase that can be used as a fallback)</b>`systemd-cryptenroll --recovery-key [path/to/luks2_block_device]`<br><b>List available tokens, or enroll a new PKCS#11 token</b>`systemd-cryptenroll --pkcs11-token-uri [list|auto|pkcs11_token_uri] [path/to/luks2_block_device]`<br><b>List available FIDO2 devices, or enroll a new FIDO2 device (auto can be used as the device name when there is only one token plugged in)</b>`systemd-cryptenroll --fido2-device [list|auto|path/to/fido2_hidraw_device] [path/to/luks2_block_device]`<br><b>Enroll a new FIDO2 device with user verification (biometrics)</b>`systemd-cryptenroll --fido2-device [auto|path/to/fido2_hidraw_device] --fido2-with-user-verification yes [path/to/luks2_block_device]`<br><b>Unlock using a FIDO2 device, and enroll a new FIDO2 device</b>`systemd-cryptenroll --unlock-fido2-device [path/to/fido2_hidraw_unlock_device] --fido2-device [path/to/fido2_hidraw_enroll_device] [path/to/luks2_block_device]`<br><b>Enroll a TPM2 security chip (only secure-boot-policy PCR) and require an additional alphanumeric PIN</b>`systemd-cryptenroll --tpm2-device [auto|path/to/tpm2_block_device] --tpm2-with-pin yes [path/to/luks2_block_device]`<br><b>Remove all empty passwords/all passwords/all FIDO2 devices/all PKCS#11 tokens/all TPM2 security chips/all recovery keys/all methods</b>`systemd-cryptenroll --wipe-slot [empty|password|fido2|pkcs#11|tpm2|recovery|all] [path/to/luks2_block_device]`


title: TLDR
content:
<b>Silently check and return a 0 status code when running on AC power, and a non-zero code otherwise</b>`systemd-ac-power`<br><b>Additionally print yes or no to stdout</b>`systemd-ac-power [[-v|--verbose]]`


title: TLDR
content:
<b>Enable profile</b>`sudo aa-enforce [[-d|--dir]] [path/to/profile]`<br><b>Enable profiles</b>`sudo aa-enforce [path/to/profile1 path/to/profile2 ...]`


title: TLDR
content:
<b>Interactively create a new subsystem</b>`apx subsystems new`<br><b>List all available subsystems</b>`apx subsystems list`<br><b>Reset a specific subsystem to its initial state</b>`apx subsystems reset [[-n|--name]] [string]`<br><b>Force reset a specific subsystem</b>`apx subsystems reset [[-n|--name]] [string] [[-f|--force]]`<br><b>Remove a specific subsystem</b>`apx subsystems rm [[-n|--name]] [string]`<br><b>Force remove a specific subsystem</b>`apx subsystems rm [[-n|--name]] [string] [[-f|--force]]`


title: TLDR
content:
<b>Play a MIDI file</b>`fluidsynth [path/to/soundfont.sf2] [path/to/file.midi]`<br><b>Specify the audio driver</b>`fluidsynth [[-a|--audio-driver]] [pipewire|pulseaudio] [path/to/soundfont.sf2] [path/to/file.midi]`<br><b>Display help</b>`fluidsynth [[-h|--help]]`


title: TLDR
content:
<b>Show all peers on the bus, by their service names</b>`busctl list`<br><b>Show process information and credentials of a bus service, a process, or the owner of the bus (if no parameter is specified)</b>`busctl status [service|pid]`<br><b>Dump messages being exchanged. If no service is specified, show all messages on the bus</b>`busctl monitor [service1 service2 ...]`<br><b>Show an object tree of one or more services (or all services if no service is specified)</b>`busctl tree [service1 service2 ...]`<br><b>Show interfaces, methods, properties and signals of the specified object on the specified service</b>`busctl introspect [service] [path/to/object]`<br><b>Retrieve the current value of one or more object properties</b>`busctl get-property [service] [path/to/object] [interface_name] [property_name]`<br><b>Invoke a method and show the response</b>`busctl call [service] [path/to/object] [interface_name] [method_name]`


title: TLDR
content:
<b>Compare package files in tar content list different mode (default)</b>`pkgctl diff [[-l|--list]] [path/to/file|pkgname]`<br><b>Compare package files in diffoscope different mode</b>`pkgctl diff [[-d|--diffoscope]] [path/to/file|pkgname]`<br><b>Compare package files in .PKGINFO different mode</b>`pkgctl diff [[-p|--pkginfo]] [path/to/file|pkgname]`<br><b>Compare package files in .BUILDINFO different mode</b>`pkgctl diff [[-b|--buildinfo]] [path/to/file|pkgname]`


title: TLDR
content:
<b>Disable password expiration for the user</b>`sudo lchage --date -1 [username]`<br><b>Display the password policy for the user</b>`sudo lchage --list [username]`<br><b>Require password change for the user a certain number of days after the last password change</b>`sudo lchage --maxdays [number_of_days] [username]`<br><b>Start warning the user a certain number of days before the password expires</b>`sudo lchage --warndays [number_of_days] [username]`


title: TLDR
content:
<b>Create a shell script that when executed extracts the given files from itself</b>`shar [path/to/file1 path/to/file2 ...] > [path/to/archive.sh]`


title: TLDR
content:
<b>Create a home directory for a user based on /etc/skel with umask 022</b>`sudo mkhomedir_helper [username]`<br><b>Create a home directory for a user based on /etc/skel with all permissions for owner (0) and read permission for group (3)</b>`sudo mkhomedir_helper [username] [037]`<br><b>Create a home directory for a user based on a custom skeleton</b>`sudo mkhomedir_helper [username] [umask] [path/to/skeleton_directory]`


title: TLDR
content:
<b>Interactively install drivers for your device</b>`ikaros install [device]`<br><b>Automatically install the recommended drivers for your device</b>`ikaros auto-install [device]`<br><b>List devices</b>`ikaros list-devices`


title: TLDR
content:
<b>Import a VMDK/qcow2/raw disk image using a specific storage name</b>`qm [[di|disk]] [[i|import]] [vm_id] [path/to/disk] [storage_name] --format [qcow2|raw|vmdk]`


title: TLDR
content:
<b>Run MediaMTX</b>`mediamtx`<br><b>Run MediaMTX with a custom configuration location</b>`mediamtx [path/to/config.yml]`<br><b>Start MediaMTX as a daemon</b>`systemctl start mediamtx`


title: TLDR
content:
<b>Create a menu out of individual words</b>`select [word] in [apple orange pear banana]; do echo $[word]; done`<br><b>Create a menu from the output of another command</b>`select [line] in $([command]); do echo $[line]; done`<br><b>Specify the prompt string for select and create a menu for picking a file or folder from the current directory</b>`PS3="[Select a file: ]"; select [file] in *; do echo $[file]; done`<br><b>Create a menu from a Bash array</b>`[fruits]=([apple orange pear banana]); select [word] in $[{fruits[@]]}; do echo $[word]; done`


title: TLDR
content:
<b>Reconfigure one or more packages</b>`dpkg-reconfigure [package1 package2 ...]`<br><b>Reconfigure console font setup</b>`dpkg-reconfigure console-setup`<br><b>Reconfigure the timezone</b>`dpkg-reconfigure tzdata`


title: TLDR
content:
<b>Switch the default Rust toolchain (see rustup help toolchain for more information)</b>`rustup default [toolchain]`


title: TLDR
content:
<b>Create and run a Dev Container</b>`devcontainer up`<br><b>Apply a Dev Container Template to a workspace</b>`devcontainer templates apply [[-t|--template-id]] [template_id] [[-a|--template-args]] [template_args] [[-w|--workspace-folder]] [path/to/workspace]`<br><b>Execute a command on a running Dev Container in the current workspace</b>`devcontainer exec [command]`<br><b>Build a Dev Container image from devcontainer.json</b>`devcontainer build [path/to/workspace]`<br><b>Open a Dev Container in VS Code (the path is optional)</b>`devcontainer open [path/to/workspace]`<br><b>Read and print the configuration of a Dev Container from devcontainer.json</b>`devcontainer read-configuration`


title: TLDR
content:
<b>Format all source files</b>`cargo fmt`<br><b>Check for formatting errors without writing to the files</b>`cargo fmt --check`<br><b>Pass arguments to each rustfmt call</b>`cargo fmt -- [rustfmt_args]`


title: TLDR
content:
<b>Launch the Text-based User Interface</b>`pop`<br><b>Send an email using the content of a Markdown file as body</b>`pop < [path/to/message.md] --from [me@example.com] --to [you@example.com] --subject "[On the Subject of Ducks...]" --attach [path/to/attachment]`<br><b>Display help</b>`pop --help`


title: TLDR
content:
<b>List available devices</b>`liquidctl list`<br><b>Initialize all supported devices</b>`sudo liquidctl initialize all`<br><b>Print the status of available liquid coolers</b>`liquidctl status`<br><b>Match a string in product name to pick a device and set its fan speed to 0% at 20°C, 50% at 50°C and 100% at 70°C</b>`liquidctl --match [string] set fan speed [20 0 50 50 70 100]`


title: TLDR
content:
<b>View account</b>`linode-cli account view`<br><b>View account settings</b>`linode-cli account settings`<br><b>Make a payment</b>`linode-cli account payment-create --cvv [cvv] --usd [amount_in_dollars]`<br><b>View account notifications</b>`linode-cli account notifications-list`


title: TLDR
content:
<b>Substitute with the previous command and run it with sudo</b>`sudo !!`<br><b>Substitute with a command based on its line number found with history</b>`![number]`<br><b>Substitute with a command that was used a specified number of lines back</b>`!-[number]`<br><b>Substitute with the most recent command that starts with a string</b>`![string]`<br><b>Substitute with the arguments of the latest command</b>`[command] !*`<br><b>Substitute with the last argument of the latest command</b>`[command] !$`<br><b>Substitute with the last command but without the last argument</b>`!:-`<br><b>Print last command that starts with a string without executing it</b>`![string]:p`


title: TLDR
content:
<b>Watch the source for changes and run rsync to synchronize files to the destination on every change</b>`lsyncd -rsync [path/to/source] [host::share_name]`<br><b>Use SSH instead of rsyncd shares</b>`lsyncd -rsyncssh [path/to/source] [host] [path/to/destination]`


title: TLDR
content:
<b>Print the completion script to stdout</b>`rustup completions [bash|elvish|fish|powershell|zsh] [rustup|cargo]`


title: TLDR
content:
<b>Capture packets from a specific wireless interface</b>`sudo kismet -c [wlan0]`<br><b>Monitor multiple channels on a wireless interface</b>`sudo kismet -c [wlan0,wlan1] -m`<br><b>Capture packets and save them to a specific directory</b>`sudo kismet -c [wlan0] -d [path/to/output]`<br><b>Start Kismet with a specific configuration file</b>`sudo kismet -c [wlan0] [[-f|--config-file]] [path/to/config.conf]`<br><b>Monitor and log data to an SQLite database</b>`sudo kismet -c [wlan0] --log-to-db`<br><b>Monitor using a specific data source</b>`sudo kismet -c [wlan0] --data-source=[rtl433]`<br><b>Enable alerts for specific events</b>`sudo kismet -c [wlan0] --enable-alert=[new_ap]`<br><b>Display detailed information about a specific AP's packets</b>`sudo kismet -c [wlan0] --info [BSSID]`


title: TLDR
content:
<b>Auto-format a file or an entire directory</b>`stylua [path/to/file_or_directory]`<br><b>Check if a specific file has been formatted</b>`stylua --check [path/to/file]`<br><b>Run with a specific configuration file</b>`stylua --config-path [path/to/config_file] [path/to/file]`<br><b>Format code from stdin and output to stdout</b>`stylua - < [path/to/file.lua]`<br><b>Format a file or directory using spaces and preferring single quotes</b>`stylua --indent-type [Spaces] --quote-style [AutoPreferSingle] [path/to/file_or_directory]`


title: TLDR
content:
<b>Set a read-only variable</b>`readonly [variable_name]=[value]`<br><b>Mark a variable as read-only</b>`readonly [existing_variable]`<br><b>[p]rint the names and values of all read-only variables to stdout</b>`readonly -p`


title: TLDR
content:
<b>Run the default Rakefile task</b>`rake`<br><b>Run a specific task</b>`rake [task]`<br><b>Execute n jobs at a time in parallel (number of CPU cores + 4 by default)</b>`rake --jobs [n]`<br><b>Use a specific Rakefile</b>`rake --rakefile [path/to/Rakefile]`<br><b>Execute rake from another directory</b>`rake --directory [path/to/directory]`


title: TLDR
content:
<b>Display the current filesystem label</b>`exfatlabel [/dev/sda]`<br><b>Set the filesystem label</b>`exfatlabel [/dev/sda] [new_label]`


title: TLDR
content:
<b>Connect to a local database on the default port (mongodb://localhost:27017)</b>`mongosh`<br><b>Connect to a database</b>`mongosh --host [host] --port [port] [db_name]`<br><b>Authenticate using the specified username on the specified database (you will be prompted for a password)</b>`mongosh --host [host] --port [port] --username [username] --authenticationDatabase [authdb_name] [db_name]`<br><b>Evaluate a JavaScript expression on a database</b>`mongosh --eval '[JSON.stringify(db.foo.findOne())]' [db_name]`


title: TLDR
content:
<b>Start WeeChat</b>`weechat`<br><b>Do not load any plugin(s) on startup</b>`weechat --no-plugin`<br><b>Do not load any script(s) on startup</b>`weechat --no-script`<br><b>Do not connect to servers automatically</b>`weechat --no-connect`<br><b>Write default terminal colors to stdout</b>`weechat --colors`


title: TLDR
content:
<b>Print documentation on a subject (Python keyword, topic, function, module, package, etc.)</b>`pydoc [subject]`<br><b>Start an HTTP server on an arbitrary unused port and open a [b]rowser to see the documentation</b>`pydoc -b`<br><b>Display help</b>`pydoc`


title: TLDR
content:
<b>Download/Update all packages specified in pubspec.yaml</b>`flutter pub get`<br><b>Add a package dependency to an app</b>`flutter pub add [package1 package2 ...]`<br><b>Remove a package dependency from an app</b>`flutter pub remove [package1 package2 ...]`<br><b>Upgrade to the highest version of a package that is allowed by pubspec.yaml</b>`flutter pub upgrade [package]`


title: TLDR
content:
<b>Remove a dependency from the current project</b>`cargo remove [dependency]`<br><b>Remove a development or build dependency</b>`cargo remove --[dev|build] [dependency]`<br><b>Remove a dependency of the given target platform</b>`cargo remove --target [target] [dependency]`


title: TLDR
content:
<b>Compress a file</b>`bzip3 [path/to/file_to_compress]`<br><b>Decompress a file</b>`bzip3 [[-d|--decode]] [path/to/compressed_file.bz3]`<br><b>Decompress a file to stdout</b>`bzip3 [[-dc|--decode --stdout]] [path/to/compressed_file.bz3]`<br><b>Test the integrity of each file inside the archive file</b>`bzip3 [[-t|--test]] [path/to/compressed_file.bz3]`<br><b>Show the compression ratio for each file processed with detailed information</b>`bzip3 [[-v|--verbose]] [path/to/compressed_files.bz3]`<br><b>Decompress a file overwriting existing files</b>`bzip3 [[-d|--decode]] [[-f|--force]] [path/to/compressed_file.bz3]`<br><b>Display help</b>`bzip3 [[-h|--help]]`


title: TLDR
content:
<b>List VMs</b>`limactl list`<br><b>Create a VM using the default settings and optionally provide a name and/or a template (see limactl create --list-templates for available templates)</b>`limactl create --name [vm_name] template://[debian|fedora|ubuntu|...]`<br><b>Start a VM (this might install some dependencies in it and take a few minutes)</b>`limactl start [vm_name]`<br><b>Open a remote shell inside a VM</b>`limactl shell [vm_name]`<br><b>Run a command inside a VM</b>`limactl shell [vm_name] [command]`<br><b>Stop/shutdown a VM</b>`limactl stop [vm_name]`<br><b>Delete a VM</b>`limactl remove [vm_name]`


title: TLDR
content:
<b>Format an XML document and print to stdout</b>`xmlstarlet format [path/to/file.xml]`<br><b>XML document can also be piped from stdin</b>`[cat path/to/file.xml] | xmlstarlet format`<br><b>Print all nodes that match a given XPath</b>`xmlstarlet select --template --copy-of [xpath] [path/to/file.xml]`<br><b>Insert an attribute to all matching nodes, and print to stdout (source file is unchanged)</b>`xmlstarlet edit --insert [xpath] --type attr --name [attribute_name] --value [attribute_value] [path/to/file.xml]`<br><b>Update the value of all matching nodes in place (source file is changed)</b>`xmlstarlet edit --inplace --update [xpath] --value [new_value] [file.xml]`<br><b>Delete all matching nodes in place (source file is changed)</b>`xmlstarlet edit --inplace --delete [xpath] [file.xml]`<br><b>Escape or unescape special XML characters in a given string</b>`xmlstarlet [un]escape [string]`<br><b>List a given directory as XML (omit argument to list current directory)</b>`xmlstarlet ls [path/to/directory]`


title: TLDR
content:
<b>Ping a Bluetooth device</b>`sudo l2ping [mac_address]`<br><b>Reverse ping a Bluetooth device</b>`sudo l2ping -r [mac_address]`<br><b>Ping a Bluetooth device from a specified interface</b>`sudo l2ping -i [hci0] [mac_address]`<br><b>Ping Bluetooth device with a specified sized data package</b>`sudo l2ping -s [byte_count] [mac_address]`<br><b>Ping flood a Bluetooth device</b>`sudo l2ping -f [mac_address]`<br><b>Ping a Bluetooth device a specified amount of times</b>`sudo l2ping -c [amount] [mac_address]`<br><b>Ping a Bluetooth device with a specified delay between requests</b>`sudo l2ping -d [seconds] [mac_address]`


title: TLDR
content:
<b>Create a shaded scatter plot of points and save it to a PNG file and set the background color</b>`datashader_cli points [path/to/input.parquet] --x [pickup_x] --y [pickup_y] [path/to/output.png] --background [black|white|#rrggbb]`<br><b>Visualize the geospatial data (supports Geoparquet, shapefile, geojson, geopackage, etc.)</b>`datashader_cli points [path/to/input_data.geo.parquet] [path/to/output_data.png] --geo true`<br><b>Use matplotlib to render the image</b>`datashader_cli points [path/to/input_data.geo.parquet] [path/to/output_data.png] --geo [true] --matplotlib true`


title: TLDR
content:
<b>List out system information, with either default settings or those specified in your configuration file</b>`macchina`<br><b>Specify a custom configuration file path</b>`macchina --config [path/to/configuration_file]`<br><b>List system information, but lengthen uptime, shell and kernel output</b>`macchina --long-uptime --long-shell --long-kernel`<br><b>Check for any errors/system failures encountered when trying to fetch system information</b>`macchina --doctor`<br><b>List original artists of all the ASCII art</b>`macchina --ascii-artists`


title: TLDR
content:
<b>List all routes</b>`bgpgrep [master6.mrt]`<br><b>List routes received from a specific peer, determined by the peer's AS number</b>`bgpgrep [master4.mrt] -peer [64498]`<br><b>List routes received from a specific peer, determined by the peer's IP address</b>`bgpgrep [master4.mrt.bz2] -peer [2001:db8:dead:cafe:acd::19e]`<br><b>List routes which have certain ASNs in their AS path</b>`bgpgrep [master6.mrt.bz2] -aspath '[64498 64510]'`<br><b>List routes that lead to a specific address</b>`bgpgrep [master6.mrt.bz2] -supernet '[2001:db8:dead:cafe:aef::5]'`<br><b>List routes that have communities from a specific AS</b>`bgpgrep [master4.mrt] -communities \( '[64497]:*' \)`


title: TLDR
content:
<b>Add a target to a toolchain</b>`rustup target add --toolchain [toolchain] [target]`<br><b>Remove a target from a toolchain</b>`rustup target remove --toolchain [toolchain] [target]`<br><b>List available and installed targets for a toolchain</b>`rustup target list --toolchain [toolchain]`<br><b>List installed targets for a toolchain</b>`rustup target list --toolchain [toolchain] --installed`


title: TLDR
content:
<b>Initialize a new Typst project in a given directory using a template (e.g., @preview/charged-ieee)</b>`typst init "[template]" [path/to/directory]`<br><b>Compile a Typst file</b>`typst compile [path/to/source.typ] [path/to/output.pdf]`<br><b>Watch a Typst file and recompile on changes</b>`typst watch [path/to/source.typ] [path/to/output.pdf]`<br><b>List all discoverable fonts in the system and the given directory</b>`typst --font-path [path/to/fonts_directory] fonts`


title: TLDR
content:
<b>Display a report of crates which will eventually stop compiling</b>`cargo report future-incompatibilities`<br><b>Display a report with the specified Cargo-generated ID</b>`cargo report future-incompatibilities --id [id]`<br><b>Display a report for the specified package</b>`cargo report future-incompatibilities [[-p|--package]] [package]`


title: TLDR
content:
<b>Show all information</b>`rustup show`<br><b>Show the active toolchain</b>`rustup show active-toolchain`<br><b>Show the rustup data directory</b>`rustup show home`


title: TLDR
content:
<b>Start Polybar (the bar name is optional if only one bar is defined in the config)</b>`polybar [bar_name]`<br><b>Start Polybar with the specified config</b>`polybar --config=[path/to/config.ini] [bar_name]`<br><b>Start Polybar and reload the bar when the configuration file is modified</b>`polybar --reload [bar_name]`


title: TLDR
content:
<b>List the events on your account</b>`linode-cli events list`<br><b>View details about a specific event</b>`linode-cli events view [event_id]`<br><b>Mark an event as read</b>`linode-cli events mark-read [event_id]`


title: TLDR
content:
<b>Check the current package</b>`cargo [[c|check]]`<br><b>Check all tests</b>`cargo [[c|check]] --tests`<br><b>Check the integration tests in tests/integration_test1.rs</b>`cargo [[c|check]] --test [integration_test1]`<br><b>Check the current package with the features feature1 and feature2</b>`cargo [[c|check]] [[-F|--features]] [feature1,feature2]`<br><b>Check the current package with default features disabled</b>`cargo [[c|check]] --no-default-features`


title: TLDR
content:
<b>Convert a JPEG file to AVIF, saving it to file.avif</b>`cavif [path/to/image.jpg]`<br><b>Adjust the image quality and convert a PNG file to AVIF</b>`cavif --quality [1..100] [path/to/image.png]`<br><b>Specify the output location</b>`cavif [path/to/image.jpg] --output [path/to/output.avif]`<br><b>Overwrite the destination file if it already exists</b>`cavif --overwrite [path/to/image.jpg]`


title: TLDR
content:
<b>Create a stack from a template file</b>`aws cloudformation create-stack --stack-name [stack-name] --region [region] --template-body [file://path/to/file.yml] --profile [profile]`<br><b>Delete a stack</b>`aws cloudformation delete-stack --stack-name [stack-name] --profile [profile]`<br><b>List all stacks</b>`aws cloudformation list-stacks --profile [profile]`<br><b>List all running stacks</b>`aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE --profile [profile]`<br><b>Check the status of a stack</b>`aws cloudformation describe-stacks --stack-name [stack-id] --profile [profile]`<br><b>Initiate drift detection for a stack</b>`aws cloudformation detect-stack-drift --stack-name [stack-id] --profile [profile]`<br><b>Check the drift status output of a stack using StackDriftDetectionId from the previous command output</b>`aws cloudformation describe-stack-resource-drifts --stack-name [stack-drift-detection-id] --profile [profile]`


title: TLDR
content:
<b>Initialize code for use with lando</b>`lando init`<br><b>Print information about your app</b>`lando info`<br><b>Start your app</b>`lando start`<br><b>Stop your app</b>`lando stop`<br><b>Restart your app</b>`lando restart`<br><b>Rebuild your app from scratch, preserving data</b>`lando rebuild`<br><b>Display logs for your app</b>`lando logs`<br><b>Destroy your app</b>`lando destroy`


title: TLDR
content:
<b>List all available products</b>`eol`<br><b>Get EoLs of one or more products</b>`eol [product1 product2 ...]`<br><b>Open the product webpage</b>`eol [product] --web`<br><b>Get EoLs of a one or more products in a specific format</b>`eol [product1 product2 ...] --format [html|json|md|markdown|pretty|rst|csv|tsv|yaml]`<br><b>Get EoLs of one or more products as a single markdown file</b>`eol [product1 product2 ...] --format [markdown] > [eol_report.md]`<br><b>Display help</b>`eol --help`


title: TLDR
content:
<b>Create a file y.tab.c containing the C parser code and compile the grammar file with all necessary constant declarations for values. (Constant declarations file y.tab.h is created only when the -d flag is used)</b>`yacc -d [path/to/grammar_file.y]`<br><b>Compile a grammar file containing the description of the parser and a report of conflicts generated by ambiguities in the grammar</b>`yacc -d [path/to/grammar_file.y] -v`<br><b>Compile a grammar file, and prefix output filenames with prefix instead of y</b>`yacc -d [path/to/grammar_file.y] -v -b [prefix]`


title: TLDR
content:
<b>Print directories only</b>`tre --directories`<br><b>Print JSON containing files in the tree hierarchy instead of the normal tree diagram</b>`tre --json`<br><b>Print files and directories up to the specified depth limit (where 1 means the current directory)</b>`tre --limit [depth]`<br><b>Print all hidden files and directories using the specified colorization mode</b>`tre --all --color [automatic|always|never]`<br><b>Print files within the tree hierarchy, assigning a shell alias to each file that, when called, will open the associated file using the provided command (or in $EDITOR by default)</b>`tre --editor [command]`<br><b>Print files within the tree hierarchy, excluding all paths that match the provided regex</b>`tre --exclude [regex]`<br><b>Display version</b>`tre --version`<br><b>Display help</b>`tre --help`


title: TLDR
content:
<b>Create a list</b>`clido --new [name]`<br><b>Load a list</b>`clido --load [name]`<br><b>Delete a list</b>`clido --remove [name]`<br><b>List all lists</b>`clido --lists`<br><b>Toggle autowrite</b>`clido toggle-autowrite`<br><b>Open a list in a text editor</b>`clido edit [text_editor]`<br><b>Display help</b>`clido -h`<br><b>Display version</b>`clido -v`


title: TLDR
content:
<b>Automatically commit any changes made to a file or directory</b>`gitwatch [path/to/file_or_directory]`<br><b>Automatically commit changes and push them to a remote repository</b>`gitwatch -r [remote_name] [path/to/file_or_directory]`<br><b>Automatically commit changes and push them to a specific branch of a remote repository</b>`gitwatch -r [remote_name] -b [branch_name] [path/to/file_or_directory]`


title: TLDR
content:
<b>List all Cloud9 development environment identifiers</b>`aws cloud9 list-environments`<br><b>Create a Cloud9 development environment</b>`aws cloud9 create-environment-ec2 --name [name] --instance-type [instance_type]`<br><b>Display information about Cloud9 development environments</b>`aws cloud9 describe-environments --environment-ids [environment_ids]`<br><b>Add an environment member to a Cloud9 development environment</b>`aws cloud9 create-environment-membership --environment-id [environment_id] --user-arn [user_arn] --permissions [permissions]`<br><b>Display status information for a Cloud9 development environment</b>`aws cloud9 describe-environment-status --environment-id [environment_id]`<br><b>Delete a Cloud9 environment</b>`aws cloud9 delete-environment --environment-id [environment_id]`<br><b>Delete an environment member from a development environment</b>`aws cloud9 delete-environment-membership --environment-id [environment_id] --user-arn [user_arn]`


title: TLDR
content:
<b>Ask a generic question</b>`mods "[write me a poem about platypuses]"`<br><b>Open settings in your $EDITOR</b>`mods --settings`<br><b>Ask for comments on your code, in markdown format</b>`mods < [path/to/file] --format "[what are your thoughts on improving this code?]"`<br><b>Ask for help with your documentation, in markdown format</b>`mods < [README.md] --format "[write a new section to this readme for a feature that sends you a free rabbit if you hit r]"`<br><b>Organize your videos, in markdown format</b>`ls [path/to/videos] | mods --format "[organize these by decade and summarize]"`<br><b>Read through raw HTML and summarize the contents, in markdown format</b>`curl "[https://api.open-meteo.com/v1/forecast?latitude=29.00&longitude=-90.00&current_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m]" | mods --format "[summarize this weather data for a human]"`<br><b>Display help</b>`mods --help`


title: TLDR
content:
<b>Convert a HTML document into PDF</b>`wkhtmltopdf [input.html] [output.pdf]`<br><b>Specify the PDF page size (please see PaperSize of QPrinter for supported sizes)</b>`wkhtmltopdf --page-size [A4] [input.html] [output.pdf]`<br><b>Set the PDF page margins</b>`wkhtmltopdf --margin-[top|bottom|left|right] [10mm] [input.html] [output.pdf]`<br><b>Set the PDF page orientation</b>`wkhtmltopdf --orientation [Landscape|Portrait] [input.html] [output.pdf]`<br><b>Generate a greyscale version of the PDF document</b>`wkhtmltopdf --grayscale [input.html] [output.pdf]`


title: TLDR
content:
<b>Open the current directory in IntelliJ IDEA</b>`idea [path/to/directory]`<br><b>Open a specific file or directory in IntelliJ IDEA</b>`idea [path/to/file_or_directory]`<br><b>Open the diff viewer to compare up to 3 files</b>`idea diff [path/to/file1 path/to/file2 path/to/optional_file3]`<br><b>Open the merge dialog to perform a two-way file merge</b>`idea merge [path/to/file1] [path/to/file2] [path/to/output]`<br><b>Run code inspections on a project</b>`idea inspect [path/to/project_directory] [path/to/inspection_profile] [path/to/output]`


title: TLDR
content:
<b>Start an interactive shell with a transient in-memory database</b>`duckdb`<br><b>Start an interactive shell on a database file. If the file does not exist, a new database is created</b>`duckdb [path/to/dbfile]`<br><b>Query a CSV, JSON, or Parquet file using SQL</b>`duckdb -c "[SELECT * FROM 'data_source.[csv|csv.gz|json|json.gz|parquet]']"`<br><b>Directly query a CSV, JSON, or Parquet file using the file view</b>`duckdb [data_source.[csv|csv.gz|json|json.gz|parquet]] -c "[ SELECT * FROM file ]"`<br><b>Run an SQL script</b>`duckdb -f [path/to/script.sql]`<br><b>Run query on database file and keep the interactive shell open</b>`duckdb [path/to/dbfile] -cmd "[SELECT DISTINCT * FROM tbl]"`<br><b>Read CSV from stdin and write CSV to stdout</b>`cat [path/to/source.csv] | duckdb -c "[COPY (FROM read_csv('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)]"`<br><b>Start the DuckDB UI, a web interface with notebooks</b>`duckdb -ui`


title: TLDR
content:
<b>Draw a box around a string</b>`echo "[string]" | boxes`<br><b>Remove a box from a string</b>`echo "[string]" | boxes [[-r|--remove]]`<br><b>Specify the box design</b>`echo "[string]" | boxes [[-d|--design]] [parchment]`<br><b>Specify the box size (in columns by lines)</b>`echo "[string]" | boxes [[-s|--size]] [10]x[5]`<br><b>Align the box text [h]orizonally (at [l]eft, [c]enter or [r]ight)</b>`echo "[string]" | boxes [[-a|--align]] h[l|c|r]`<br><b>Align the box text [v]ertically (at [t]op, [c]enter or [b]ottom)</b>`echo "[string]" | boxes [[-a|--align]] v[t|c|b]`<br><b>[j]ustify the box text (at [l]eft, [c]enter or [r]ight)</b>`echo "[string]" | boxes [[-a|--align]] j[l|c|r][vt]`


title: TLDR
content:
<b>Interactively create a new modpack in the current directory</b>`packwiz init`<br><b>Add a mod from Modrinth or Curseforge</b>`packwiz [modrinth|curseforge] add [url|slug|search_term]`<br><b>List all mods in the modpack</b>`packwiz list`<br><b>Update index.toml after manually editing files</b>`packwiz refresh`<br><b>Export as a Modrinth (.mrpack) or Curseforge (Zip) file</b>`packwiz [modrinth|curseforge] export`


title: TLDR
content:
<b>List security properties of an executable binary file</b>`checksec --file=[path/to/binary]`<br><b>List security properties recursively of all executable files in a directory</b>`checksec --dir=[path/to/directory]`<br><b>List security properties of a process</b>`checksec --proc=[pid]`<br><b>List security properties of the running kernel</b>`checksec --kernel`


title: TLDR
content:
<b>Play test video in a window</b>`gst-launch-1.0 videotestsrc ! autovideosink`<br><b>Play test audio</b>`gst-launch-1.0 audiotestsrc ! autoaudiosink`<br><b>Play a media file in a window</b>`gst-launch-1.0 playbin uri=[protocol]://[host]/[path/to/file]`<br><b>Re-encode a media file</b>`gst-launch-1.0 filesrc location=[path/to/file] ! [file_type]demux ! [codec_type]dec ! [codec_type]enc ! [file_type]mux ! filesink location=[path/to/file]`<br><b>Stream a file to an RTSP server</b>`gst-launch-1.0 filesrc location=[path/to/file] ! rtspclientsink location=rtsp://[host_IP]/[path/to/file]`<br><b>Force an End Of Stream event if the pipeline is shut down with <Ctrl c> for containers that require finalization such as mp4</b>`gst-launch-1.0 [[-e|--eos-on-shutdown]] videotestsrc ! x264enc ! mp4mux ! filesink location=[path/to/file.mp4]`<br><b>Multiplex together test video and test audio into a file</b>`gst-launch-1.0 [[-e|--eos-on-shutdown]] videotestsrc ! x264enc ! [element_name]. audiotestsrc ! opusenc ! [element_name]. matroskamux name=[element_name] ! filesink location=[path/to/file.mkv]`<br><b>Dump a pipeline into a .dot file which can then be rendered with tools like dot</b>`GST_DEBUG_DUMP_DOT_DIR=[path/to/directory] gst-launch-1.0 [pipeline]`


title: TLDR
content:
<b>Run with the GUI</b>`zotero`<br><b>Run in headless mode</b>`zotero --headless`<br><b>Run with a specific profile</b>`zotero -P [profile]`<br><b>Run the Migration Assistant</b>`zotero --migration`


title: TLDR
content:
<b>List current Volumes</b>`linode-cli volumes list`<br><b>Create a new Volume and attach it to a specific Linode</b>`linode-cli volumes create --label [volume_label] --size [size_in_GB] --linode-id [linode_id]`<br><b>Attach a Volume to a specific Linode</b>`linode-cli volumes attach [volume_id] --linode-id [linode_id]`<br><b>Detach a Volume from a Linode</b>`linode-cli volumes detach [volume_id]`<br><b>Resize a Volume (Note: Size can only be increased)</b>`linode-cli volumes resize [volume_id] --size [new_size_in_GB]`<br><b>Delete a Volume</b>`linode-cli volumes delete [volume_id]`


title: TLDR
content:
<b>Test the given amount of memory (in Megabytes)</b>`stressapptest -M [memory]`<br><b>Test memory as well as I/O for the given file</b>`stressapptest -M [memory] -f [path/to/file]`<br><b>Test specifying the verbosity level, where 0=lowest, 20=highest, 8=default</b>`stressapptest -M [memory] -v [level]`


title: TLDR
content:
<b>View the current IFS value</b>`echo "$IFS"`<br><b>Change the IFS value</b>`IFS="[:]"`<br><b>Reset IFS to default</b>`IFS=$' \t\n'`<br><b>Temporarily change the IFS value in a subshell</b>`(IFS="[:]"; echo "[one:two:three]")`


title: TLDR
content:
<b>Search for a package name and descriptions of all locally installed packages from a specific regex</b>`tlmgr search "[regex]"`<br><b>Search for all file names of all locally installed packages from a regex</b>`tlmgr search --file "[regex]"`<br><b>Search for all file names, package names, and descriptions of all locally installed packages from a regex</b>`tlmgr search --all "[regex]"`<br><b>Search the TeX Live database, instead of the local installation</b>`tlmgr search --global "[regex]"`<br><b>Restrict the matches for package names and descriptions (but not for file names) to whole words</b>`tlmgr search --all --word "[regex]"`


title: TLDR
content:
<b>List all tests performed</b>`ooniprobe list`<br><b>Show information about a specific test</b>`ooniprobe list [7]`<br><b>Run all available tests</b>`ooniprobe run all`<br><b>Perform a specific test</b>`ooniprobe run [performance]`<br><b>Check the availability of a specific website</b>`ooniprobe run websites --input [https://ooni.org/]`<br><b>Check the availability of all websites listed in a file</b>`ooniprobe run websites --input-file [path/to/my-websites.txt]`<br><b>Display detailed information about a test in JSON format</b>`ooniprobe show [9]`


title: TLDR
content:
<b>Add a new configuration</b>`jf config add`<br><b>Show the current configuration</b>`jf config show`<br><b>Search for artifacts within the given repository and directory</b>`jf rt search --recursive [repostiory_name]/[path]/`


title: TLDR
content:
<b>List gadgets in the binary file</b>`ropper --file [path/to/binary]`<br><b>Filter gadgets in the binary file by a regex</b>`ropper --file [path/to/binary] --search [regex]`<br><b>List gadgets of specified type in the binary file</b>`ropper --file [path/to/binary] --type [rop|job|sys|all]`<br><b>Exclude bad byte gadgets in the binary file</b>`ropper --file [path/to/binary] --badbytes [byte_string]`<br><b>List gadgets up to the specified instruction count in the binary file</b>`ropper --file [path/to/binary] --inst-count [count]`


title: TLDR
content:
<b>Update all installed toolchains and rustup</b>`rustup update`<br><b>Install or update a specific toolchain (see rustup help toolchain for more information)</b>`rustup update [toolchain]`


title: TLDR
content:
<b>Ping a specified host using ICMP if the user is allowed to, otherwise using TCP</b>`nping [example.com]`<br><b>Ping a specified host using ICMP assuming that the user is allowed to do so</b>`nping --icmp --privileged [example.com]`<br><b>Ping a specified host using UDP</b>`nping --udp [example.com]`<br><b>Ping a specified host on a given port using TCP</b>`nping --tcp --dest-port [443] [example.com]`<br><b>Ping a certain number of times</b>`nping --count [10] [example.com]`<br><b>Wait a certain amount of time between each ping</b>`nping --delay [5s] [example.com]`<br><b>Send the request over a specified interface</b>`nping --interface [eth0] [example.com]`<br><b>Ping an IP range</b>`nping [10.0.0.1-10]`


title: TLDR
content:
<b>Exhaust all of the available DHCP addresses using the specified interface</b>`sudo ./pig.py [eth0]`<br><b>Exhaust IPv6 addresses using eth1 interface</b>`sudo ./pig.py [[-6|--ipv6]] [eth1]`<br><b>Send fuzzed/malformed data packets using the interface</b>`sudo ./pig.py [[-f|--fuzz]] [eth1]`<br><b>Enable color output</b>`sudo ./pig.py [[-c|--color]] [eth1]`<br><b>Enable minimal verbosity and color output</b>`sudo ./pig.py [[-c|--color]] [[-v|--verbosity]] 1 [eth1]`<br><b>Use a debug verbosity of 100 and scan network of neighboring devices using ARP packets</b>`sudo ./pig.py [[-c|--color]] [[-v|--verbosity]] 100 [[-n|--neighbors-scan-arp]] [eth1]`<br><b>Enable printing lease information, attempt to scan and release all neighbor IP addresses</b>`sudo ./pig.py [[-n|--neighbors-scan-arp]] [[-r|--neighbors-attack-release]] [[-o|--show-options]] [eth1]`


title: TLDR
content:
<b>List running batch jobs</b>`aws batch list-jobs --job-queue [queue_name]`<br><b>Create compute environment</b>`aws batch create-compute-environment --compute-environment-name [compute_environment_name] --type [type]`<br><b>Create batch job queue</b>`aws batch create-job-queue --job-queue-name [queue_name] --priority [priority] --compute-environment-order [compute_environment]`<br><b>Submit job</b>`aws batch submit-job --job-name [job_name] --job-queue [job_queue] --job-definition [job_definition]`<br><b>Describe the list of batch jobs</b>`aws batch describe-jobs --jobs [jobs]`<br><b>Cancel job</b>`aws batch cancel-job --job-id [job_id] --reason [reason]`


title: TLDR
content:
<b>Remove the entire target directory</b>`cargo clean`<br><b>Remove documentation artifacts (the target/doc directory)</b>`cargo clean --doc`<br><b>Remove release artifacts (the target/release directory)</b>`cargo clean [[-r|--release]]`<br><b>Remove artifacts in the directory of the given profile (in this case, target/debug)</b>`cargo clean --profile [dev]`


title: TLDR
content:
<b>Display the path to the binary in the default toolchain</b>`rustup which [command]`<br><b>Display the path to the binary in the specified toolchain (see rustup help toolchain for more information)</b>`rustup which --toolchain [toolchain] [command]`


title: TLDR
content:
<b>View the man page for a given command from the default toolchain</b>`rustup man [command]`<br><b>View the man page for a given command from the specified toolchain</b>`rustup man --toolchain [command]`


title: TLDR
content:
<b>Authorize a Salesforce Organization</b>`sf force:auth:web:login --setalias [organization] --instanceurl [organization_url]`<br><b>List all authorized organizations</b>`sf force:org:list`<br><b>Open a specific organization in the default web browser</b>`sf force:org:open --targetusername [organization]`<br><b>Display information about a specific organization</b>`sf force:org:display --targetusername [organization]`<br><b>Push source metadata to an Organization</b>`sf force:source:push --targetusername [organization]`<br><b>Pull source metadata from an Organization</b>`sf force:source:pull --targetusername [organization]`<br><b>Generate a password for the organization's logged-in user</b>`sf force:user:password:generate --targetusername [organization]`<br><b>Assign a permission set for the organization's logged-in user</b>`sf force:user:permset:assign --permsetname [permission_set_name] --targetusername [organization]`


title: TLDR
content:
<b>List all Linodes</b>`linode-cli linodes list`<br><b>View documentation for managing Linode accounts</b>`tldr linode-cli account`<br><b>View documentation for managing Linodes</b>`tldr linode-cli linodes`<br><b>View documentation for managing Linode Kubernetes Engine (LKE) clusters</b>`tldr linode-cli lke`<br><b>View documentation for managing NodeBalancers</b>`tldr linode-cli nodebalancers`<br><b>View documentation for managing Object Storage</b>`tldr linode-cli object-storage`<br><b>View documentation for managing domains and DNS configuration</b>`tldr linode-cli domains`<br><b>View documentation for managing Linode Volumes</b>`tldr linode-cli volumes`


title: TLDR
content:
<b>List gadgets in the binary file</b>`ROPgadget --binary [path/to/binary]`<br><b>Filter gadgets in the binary file by a regex</b>`ROPgadget --binary [path/to/binary] --re [regex]`<br><b>List gadgets in the binary file, excluding specified type</b>`ROPgadget --binary [path/to/binary] --[norop|nojob|nosys]`<br><b>Exclude bad byte gadgets in the binary file</b>`ROPgadget --binary [path/to/binary] --badbytes [byte_string]`<br><b>List gadgets up to the specified number of bytes in the binary file</b>`ROPgadget --binary [path/to/binary] --depth [nbyte]`


title: TLDR
content:
<b>Compile a standalone TeX/LaTeX file</b>`tectonic -X compile [path/to/file.tex]`<br><b>Compile a standalone TeX/LaTeX file with synctex data</b>`tectonic -X compile --synctex [path/to/file.tex]`<br><b>Initialize a tectonic project in the current directory</b>`tectonic -X init`<br><b>Initialize a tectonic project in the specified directory</b>`tectonic -X new [project_name]`<br><b>Build the project in the current directory</b>`tectonic -X build`<br><b>Start a watcher to build the project in the current directory on change</b>`tectonic -X watch`


title: TLDR
content:
<b>Run a command using a given Rust toolchain (see rustup help toolchain for more information)</b>`rustup run [toolchain] [command]`


title: TLDR
content:
<b>Quit the bar</b>`polybar-msg cmd quit`<br><b>Restart the bar in-place</b>`polybar-msg cmd restart`<br><b>Hide the bar (does nothing if the bar is already hidden)</b>`polybar-msg cmd hide`<br><b>Show the bar again (does nothing if the bar is not hidden)</b>`polybar-msg cmd show`<br><b>Toggle between hidden/visible</b>`polybar-msg cmd toggle`<br><b>Execute a module action (the data string is optional)</b>`polybar-msg action "#[module_name].[action_name].[data_string]"`<br><b>Only send messages to a specific Polybar instance (all instances by default)</b>`polybar-msg -p [pid] [cmd|action] [payload]`


title: TLDR
content:
<b>List every item</b>`todo.sh ls`<br><b>Add an item with project and context tags</b>`todo.sh add '[description] +[project] @[context]'`<br><b>Mark an item as [do]ne</b>`todo.sh do [item_no]`<br><b>Remove an item</b>`todo.sh rm [item_no]`<br><b>Set an item's [pri]ority (A-Z)</b>`todo.sh pri [item_no] [priority]`<br><b>Replace an item</b>`todo.sh replace [item_no] '[new_description]'`


title: TLDR
content:
<b>Create a new Bun project in the current directory</b>`bun init`<br><b>Run a JavaScript file or a package.json script</b>`bun run [path/to/file|script_name]`<br><b>Run unit tests</b>`bun test`<br><b>Download and install all the packages listed as dependencies in package.json</b>`bun [[i|install]]`<br><b>Add a dependency to package.json</b>`bun [[a|add]] [module_name]`<br><b>Remove a dependency from package.json</b>`bun [[rm|remove]] [module_name]`<br><b>Start a REPL (interactive shell)</b>`bun repl`<br><b>Upgrade Bun to the latest version</b>`bun upgrade`


title: TLDR
content:
<b>List files one per line</b>`eza [[-1|--oneline]]`<br><b>List all files, including hidden files</b>`eza [[-a|--all]]`<br><b>Long format list (permissions, ownership, size and modification date) of all files</b>`eza [[-al|--all --long]]`<br><b>List files with the largest at the top</b>`eza [[-r|--reverse]] [[-s|--sort]] [size]`<br><b>Display a tree of files, three levels deep</b>`eza [[-lT|--long --tree]] [[-L|--level]] [3]`<br><b>List files sorted by modification date (oldest first)</b>`eza [[-l|--long]] [[-s|--sort]] [modified]`<br><b>List files with their headers, icons, and Git statuses</b>`eza [[-lh|--long --header]] --icons --git`<br><b>Don't list files mentioned in .gitignore</b>`eza --git-ignore`


title: TLDR
content:
<b>Share files or directories</b>`airshare [code] [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Receive a file</b>`airshare [code]`<br><b>Host a receiving server (use this to be able to upload files using the web interface)</b>`airshare --upload [code]`<br><b>Send files or directories to a receiving server</b>`airshare --upload [code] [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Send files whose paths have been copied to the clipboard</b>`airshare --file-path [code]`<br><b>Receive a file and copy it to the clipboard</b>`airshare --clip-receive [code]`


title: TLDR
content:
<b>Show all clipboards</b>`cb`<br><b>Copy a file to the clipboard</b>`cb copy [path/to/file]`<br><b>Copy some text to the clipboard</b>`cb copy "[Some example text]"`<br><b>Copy piped data to the clipboard</b>`echo "[Some example text]" | cb`<br><b>Paste clipboard content</b>`cb paste`<br><b>Pipe out clipboard content</b>`cb | cat`<br><b>Show clipboard history</b>`cb history`<br><b>Show clipboard information</b>`cb info`


title: TLDR
content:
<b>Authenticate a user and obtain a ticket-granting ticket</b>`kinit [username]`<br><b>Renew a ticket-granting ticket</b>`kinit -R`<br><b>Specify a lifetime for the ticket</b>`kinit -l [5h]`<br><b>Specify a total renewable lifetime for the ticket</b>`kinit -r [1w]`<br><b>Specify a different principal name to authenticate as</b>`kinit -p [principal@REALM]`<br><b>Specify a different keytab file to authenticate with</b>`kinit -t [path/to/keytab]`


title: TLDR
content:
<b>List all NodeBalancers</b>`linode-cli nodebalancers list`<br><b>Create a new NodeBalancer</b>`linode-cli nodebalancers create --region [region]`<br><b>View details of a specific NodeBalancer</b>`linode-cli nodebalancers view [nodebalancer_id]`<br><b>Update an existing NodeBalancer</b>`linode-cli nodebalancers update [nodebalancer_id] --label [new_label]`<br><b>Delete a NodeBalancer</b>`linode-cli nodebalancers delete [nodebalancer_id]`<br><b>List configurations for a NodeBalancer</b>`linode-cli nodebalancers configs list [nodebalancer_id]`<br><b>Add a new configuration to a NodeBalancer</b>`linode-cli nodebalancers configs create [nodebalancer_id] --port [port] --protocol [protocol]`


title: TLDR
content:
<b>Execute all benchmarks of a package</b>`cargo bench`<br><b>Don't stop when a benchmark fails</b>`cargo bench --no-fail-fast`<br><b>Compile, but don't run benchmarks</b>`cargo bench --no-run`<br><b>Benchmark the specified benchmark</b>`cargo bench --bench [benchmark]`<br><b>Benchmark with the given profile (default: bench)</b>`cargo bench --profile [profile]`<br><b>Benchmark all example targets</b>`cargo bench --examples`<br><b>Benchmark all binary targets</b>`cargo bench --bins`<br><b>Benchmark the package's library</b>`cargo bench --lib`


title: TLDR
content:
<b>List all Object Storage buckets</b>`linode-cli object-storage buckets list`<br><b>Create a new Object Storage bucket</b>`linode-cli object-storage buckets create --cluster [cluster_id] --label [bucket_label]`<br><b>Delete an Object Storage bucket</b>`linode-cli object-storage buckets delete [cluster_id] [bucket_label]`<br><b>List Object Storage cluster regions</b>`linode-cli object-storage clusters list`<br><b>List access keys for Object Storage</b>`linode-cli object-storage keys list`<br><b>Create a new access key for Object Storage</b>`linode-cli object-storage keys create --label [label]`<br><b>Revoke an access key for Object Storage</b>`linode-cli object-storage keys revoke [access_key_id]`


title: TLDR
content:
<b>Update dependencies in Cargo.lock to the latest possible version</b>`cargo update`<br><b>Display what would be updated, but don't actually write the lockfile</b>`cargo update [[-n|--dry-run]]`<br><b>Update only the specified dependencies</b>`cargo update --package [dependency1] --package [dependency2] --package [dependency3]`<br><b>Set a specific dependency to a specific version</b>`cargo update --package [dependency] --precise [1.2.3]`


title: TLDR
content:
<b>Initialize a new repository</b>`rustic init --repository [/srv/rustic-repo]`<br><b>Create a new backup of a file/directory to a repository</b>`rustic backup --repository [/srv/rustic-repo] [path/to/file_or_directory]`


title: TLDR
content:
<b>Fix code even if it already has compiler errors</b>`cargo fix --broken-code`<br><b>Fix code even if the working directory has changes</b>`cargo fix --allow-dirty`<br><b>Migrate a package to the next Rust edition</b>`cargo fix --edition`<br><b>Fix the package's library</b>`cargo fix --lib`<br><b>Fix the specified integration test</b>`cargo fix --test [name]`<br><b>Fix all members in the workspace</b>`cargo fix --workspace`


title: TLDR
content:
<b>Display general help</b>`cargo help`<br><b>Display help for a subcommand</b>`cargo help [subcommand]`


title: TLDR
content:
<b>List all peers</b>`peerindex [master6.mrt]`<br><b>Display all peers that have provided routing information</b>`peerindex [[-r|--only-refs]] [master6.mrt]`


title: TLDR
content:
<b>Sign in to a 1Password account</b>`op signin`<br><b>List all vaults</b>`op vault list`<br><b>Print item details in JSON format</b>`op item get [item_name] --format json`<br><b>Create a new item with a category in the default vault</b>`op item create --category [category_name]`<br><b>Print a referenced secret to stdout</b>`op read [secret_reference]`<br><b>Pass secret references from exported environment variables to a command</b>`op run -- [command]`<br><b>Pass secret references from an environment file to a command</b>`op run --env-file [path/to/env_file.env] -- [command]`<br><b>Read secret references from a file and save plaintext secrets to a file</b>`op inject --in-file [path/to/input_file] --out-file [path/to/output_file]`


title: TLDR
content:
<b>Generate a key pair, save it to an unencrypted file, and print the public key to stdout</b>`age-keygen [[-o|--output]] [path/to/file]`<br><b>Convert an identit[y] to a recipient and print the public key to stdout</b>`age-keygen -y [path/to/file]`


title: TLDR
content:
<b>Create the documentation</b>`yard`<br><b>Create the documentation and save it to one file</b>`yard --one-file`<br><b>List all undocumented objects</b>`yard stats --list-undoc`


title: TLDR
content:
<b>Initialize a Rust project with a binary target in the current directory</b>`cargo init`<br><b>Initialize a Rust project with a binary target in the specified directory</b>`cargo init [path/to/directory]`<br><b>Initialize a Rust project with a library target in the current directory</b>`cargo init --lib`<br><b>Initialize a version control system repository in the project directory (default: git)</b>`cargo init --vcs [git|hg|pijul|fossil|none]`<br><b>Set the package name (default: directory name)</b>`cargo init --name [name]`


title: TLDR
content:
<b>List dashboards for your account</b>`aws cloudwatch list-dashboards`<br><b>Display details for the specified dashboard</b>`aws cloudwatch get-dashboard --dashboard-name [dashboard_name]`<br><b>List metrics</b>`aws cloudwatch list-metrics`<br><b>List alarms</b>`aws cloudwatch describe-alarms`<br><b>Create or update an alarm and associate it with a metric</b>`aws cloudwatch put-metric-alarm --alarm-name [alarm_name] --evaluation-periods [evaluation_periods] --comparison-operator [comparison_operator]`<br><b>Delete the specified alarms</b>`aws cloudwatch delete-alarms --alarm_names [alarm_names]`<br><b>Delete the specified dashboards</b>`aws cloudwatch delete-dashboards --dashboard-names [dashboard_names]`


title: TLDR
content:
<b>List all Linodes</b>`linode-cli linodes list`<br><b>Create a new Linode</b>`linode-cli linodes create --type [linode_type] --region [region] --image [image_id]`<br><b>View details of a specific Linode</b>`linode-cli linodes view [linode_id]`<br><b>Update settings for a Linode</b>`linode-cli linodes update [linode_id] --label [new_label]`<br><b>Delete a Linode</b>`linode-cli linodes delete [linode_id]`<br><b>Perform a power management operation on a Linode</b>`linode-cli linodes [boot|reboot|shutdown] [linode_id]`<br><b>List available backups for a Linode</b>`linode-cli linodes backups-list [linode_id]`<br><b>Restore a backup to a Linode</b>`linode-cli linodes backups-restore [linode_id] --backup-id [backup_id]`


title: TLDR
content:
<b>List outdated dependencies in the current directory</b>`ncu`<br><b>List outdated global npm packages</b>`ncu --global`<br><b>Upgrade all dependencies in the current directory</b>`ncu --upgrade`<br><b>Interactively upgrade dependencies in the current directory</b>`ncu --interactive`<br><b>List outdated dependencies up to the highest minor version</b>`ncu --target [minor]`<br><b>List outdated dependencies that match a keyword or regex</b>`ncu --filter [keyword|/regex/]`<br><b>List only a specific section of outdated dependencies</b>`ncu --dep [dev|optional|peer|prod|packageManager]`<br><b>Display help</b>`ncu --help`


title: TLDR
content:
<b>Count words in a TeX file</b>`texcount [path/to/file.tex]`<br><b>Count words in a document and subdocuments built with \input or \include</b>`texcount -merge [file.tex]`<br><b>Count words in a document and subdocuments, listing each file separately (and a total count)</b>`texcount -inc [file.tex]`<br><b>Count words in a document and subdocuments, producing subcounts by chapter (instead of subsection)</b>`texcount -merge -sub=chapter [file.tex]`<br><b>Count words with verbose output</b>`texcount -v [path/to/file.tex]`


title: TLDR
content:
<b>List all LKE clusters</b>`linode-cli lke clusters list`<br><b>Create a new LKE cluster</b>`linode-cli lke clusters create --region [region] --type [type] --node-type [node_type] --nodes-count [count]`<br><b>View details of a specific LKE cluster</b>`linode-cli lke clusters view [cluster_id]`<br><b>Update an existing LKE cluster</b>`linode-cli lke clusters update [cluster_id] --node-type [new_node_type]`<br><b>Delete an LKE cluster</b>`linode-cli lke clusters delete [cluster_id]`


title: TLDR
content:
<b>Start an interactive Lua shell</b>`luajit`<br><b>Execute a Lua script</b>`luajit [path/to/script.lua] [--optional-argument]`<br><b>Execute a Lua expression</b>`luajit -e '[print("Hello World")]'`


title: TLDR
content:
<b>Install one or more package into the currently active conda environment</b>`conda install [package1 package2 ...]`<br><b>Install a single package into the currently active conda environment using channel conda-forge</b>`conda install [[-c|--channel]] conda-forge [package]`<br><b>Install a single package into the currently active conda environment using channel conda-forge and ignoring other channels</b>`conda install [[-c|--channel]] conda-forge --override-channels [package]`<br><b>Install a specific version of a package</b>`conda install [package]=[version]`<br><b>Install a package into a specific environment</b>`conda install [[-n|--name]] [environment] [package]`<br><b>Update a package in the current environment</b>`conda install --upgrade [package]`<br><b>Install a package and agree to the transactions without prompting</b>`conda install [[-y|--yes]] [package]`


title: TLDR
content:
<b>Set the default host triple</b>`rustup set default-host [host_triple]`<br><b>Set the default profile (minimal includes only rustc, rust-std and cargo, whereas default adds rust-docs, rustfmt and clippy)</b>`rustup set profile [minimal|default]`<br><b>Set whether rustup should update itself when running rustup update</b>`rustup set auto-self-update [enable|disable|check-only]`


title: TLDR
content:
<b>Install or update a given toolchain</b>`rustup toolchain install [toolchain]`<br><b>Uninstall a toolchain</b>`rustup toolchain uninstall [toolchain]`<br><b>List installed toolchains</b>`rustup toolchain list`<br><b>Create a custom toolchain by symlinking to a directory</b>`rustup toolchain link [custom_toolchain_name] [path/to/directory]`


title: TLDR
content:
<b>Start mitmweb with default settings</b>`mitmweb`<br><b>Start mitmweb bound to a custom address and port</b>`mitmweb --listen-host [ip_address] --listen-port [port]`<br><b>Start mitmweb using a script to process traffic</b>`mitmweb --scripts [path/to/script.py]`


title: TLDR
content:
<b>Start btop</b>`btop`<br><b>Start btop with the specified settings preset</b>`btop [[-p|--preset]] [0..9]`<br><b>Start btop in TTY mode using 16 colors and TTY-friendly graph symbols</b>`btop [[-t|--tty]]`<br><b>Start btop in 256-color mode instead of 24-bit color mode</b>`btop [[-l|--low-color]]`<br><b>Set the update rate to 500 milliseconds</b>`btop [[-u|--update]] 500`<br><b>Exit btop</b>`<q>`<br><b>Display help</b>`btop [[-h|--help]]`


title: TLDR
content:
<b>Print information on a plugin</b>`gst-inspect-1.0 [plugin]`<br><b>List hardware transcoding capabilities of your device</b>`gst-inspect-1.0 [vaapi|nvcodec|...]`<br><b>List available container plugins</b>`gst-inspect-1.0 [matroska|avi|ogg|isomp4|...]`<br><b>List available audio codecs</b>`gst-inspect-1.0 [opus|vorbis|flac|...]`<br><b>List GStreamer core elements</b>`gst-inspect-1.0 coreelements`<br><b>List plugins that utilize graphics APIs</b>`gst-inspect-1.0 [vulkan|opengl|...]`<br><b>List available image codecs</b>`gst-inspect-1.0 [png|jpeg|...]`<br><b>List all available plugins</b>`gst-inspect-1.0`


title: TLDR
content:
<b>Add a component to a toolchain</b>`rustup component add --toolchain [toolchain] [component]`<br><b>Remove a component from a toolchain</b>`rustup component remove --toolchain [toolchain] [component]`<br><b>List installed and available components for a toolchain</b>`rustup component list --toolchain [toolchain]`<br><b>List installed components for a toolchain</b>`rustup component list --toolchain [toolchain] --installed`


title: TLDR
content:
<b>List all managed domains</b>`linode-cli domains list`<br><b>Create a new managed domain</b>`linode-cli domains create --domain [domain_name] --type [master|slave] --soa-email [email]`<br><b>View details of a specific domain</b>`linode-cli domains view [domain_id]`<br><b>Delete a managed domain</b>`linode-cli domains delete [domain_id]`<br><b>List records for a specific domain</b>`linode-cli domains records-list [domain_id]`<br><b>Add a DNS record to a domain</b>`linode-cli domains records-create [domain_id] --type [A|AAAA|CNAME|MX|...] --name [subdomain] --target [target_value]`<br><b>Update a DNS record for a domain</b>`linode-cli domains records-update [domain_id] [record_id] --target [new_target_value]`<br><b>Delete a DNS record from a domain</b>`linode-cli domains records-delete [domain_id] [record_id]`


title: TLDR
content:
<b>Display version</b>`cargo version`<br><b>Display additional build information</b>`cargo version [[-v|--verbose]]`


title: TLDR
content:
<b>Open the main page</b>`rustup doc`<br><b>Open the documentation for a specific topic (a module in the standard library, a type, a keyword, etc.)</b>`rustup doc [std::fs|usize|fn|...]`<br><b>Open the Rust Programming Language book</b>`rustup doc --book`<br><b>Open the Cargo book</b>`rustup doc --cargo`<br><b>Open the Rust Reference</b>`rustup doc --reference`


title: TLDR
content:
<b>List your Support Tickets</b>`linode-cli tickets list`<br><b>Open a new Ticket</b>`linode-cli tickets create --summary "[Summary or quick title for the Ticket]" --description "[Detailed description of the issue]"`<br><b>List replies to a Ticket</b>`linode-cli tickets replies [ticket_id]`<br><b>Reply to a specific Ticket</b>`linode-cli tickets reply [ticket_id] --description "[The content of your reply]"`


title: TLDR
content:
<b>Start quote mode with the builtin quote list in English</b>`tt -quotes [en]`<br><b>Produce a test consisting of 50 randomly drawn words in 5 groups of 10 words each</b>`tt -n [10] -g [5]`<br><b>Start a timed test lasting 10 seconds</b>`tt -t [10]`<br><b>Start tt with no theming and showing your WPM as you type</b>`tt -showwpm -notheme`


title: TLDR
content:
<b>List directiory toolchain overrides</b>`rustup override list`<br><b>Set the override toolchain for the current directory (i.e. tell rustup to run cargo, rustc, etc. from a specific toolchain when in that directory)</b>`rustup override set [toolchain]`<br><b>Remove the toolchain override for the current directory</b>`rustup override unset`<br><b>Remove all toolchain overrides for directories that no longer exist</b>`rustup override unset --nonexistent`


title: TLDR
content:
<b>Print the generated or committed machine ID</b>`systemd-machine-id-setup --print`<br><b>Specify an image policy</b>`systemd-machine-id-setup --image-policy [your_policy]`<br><b>Display the output as JSON</b>`sudo systemd-machine-id-setup --json pretty`<br><b>Operate on a disk image instead of a directory tree</b>`systemd-machine-id-setup --image /[path/to/image]`


title: TLDR
content:
<b>Convert a PDF page to PNG or JPEG format</b>`pstoedit -page [page_number] -f magick [path/to/file.pdf] [page.png|page.jpg]`<br><b>Convert multiple PDF pages to numbered images</b>`pstoedit -f magick [path/to/file] [page%d.png|page%d.jpg]`


title: TLDR
content:
<b>Start a talk session with a user on the same machine</b>`talk [username]`<br><b>Start a talk session with a user on the same machine, who is logged in on tty3</b>`talk [username] [tty3]`<br><b>Start a talk session with a user on a remote machine</b>`talk [username]@[hostname]`<br><b>Clear text on both terminal screens</b>`<Ctrl d>`<br><b>Exit the talk session</b>`<Ctrl c>`


title: TLDR
content:
<b>Split a .wav + .cue file into multiple files</b>`shnsplit -f [path/to/file.cue] [path/to/file.wav]`<br><b>Show supported formats</b>`shnsplit -a`<br><b>Split a .flac file into multiple files</b>`shnsplit -f [path/to/file.cue] -o flac [path/to/file.flac]`<br><b>Split a .wav file into files of the form "track-number - album - title"</b>`shnsplit -f [path/to/file.cue] [path/to/file.wav] -t "%n - %a - %t"`


title: TLDR
content:
<b>Forward stdin/stdout to the local system bus</b>`systemd-stdio-bridge`<br><b>Forward stdin/stdout to a specific user's D-Bus</b>`systemd-stdio-bridge --[user]`<br><b>Forward stdin/stdout to the local system bus within a specific container</b>`systemd-stdio-bridge [[-M|--machine]] [mycontainer]`<br><b>Forward stdin/stdout to a custom D-Bus address</b>`systemd-stdio-bridge [[-p|--bus-path]] unix:path=/[path/to/dbus_socket]`


title: TLDR
content:
<b>Add a .gz extension to the supplied Gzip files (Note: Other files are ignored)</b>`zforce [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>Show the battery icon in the system tray</b>`cbatticon`<br><b>Show the battery icon and set the update interval to 20 seconds</b>`cbatticon [[-u|--update-interval]] [20]`<br><b>List available icon types</b>`cbatticon [[-t|--list-icon-types]]`<br><b>Show the battery icon with a specific icon type</b>`cbatticon [[-i|--icon-type]] [standard|notification|symbolic]`<br><b>List available power supplies</b>`cbatticon [[-p|--list-power-supplies]]`<br><b>Show the battery icon for a specific battery</b>`cbatticon [BAT0]`<br><b>Show the battery icon and which command to execute when the battery level reaches the set critical level</b>`cbatticon [[-r|--critical-level]] [5] [[-c|--command-critical-level]] [poweroff]`


title: TLDR
content:
<b>Start a machine as a service using systemd-nspawn</b>`sudo machinectl start [machine_name]`<br><b>Stop a running machine</b>`sudo machinectl stop [machine_name]`<br><b>Display a list of running machines</b>`machinectl list`<br><b>Open an interactive shell inside the machine</b>`sudo machinectl shell [machine_name]`


title: TLDR
content:
<b>Create a daily planner with specified language, lettercase (uppercase or lowercase) and year</b>`yplan [language] [lettercase] [year] > [path/to/file.tex]`


title: TLDR
content:
<b>Search for a given package</b>`extrepo search [package]`<br><b>Enable the repository</b>`sudo extrepo enable [repository_name]`<br><b>Disable the repository</b>`sudo extrepo disable [repository_name]`<br><b>Update the repository</b>`sudo extrepo update [repository_name]`


title: TLDR
content:
<b>Show general image information about the OS image</b>`systemd-dissect [path/to/image.raw]`<br><b>Mount an OS image</b>`systemd-dissect [[-m|--mount]] [path/to/image.raw] [/mnt/image]`<br><b>Unmount an OS image</b>`systemd-dissect [[-u|--umount]] [/mnt/image]`<br><b>List files in an image</b>`systemd-dissect [[-l|--list]] [path/to/image.raw]`<br><b>Attach an OS image to an automatically allocated loopback block device and print its path</b>`systemd-dissect --attach [path/to/image.raw]`<br><b>Detach an OS image from a loopback block device</b>`systemd-dissect --detach [path/to/device]`


title: TLDR
content:
<b>Move the process with a specific PID to the control [g]roup student in the CPU hierarchy</b>`cgclassify -g [cpu:student] [1234]`<br><b>Move the process with a specific PID to control groups based on the /etc/cgrules.conf configuration file</b>`cgclassify [1234]`<br><b>Move the process with a specific PID to the control [g]roup student in the CPU hierarchy. Note: The daemon of the service cgred does not change cgroups of the specific PID and its children (based on /etc/cgrules.conf)</b>`cgclassify --sticky -g [cpu:/student] [1234]`


title: TLDR
content:
<b>Activate a service when a specific socket is connected</b>`systemd-socket-activate [path/to/socket.service]`<br><b>Activate multiple sockets for a service</b>`systemd-socket-activate [path/to/socket1.service] [path/to/socket2.service]`<br><b>Pass environment variables to the service being activated</b>`[SYSTEMD_SOCKET_ACTIVATION=1] systemd-socket-activate [path/to/socket.service]`<br><b>Activate a service along with a notification socket</b>`systemd-socket-activate [path/to/socket.socket] [path/to/service.service]`<br><b>Activate a service with a specified port</b>`systemd-socket-activate [path/to/socket.service] [[-l|--listen]] [8080]`


title: TLDR
content:
<b>List all active inhibition locks and the reasons for their creation</b>`systemd-inhibit --list`<br><b>Block system shutdown for a specified number of seconds with the sleep command</b>`systemd-inhibit --what shutdown sleep [5]`<br><b>Keep the system from sleeping or idling until the download is complete</b>`systemd-inhibit --what sleep:idle wget [https://example.com/file]`<br><b>Ignore lid close switch until the script exits</b>`systemd-inhibit --what sleep:handle-lid-switch [path/to/script]`<br><b>Ignore power button press while command is running</b>`systemd-inhibit --what handle-power-key [command]`<br><b>Describe who and why created the inhibitor (default: the command and its arguments for --who and Unknown reason for --why)</b>`systemd-inhibit --who [$USER] --why [reason] --what [operation] [command]`


title: TLDR
content:
<b>Display the wireframe of an icosahedron that changes its position every 0.1 seconds</b>`ico -sleep [0.1]`<br><b>Display a solid icosahedron with red faces on a blue background</b>`ico -faces -noedges -colors [red] -bg [blue]`<br><b>Display the wireframe of a cube with size 100x100 that moves by +1+2 per frame</b>`ico -obj [cube] -size [100x100] -delta [+1+2]`<br><b>Display the inverted wireframe of an icosahedron with line width 10 using 5 threads</b>`ico -i -lw [10] -threads [5]`


title: TLDR
content:
<b>Clear all previous slurmctld states from its last checkpoint</b>`slurmctld -c`<br><b>Set the daemon's nice value to the specified value, typically a negative number</b>`slurmctld -n [value]`<br><b>Write log messages to the specified file</b>`slurmctld -L [path/to/output_file]`<br><b>Display help</b>`slurmctld -h`<br><b>Display version</b>`slurmctld -V`


title: TLDR
content:
<b>Report node rebooted when daemon restarted (Used for testing purposes)</b>`slurmd -b`<br><b>Run the daemon with the given nodename</b>`slurmd -N [nodename]`<br><b>Write log messages to the specified file</b>`slurmd -L [path/to/output_file]`<br><b>Read configuration from the specified file</b>`slurmd -f [path/to/file]`<br><b>Display help</b>`slurmd -h`


title: TLDR
content:
<b>Change the [g]roup ID (and drop supplemental groups) before processing client requests</b>`slurmrestd -g [group_id] [[host]:port|unix:/path/to/socket]`<br><b>Comma-delimited list of [a]uthentication plugins to load</b>`slurmrestd -a [authentication_plugins] [[host]:port|unix:/path/to/socket]`<br><b>Read Slurm configuration from the specified [f]ile</b>`slurmrestd -f [path/to/file]`<br><b>Change [u]ser ID before processing client request</b>`slurmrestd -u [user_id]`<br><b>Display [h]elp</b>`slurmrestd -h`<br><b>Display [V]ersion</b>`slurmrestd -V`


title: TLDR
content:
<b>Escape the given text</b>`systemd-escape [text]`<br><b>Reverse the escaping process</b>`systemd-escape [[-u|--unescape]] [text]`<br><b>Treat the given text as a path</b>`systemd-escape [[-p|--path]] [text]`<br><b>Append the given suffix to the escaped text</b>`systemd-escape --suffix [suffix] [text]`<br><b>Use a template and inject the escaped text</b>`systemd-escape --template [template] [text]`


title: TLDR
content:
<b>Query a system password with a specific prompt</b>`systemd-ask-password "[prompt]"`<br><b>Specify an identifier for the password query</b>`systemd-ask-password --id [identifier] "[prompt]"`<br><b>Use a kernel keyring key name as a cache for the password</b>`systemd-ask-password --keyname [key_name] "[prompt]"`<br><b>Set a custom timeout for the password query</b>`systemd-ask-password --timeout [seconds] "[prompt]"`<br><b>Force the use of an agent system and never ask on current TTY</b>`systemd-ask-password --no-tty "[prompt]"`<br><b>Store a password in the kernel keyring without displaying it</b>`systemd-ask-password --no-output --keyname [key_name] "[prompt]"`<br><b>Pass the asked password to another program</b>`systemd-ask-password | [command]`<br><b>Display help</b>`systemd-ask-password [[-h|--help]]`


title: TLDR
content:
<b>Automatically detect and remove the margin for each page in a PDF file</b>`pdfcrop [path/to/input_file.pdf] [path/to/output_file.pdf]`<br><b>Set the margins of each page to a specific value</b>`pdfcrop [path/to/input_file.pdf] --margins '[left] [top] [right] [bottom]' [path/to/output_file.pdf]`<br><b>Set the margins of each page to a specific value, using the same value for left, top, right and bottom</b>`pdfcrop [path/to/input_file.pdf] --margins [300] [path/to/output_file.pdf]`<br><b>Use a user-defined bounding box for cropping instead of automatically detecting it</b>`pdfcrop [path/to/input_file.pdf] --bbox '[left] [top] [right] [bottom]' [path/to/output_file.pdf]`<br><b>Use different user-defined bounding boxes for odd and even pages</b>`pdfcrop [path/to/input_file.pdf] --bbox-odd '[left] [top] [right] [bottom]' --bbox-even '[left] [top] [right] [bottom]' [path/to/output_file.pdf]`<br><b>Automatically detect margins using a lower resolution for improved performance</b>`pdfcrop [path/to/input_file.pdf] --resolution [72] [path/to/output_file.pdf]`


title: TLDR
content:
<b>Display the whole control group hierarchy on your system</b>`systemd-cgls`<br><b>Display a control group tree of a specific resource controller</b>`systemd-cgls [cpu|memory|io]`<br><b>Display the control group hierarchy of one or more systemd units</b>`systemd-cgls [[-u|--unit]] [unit1 unit2 ...]`


title: TLDR
content:
<b>Execute a command on a remote host</b>`rsh [remote_host] [ls -l]`<br><b>Execute a command on a remote host with a specific username</b>`rsh [remote_host] [[-l|--user]] [username] [ls -l]`<br><b>Redirect stdin to /dev/null when executing a command on a remote host</b>`rsh [remote_host] --no-err [ls -l]`


title: TLDR
content:
<b>List available portable service images discovered in the portable image search paths</b>`portablectl list`<br><b>Attach a portable service image to the host system</b>`portablectl attach [path/to/image]`<br><b>Detach a portable service image from the host system</b>`portablectl detach [path/to/image|image_name]`<br><b>Display details and metadata about a specified portable service image</b>`portablectl inspect [path/to/image]`<br><b>Check if a portable service image is attached to the host system</b>`portablectl is-attached [path/to/image|image_name]`


title: TLDR
content:
<b>Log in to a remote host</b>`rlogin [remote_host]`<br><b>Log in to a remote host with a specific username</b>`rlogin [[-l|--user]] [username] [remote_host]`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b>`just`<br><b>Run a JavaScript file</b>`just [path/to/file.js]`<br><b>Evaluate JavaScript code by passing it as an argument</b>`just eval "[code]"`<br><b>Initialize a new project in a directory of the same name</b>`just init [project_name]`<br><b>Build a JavaScript application into an executable</b>`just build [path/to/file.js] --static`


title: TLDR
content:
<b>Start an interactive view</b>`systemd-cgtop`<br><b>Change the sort order</b>`systemd-cgtop --order [cpu|memory|path|tasks|io]`<br><b>Show the CPU usage by time instead of percentage</b>`systemd-cgtop --cpu=percentage`<br><b>Change the update interval in seconds (or one of these time units: ms, us, min)</b>`systemd-cgtop [[-d|--delay]] [interval]`<br><b>Only count userspace processes (without kernel threads)</b>`systemd-cgtop -P`


title: TLDR
content:
<b>Run a command in a container</b>`systemd-nspawn [[-D|--directory]] [path/to/container_root]`<br><b>Run a full Linux-based OS in a container</b>`systemd-nspawn [[-b|--boot]] [[-D|--directory]] [path/to/container_root]`<br><b>Run the specified command as PID 2 in the container (as opposed to PID 1) using a stub init process</b>`systemd-nspawn [[-D|--directory]] [path/to/container_root] [[-a|--as-pid2]]`<br><b>Specify the machine name and hostname</b>`systemd-nspawn [[-M|--machine]] [container_name] --hostname [container_host] [[-D|--directory]] [path/to/container_root]`


title: TLDR
content:
<b>Uncompress specific files</b>`uncompress [path/to/file1.Z path/to/file2.Z ...]`<br><b>Uncompress specific files while ignoring non-existent ones</b>`uncompress -f [path/to/file1.Z path/to/file2.Z ...]`<br><b>Write to stdout (no files are changed and no .Z files are created)</b>`uncompress -c [path/to/file1.Z path/to/file2.Z ...]`<br><b>Verbose mode (write to stderr about percentage reduction or expansion)</b>`uncompress -v [path/to/file1.Z path/to/file2.Z ...]`


title: TLDR
content:
<b>Display system information (hostname, kernel, uptime, etc.)</b>`nitch`<br><b>Display help</b>`nitch [[-h|--help]]`<br><b>Display version</b>`nitch [[-v|--version]]`


title: TLDR
content:
<b>Compress an executable file in-place</b>`gzexe [path/to/executable]`<br><b>[d]ecompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary)</b>`gzexe -d [path/to/compressed_executable]`


title: TLDR
content:
<b>Grow the root partition (/) to all available disk space</b>`systemd-repart`<br><b>View changes without applying</b>`systemd-repart --dry-run yes`<br><b>Grow root partition size to 10 gigabytes</b>`systemd-repart --size 10G --root /`


title: TLDR
content:
<b>Configure cloudinit settings for a specific user and set password for the user</b>`qm cloud-init [vm_id] -user=[user] -password=[password]`<br><b>Configure cloudinit settings for a specific user and set password for the user with a specific SSH key</b>`qm cloud-init [vm_id] -user=[user] -password=[password] -sshkey=[ssh_key]`<br><b>Set the hostname for a specific virtual machine</b>`qm cloud-init [vm_id] -hostname=[hostname]`<br><b>Configure the network interface settings for a specific virtual machine</b>`qm cloud-init [vm_id] -ipconfig [ipconfig]`<br><b>Configure a shell script to execute before cloud-ini is run on a virtual machine</b>`qm cloud-init [vm_id] -pre [script]`


title: TLDR
content:
<b>Initialize a project for libtool by copying necessary files (avoiding symbolic links) and overwriting existing files if needed</b>`libtoolize [[-cf|--copy --force]]`


title: TLDR
content:
<b>Specify the directory of the main.cf configuration file instead of the default configuration directory</b>`postconf -c [path/to/configuration_directory]`<br><b>Edit the main.cf configuration file and update parameter settings with the "name=value" pairs</b>`postconf -e`<br><b>Print the default parameter settings of the main.cf instead of the actual settings</b>`postconf -d`<br><b>Display parameters only from the specified class. The class can be one of builtin, service, user or all</b>`postconf -C [class]`<br><b>List available SASL plug-in types for the Postfix SMTP server. The plug-in type is selected with the smtpd_sasl_type configuration parameter by specifying cyrus or dovecot as the name</b>`postconf -a`<br><b>List the names of all supported lookup table types. Lookup tables are specified as type:name in configuration files where the type can be btree, cdb, hash, mysql, etc</b>`postconf -m`


title: TLDR
content:
<b>Execute a command on a remote host</b>`rexec [[-h|--host]] [remote_host] [ls -l]`<br><b>Specify the remote username on a remote host</b>`rexec [[-u|--username]] [username] [[-h|--host]] [remote_host] [ps aux]`<br><b>Redirect stdin from /dev/null on a remote host</b>`rexec [[-n|--noerr]] [[-h|--host]] [remote_host] [ls -l]`<br><b>Specify the remote port on a remote host</b>`rexec [[-P|--port]] [1234] [[-h|--host]] [remote_host] [ls -l]`


title: TLDR
content:
<b>Set the daemon's nice value to the specified value, typically a negative number</b>`slurmdbd -n [value]`<br><b>Change the working directory of slurmdbd to the LogFile path or to /var/tmp</b>`slurmdbd -s`<br><b>Display help</b>`slurmdbd -h`<br><b>Display version</b>`slurmdbd -V`


title: TLDR
content:
<b>Compress specific files</b>`compress [path/to/file1 path/to/file2 ...]`<br><b>Compress specific files, ignore non-existent ones</b>`compress -f [path/to/file1 path/to/file2 ...]`<br><b>Specify the maximum compression bits (9-16 bits)</b>`compress -b [bits]`<br><b>Write to stdout (no files are changed)</b>`compress -c [path/to/file]`<br><b>Decompress files (functions like uncompress)</b>`compress -d [path/to/file]`<br><b>Display compression percentage</b>`compress -v [path/to/file]`


title: TLDR
content:
<b>Set a default boot entry (Assuming the boot entry already exists)</b>`grub-editenv /boot/grub/grubenv set default=[Ubuntu]`<br><b>Display all GRUB environment variables</b>`grub-editenv /boot/grub/grubenv list`<br><b>Reset the saved_entry variable to the default</b>`grub-editenv /boot/grub/grubenv unset saved_entry`


title: TLDR
content:
<b>Add kernel and initramfs images to bootloader partition</b>`sudo kernel-install add [kernel-version] [kernel-image] [path/to/initrd-file ...]`<br><b>Remove kernel from the bootloader partition</b>`sudo kernel-install remove [kernel-version]`<br><b>Show various paths and parameters that have been configured or auto-detected</b>`sudo kernel-install inspect [kernel-image]`


title: TLDR
content:
<b>Encrypt a file and set a specific name</b>`systemd-creds encrypt --name [name] [path/to/input_file] [path/to/output]`<br><b>Decrypt the file again</b>`systemd-creds decrypt [path/to/input_file] [path/to/output_file]`<br><b>Encrypt text from stdin</b>`echo -n [text] | systemd-creds encrypt --name [name] - [path/to/output]`<br><b>Encrypt the text and append it to the service file (the credentials will be available in $CREDENTIALS_DIRECTORY)</b>`echo -n [text] | systemd-creds encrypt --name [name] --pretty - - >> [service]`<br><b>Create a credential that is only valid until the given timestamp</b>`systemd-creds encrypt --not-after "[timestamp]" [path/to/input_file] [path/to/output_file]`


title: TLDR
content:
<b>Copy a file to a remote host</b>`rcp [path/to/local_file] [username]@[remote_host]:/[path/to/destination]/`<br><b>Copy a directory recursively</b>`rcp [[-r|--recursive]] [path/to/local_directory] [username]@[remote_host]:/[path/to/destination]/`<br><b>Preserve the file attributes</b>`rcp [[-p|--preserve]] [path/to/local_file] [username]@[remote_host]:/[path/to/destination]/`<br><b>Force copy without a confirmation</b>`rcp [[-f|--from]] [path/to/local_file] [username]@[remote_host]:/[path/to/destination]/`


