# CommandSection

title: TLDR
content:
<b>Convert traceroute data in warts files to CSV and output it</b>`sc_warts2csv [path/to/file1.warts path/to/file2.warts ...]`


title: TLDR
content:
<b>Combine the images whose names match the printf-style filename expression. Assume a grid with a specific size</b>`pamundice [filename_%1d_%1a.ppm] [[-a|-across]] [grid_width] [[-d|-down]] [grid_height] > [path/to/output.ppm]`<br><b>Assume that the tiles overlap horizontally and vertically by the specified amount</b>`pamundice [filename_%1d_%1a.ppm] [[-a|-across]] [x_value] [[-d|-down]] [y_value] [[-ho|-hoverlap]] [value] [[-vo|-voverlap]] [value] > [path/to/output.ppm]`<br><b>Specify the images to be combined through a text file containing one filename per line</b>`pamundice [[-l|-listfile]] [path/to/file.txt] [[-a|-across]] [x_value] [[-d|-down]] [y_value] > [path/to/output.ppm]`


title: TLDR
content:
<b>Discard the specified number of columns/rows on each side of the image</b>`pamcut [[-cropl|-cropleft]] [value] [[-cropr|-cropright]] [value] [[-cropt|-croptop]] [value] [[-cropb|-cropbottom]] [value] [path/to/image.ppm] > [path/to/output.ppm]`<br><b>Keep only the columns between the specified columns (inclusively)</b>`pamcut [[-l|-left]] [value] [[-ri|-right]] [value] [path/to/image.ppm] > [path/to/output.ppm]`<br><b>Fill missing areas with black pixels if the specified rectangle does not entirely lie within the input image</b>`pamcut [[-t|-top]] [value] [[-b|-bottom]] [value] -pad [path/to/image.ppm] > [path/to/output.ppm]`


title: TLDR
content:
<b>Repair a PCAP/PCapNG file (Note: For PCAP files, only the first 262144 bytes of each packet are scanned)</b>`pcapfix [path/to/file.pcapng]`<br><b>Repair an entire PCAP file</b>`pcapfix --deep-scan [path/to/file.pcap]`<br><b>Repair a PCAP/PcapNG file and write the repaired file to the specified location</b>`pcapfix --outfile [path/to/repaired.pcap] [path/to/file.pcap]`<br><b>Treat the specified file as a PcapNG file, ignoring automatic recognition</b>`pcapfix --pcapng [path/to/file.pcapng]`<br><b>Repair a file and show the process in detail</b>`pcapfix --verbose [path/to/file.pcap]`


title: TLDR
content:
<b>Run linters in the current folder</b>`golangci-lint run`<br><b>List enabled and disabled linters (Note: Disabled linters are shown last, do not mistake them for enabled ones)</b>`golangci-lint linters`<br><b>Enable a specific linter for this run</b>`golangci-lint run [[-E|--enable]] [linter]`


title: TLDR
content:
<b>Scale up a PAM image by the specified decimal factor</b>`pamstretch-gen [n] [path/to/image.pam] > [path/to/output.pam]`


title: TLDR
content:
<b>Convert warts files to JSON and output the result</b>`sc_warts2json [path/to/file1.warts path/to/file2.warts ...]`


title: TLDR
content:
<b>Set the project property in the core section</b>`gcloud config set project [project_id]`<br><b>Set the compute zone for future operations</b>`gcloud config set compute/zone [zone_name]`<br><b>Disable prompting to make gcloud suitable for scripting</b>`gcloud config set disable_prompts true`<br><b>View the list of properties currently in use</b>`gcloud config list`<br><b>Unset a previously set property</b>`gcloud config unset [property_name]`<br><b>Create a new configuration profile</b>`gcloud config configurations create [configuration_name]`<br><b>Switch between different configuration profiles</b>`gcloud config configurations activate [configuration_name]`


title: TLDR
content:
<b>Turn on Gammastep with a specific [t]emperature during the day (e.g. 5700k) and at night (e.g. 3600k)</b>`gammastep -t [5700]:[3600]`<br><b>Turn on Gammastep with a manually specified custom [l]ocation</b>`gammastep -l [latitude]:[longitude]`<br><b>Turn on Gammastep with a specific screen [b]rightness during the day (e.g. 70%) and at night (e.g. 40%), with minimum brightness 10% and maximum brightness 100%</b>`gammastep -b [0.7]:[0.4]`<br><b>Turn on Gammastep with custom [g]amma levels (between 0 and 1)</b>`gammastep -g [red]:[green]:[blue]`<br><b>Turn on Gammastep with a c[O]nstant unchanging color temperature</b>`gammastep -O [temperature]`<br><b>Reset temperature adjustments applied by Gammastep</b>`gammastep -x`


title: TLDR
content:
<b>Install extension packs to VirtualBox (Note: You need to remove the existing version of the extension pack before installing a new version.)</b>`VBoxManage extpack install [path/to/file.vbox-extpack]`<br><b>Remove the existing version of the VirtualBox extension pack</b>`VBoxManage extpack install --replace`<br><b>Uninstall extension packs from VirtualBox</b>`VBoxManage extpack uninstall [extension_pack_name]`<br><b>Uninstall extension packs and skip most uninstallation refusals</b>`VBoxManage extpack uninstall --force [extension_pack_name]`<br><b>Clean up temporary files and directories left by extension packs</b>`VBoxManage extpack cleanup`


title: TLDR
content:
<b>Generate a UPC image for the specified product type, manufacturer code, and product code</b>`pbmupc [product_type] [manufacturer_code] [product_code] > [path/to/output.pbm]`<br><b>Use an alternative style that does not display the checksum</b>`pbmupc -s2 [product_type] [manufacturer_code] [product_code] > [path/to/output.pbm]`


title: TLDR
content:
<b>Analyze a Python script or all the Python scripts in a specific directory</b>`pydocstyle [file.py|path/to/directory]`<br><b>Show an explanation of each error</b>`pydocstyle [[-e|--explain]] [file.py|path/to/directory]`<br><b>Show debug information</b>`pydocstyle [[-d|--debug]] [file.py|path/to/directory]`<br><b>Display the total number of errors</b>`pydocstyle --count [file.py|path/to/directory]`<br><b>Use a specific configuration file</b>`pydocstyle --config [path/to/config_file] [file.py|path/to/directory]`<br><b>Ignore one or more errors</b>`pydocstyle --ignore [D101,D2,D107,...] [file.py|path/to/directory]`<br><b>Check for errors from a specific convention</b>`pydocstyle --convention [pep257|numpy|google] [file.py|path/to/directory]`


title: TLDR
content:
<b>Display general information about the OpenPGP application</b>`ykman openpgp info`<br><b>Set the number of retry attempts for the User PIN, Reset Code, and Admin PIN, respectively</b>`ykman openpgp access set-retries [3] [3] [3]`<br><b>Change the User PIN, Reset Code or Admin PIN</b>`ykman openpgp access change-[pin|reset-code|admin-pin]`<br><b>Factory reset the OpenPGP application (you have to do this after exceeding the number of Admin PIN retry attempts)</b>`ykman openpgp reset`


title: TLDR
content:
<b>Export data from a specific Cloud SQL instance to a Google Cloud Storage bucket as an SQL dump file</b>`gcloud sql export sql [instance] gs://[bucket_name]/[file_name]`<br><b>Export data asynchronously, returning immediately without waiting for the operation to complete</b>`gcloud sql export sql [instance] gs://[bucket_name]/[file_name] --async`<br><b>Export data from specific databases within the Cloud SQL instance</b>`gcloud sql export sql [instance] gs://[bucket_name]/[file_name] --database=[database1,database2,...]`<br><b>Export specific tables from a specified database within the Cloud SQL instance</b>`gcloud sql export sql [instance] gs://[bucket_name]/[file_name] --database=[database] --table=[table1,table2,...]`<br><b>Export data while offloading the operation to a temporary instance to reduce strain on the source instance</b>`gcloud sql export sql [instance] gs://[bucket_name]/[file_name] --offload`<br><b>Export data and compress the output with gzip</b>`gcloud sql export sql [instance] gs://[bucket_name]/[file_name].gz`


title: TLDR
content:
<b>Run the linter on the given files or directories</b>`ruff check [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Apply the suggested fixes, modifying the files in-place</b>`ruff check --fix`<br><b>Run the linter and re-lint on change</b>`ruff check --watch`<br><b>Only enable the specified rules (or all rules), ignoring the configuration file</b>`ruff check --select [ALL|rule_code1,rule_code2,...]`<br><b>Additionally enable the specified rules</b>`ruff check --extend-select [rule_code1,rule_code2,...]`<br><b>Disable the specified rules</b>`ruff check --ignore [rule_code1,rule_code2,...]`<br><b>Ignore all existing violations of a rule by adding # noqa directives to all lines that violate it</b>`ruff check --select [rule_code] --add-noqa`


title: TLDR
content:
<b>Interactively select a hosting service</b>`picgo set uploader`<br><b>Upload the image in current clipboard</b>`picgo upload`<br><b>Upload an image from a specific path</b>`picgo upload [path/to/image]`


title: TLDR
content:
<b>Search for duplicate files in the current directory</b>`fclones group .`<br><b>Search multiple directories for duplicate files and cache the results</b>`fclones group --cache [path/to/directory1 path/to/directory2 ...]`<br><b>Search only the specified directory for duplicate files, skipping subdirectories and save the results into a file</b>`fclones group [path/to/directory] --depth 1 > [path/to/file.txt]`<br><b>Move the duplicate files in a TXT file to a different directory</b>`fclones < [path/to/file.txt] move [path/to/target_directory]`<br><b>Perform a dry run for soft links in a TXT file without actually linking</b>`fclones < [path/to/file.txt] link --soft --dry-run 2 > /dev/null`<br><b>Delete the newest duplicates from the current directory without storing them in a file</b>`fclones group . | fclones remove --priority newest`<br><b>Preprocess JPEG files in the current directory by using an external command to strip their EXIF data before matching for duplicates</b>`fclones group . --name '*.jpg' -i --transform 'exiv2 -d a $IN' --in-place`


title: TLDR
content:
<b>Convert a PNM image to a DDIF image file</b>`pnmtoddif [path/to/image.pnm] > [path/to/image.ddif]`<br><b>Explicitly specify the horizontal and vertical resolution of the output image</b>`pnmtoddif [[-r|-resolution]] [horizontal_dpi] [vertical_dpi] [path/to/image.pnm] > [path/to/image.ddif]`


title: TLDR
content:
<b>Download a file from a URL</b>`gdown [url]`<br><b>Download using a file ID</b>`gdown [file_id]`<br><b>Download with fuzzy file ID extraction (also works with <https://docs.google.com> links)</b>`gdown --fuzzy [url]`<br><b>Download a folder using its ID or the full URL</b>`gdown [folder_id|url] [[-O|--output]] [path/to/output_directory] --folder`<br><b>Download a tar archive, write it to stdout and extract it</b>`gdown [tar_url] [[-O|--output]] - [[-q|--quiet]] | tar xvf -`


title: TLDR
content:
<b>Connect to a specific database</b>`usql [sqlserver|mysql|postgres|sqlite3|...]://[username]:[password]@[host]:[port]/[database_name]`<br><b>Execute commands from a file</b>`usql --file=[path/to/query.sql]`<br><b>Execute a specific SQL command</b>`usql --command="[sql_command]"`<br><b>Run an SQL command in the usql prompt</b>`[prompt]=> [command]`<br><b>Display the database schema</b>`[prompt]=> \d`<br><b>Export query results to a specific file</b>`[prompt]=> \g [path/to/file_with_results]`<br><b>Import data from a CSV file into a specific table</b>`[prompt]=> \copy [path/to/data.csv] [table_name]`


title: TLDR
content:
<b>Generate a PGM image containing white noise</b>`pbmnoise [width] [height] > [path/to/output.pbm]`<br><b>Specify the seed for the pseudo-random number generator</b>`pbmnoise [width] [height] -randomseed [value] > [path/to/output.pbm]`<br><b>Specify the desired rate of white to black pixels</b>`pbmnoise [width] [height] -ratio [1/3] > [path/to/output.pbm]`


title: TLDR
content:
<b>Paste a PNM image into another PNM image at the specified coordinates</b>`pnmpaste [x] [y] [path/to/image1.pnm] [path/to/image2.pnm] > [path/to/output.pnm]`<br><b>Paste the image read from stdin into the specified image</b>`[command] | pnmpaste [x] [y] [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Combine the overlapping pixels by the specified boolean operation, where white pixels represent true while black pixels represent false</b>`pnmpaste -[and|nand|or|nor|xor|xnor] [x] [y] [path/to/image1.pnm] [path/to/image2.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Merge each row in an image with its two neighbours</b>`pammixinterlace [path/to/image.ppm] > [path/to/output.ppm]`<br><b>Use the specified filtering mechanism</b>`pammixinterlace [[-f|-filter]] [linear|fir|ffmpeg] [path/to/image.ppm] > [path/to/output.ppm]`<br><b>Turn on adaptive filtering mode, i.e., only modify pixels that are obviously part of a comb pattern</b>`pammixinterlace [[-a|-adaptive]] [path/to/image.ppm] > [path/to/output.ppm]`


title: TLDR
content:
<b>Convert a PPM image to an ANSI ISO 6429 ASCII image, mapping each pixel to an individual character</b>`ppmtoterm [path/to/input.ppm] > [path/to/output.txt]`


title: TLDR
content:
<b>Reduce the specified image by the specified factor</b>`pbmreduce [n] [path/to/image.pbm] > [path/to/output.pbm]`<br><b>Use simple thresholding when reducing</b>`pbmreduce [[-t|-threshold]] [n] [path/to/image.pbm] > [path/to/output.pbm]`<br><b>Use the specified threshold for all quantizations</b>`pbmreduce [[-va|-value]] [0.6] [n] [path/to/image.pbm] > [path/to/output.pbm]`


title: TLDR
content:
<b>Convert an Atari Degas PI3 image to PBM image</b>`pi3topbm [path/to/atari_image.pi3] > [path/to/output_image.pbm]`


title: TLDR
content:
<b>Create anomaly monitor</b>`aws ce create-anomaly-monitor --monitor [monitor_name] --monitor-type [monitor_type]`<br><b>Create anomaly subscription</b>`aws ce create-anomaly-subscription --subscription [subscription_name] --monitor-arn [monitor_arn] --subscribers [subscribers]`<br><b>Get anomalies</b>`aws ce get-anomalies --monitor-arn [monitor_arn] --start-time [start_time] --end-time [end_time]`<br><b>Get cost and usage</b>`aws ce get-cost-and-usage --time-period [start_date]/[end_date] --granularity [granularity] --metrics [metrics]`<br><b>Get cost forecast</b>`aws ce get-cost-forecast --time-period [start_date]/[end_date] --granularity [granularity] --metric [metric]`<br><b>Get reservation utilization</b>`aws ce get-reservation-utilization --time-period [start_date]/[end_date] --granularity [granularity]`<br><b>List cost category definitions</b>`aws ce list-cost-category-definitions`<br><b>Tag resource</b>`aws ce tag-resource --resource-arn [resource_arn] --tags [tags]`


title: TLDR
content:
<b>Convert an image from JPEG to PNG</b>`magick convert [path/to/input_image.jpg] [path/to/output_image.png]`<br><b>Scale an image to 50% of its original size</b>`magick convert [path/to/input_image.png] -resize 50% [path/to/output_image.png]`<br><b>Scale an image keeping the original aspect ratio to a maximum dimension of 640x480</b>`magick convert [path/to/input_image.png] -resize 640x480 [path/to/output_image.png]`<br><b>Scale an image to have a specified file size</b>`magick convert [path/to/input_image.png] -define jpeg:extent=[512kb] [path/to/output_image.jpg]`<br><b>Vertically/horizontally append images and have the empty space be transparent</b>`magick convert -background none [path/to/image1.png path/to/image2.png ...] [-append|+append] [path/to/output_image.png]`<br><b>Create a GIF from a series of images with 100ms delay between them</b>`magick convert [path/to/image1.png path/to/image2.png ...] -delay [10] [path/to/animation.gif]`<br><b>Create an image with nothing but a solid red background</b>`magick convert -size [800x600] "xc:[#ff0000]" [path/to/image.png]`<br><b>Create a favicon from several images of different sizes</b>`magick convert [path/to/image1.png path/to/image2.png ...] [path/to/favicon.ico]`


title: TLDR
content:
<b>Convert a PBM image into a UNIX plot file</b>`pbmtoplot [path/to/image.pbm] > [path/to/output.plot]`


title: TLDR
content:
<b>Convert a CMU window manager bitmap to a PBM image</b>`cmuwmtopbm [path/to/image.pbm] > [path/to/output.bmp]`


title: TLDR
content:
<b>Start the service, using the default configuration file (assumed to be frps.ini in the current directory)</b>`frps`<br><b>Start the service, using the newer TOML configuration file (frps.toml instead of frps.ini) in the current directory</b>`frps [[-c|--config]] ./frps.toml`<br><b>Start the service, using a specified configuration file</b>`frps [[-c|--config]] [path/to/file]`<br><b>Check if the configuration file is valid</b>`frps verify [[-c|--config]] [path/to/file]`<br><b>Print autocompletion setup script for Bash, fish, PowerShell, or Zsh</b>`frps completion [bash|fish|powershell|zsh]`<br><b>Display version</b>`frps [[-v|--version]]`


title: TLDR
content:
<b>Convert a PBM image into a Nokia Operator Logo as hexcode</b>`pbmtonokia [[-f|-fmt]] NEX_NOL -net [network_operator_code] [path/to/image.pbm] > [path/to/output.hex]`<br><b>Convert a PBM image into a Nokia Group Graphic as hexcode</b>`pbmtonokia [[-f|-fmt]] NEX_NGG [path/to/image.pbm] > [path/to/output.hex]`<br><b>Convert a PBM image into a Nokia Picture Message with the specified text as hexcode</b>`pbmtonokia [[-f|-fmt]] NEX_NPM -txt [text_message] [path/to/image.pbm] > [path/to/output.hex]`<br><b>Convert a PBM image into a Nokia Operator Logo as a NOL file</b>`pbmtonokia [[-f|-fmt]] NOL [path/to/image.pbm] > [path/to/output.nol]`<br><b>Convert a PBM image into a Nokia Group Graphic as an NGG file</b>`pbmtonokia [[-f|-fmt]] NGG [path/to/image.pbm] > [path/to/output.ngg]`<br><b>Convert a PBM image into a Nokia Picture Message as an NPM file</b>`pbmtonokia [[-f|-fmt]] NPM [path/to/image.pbm] > [path/to/output.npm]`


title: TLDR
content:
<b>View documentation for frpc, the frp client component</b>`tldr frpc`<br><b>View documentation for frps, the frp server component</b>`tldr frps`


title: TLDR
content:
<b>View documentation for running the CUPS daemon</b>`tldr cupsd`<br><b>View documentation for managing printers</b>`tldr lpadmin`<br><b>View documentation for printing files</b>`tldr lp`<br><b>View documentation for checking status information about the current classes, jobs, and printers</b>`tldr lpstat`<br><b>View documentation for cancelling print jobs</b>`tldr lprm`


title: TLDR
content:
<b>Convert a PBM image to a compressed GraphOn graphic</b>`pbmtogo [path/to/image.pbm] > [path/to/output.go]`


title: TLDR
content:
<b>Show information about a particular virtual machine</b>`VBoxManage showvminfo [vm_name|uuid]`<br><b>Show more detailed information about a particular virtual machine</b>`VBoxManage showvminfo --details [vm_name|uuid]`<br><b>Show information in a machine readable format</b>`VBoxManage showvminfo --machinereadable [vm_name|uuid]`<br><b>Specify password ID if the virtual machine is encrypted</b>`VBoxManage showvminfo --password-id [password_id] [vm_name|uuid]`<br><b>Specify the password file if the virtual machine is encrypted</b>`VBoxManage showvminfo --password [path/to/password_file] [vm_name|uuid]`<br><b>Show the logs of a specific virtual machine</b>`VBoxManage showvminfo --log [vm_name|uuid]`


title: TLDR
content:
<b>Run a REPL command with line editing, persistent history and prompt completion</b>`rlwrap [command]`<br><b>Use all words seen on input and output for prompt completion</b>`rlwrap [[-r|--remember]] [command]`<br><b>Better prompt completion if prompts contain ANSI colour codes</b>`rlwrap [[-A|--ansi-colour-aware]] [command]`<br><b>Enable filename completion (case sensitive)</b>`rlwrap [[-c|--complete-filenames]] [command]`<br><b>Add coloured prompts, use colour name, or an ASCI-conformant colour specification. Use an uppercase colour name for bold styling</b>`rlwrap [[-p|--prompt-colour=]][black|red|green|yellow|blue|cyan|purple|white|colour_spec] [command]`


title: TLDR
content:
<b>Create a new MSK cluster</b>`aws kafka create-cluster --cluster-name [cluster_name] --broker-node-group-info instanceType=[instance_type],clientSubnets=[subnet_id1 subnet_id2 ...] --kafka-version [version] --number-of-broker-nodes [number]`<br><b>Describe a MSK cluster</b>`aws kafka describe-cluster --cluster-arn [cluster_arn]`<br><b>List all MSK clusters in the current region</b>`aws kafka list-clusters`<br><b>Create a new MSK configuration</b>`aws kafka create-configuration --name [configuration_name] --server-properties file://[path/to/configuration_file.txt]`<br><b>Describe a MSK configuration</b>`aws kafka describe-configuration --arn [configuration_arn]`<br><b>List all MSK configurations in the current region</b>`aws kafka list-configurations`<br><b>Update the MSK cluster configuration</b>`aws kafka update-cluster-configuration --cluster-arn [cluster_arn] --configuration-info arn=[configuration_arn],revision=[configuration_revision]`<br><b>Delete the MSK cluster</b>`aws kafka delete-cluster --cluster-arn [cluster_arn]`


title: TLDR
content:
<b>Import new transactions from bank.csv, using bank.csv.rules to convert</b>`hledger import [path/to/bank.csv]`<br><b>Show what would be imported from these two files, without doing anything</b>`hledger import [path/to/bank1.csv] [path/to/bank2.csv] --dry-run`<br><b>Import new transactions from all CSV files, using the same rules for all</b>`hledger import --rules-file [common.rules] *.csv`<br><b>Show conversion errors or results while editing bank.csv.rules</b>`watchexec -- hledger [[-f|--file]] [path/to/bank.csv] print`<br><b>Mark bank.csv's current data as seen, as if already imported</b>`hledger import --catchup [path/to/bank.csv]`<br><b>Mark bank.csv as all new, as if not yet imported</b>`rm [[-f|--force]] .latest.bank.csv`


title: TLDR
content:
<b>Convert a Gould scanner file to a PPM image</b>`gouldtoppm [path/to/file.gould] > [path/to/output.ppm]`


title: TLDR
content:
<b>Print full Vulkan information</b>`vulkaninfo`<br><b>Print a summary</b>`vulkaninfo --summary`<br><b>Make a HTML document of the full Vulkan information</b>`vulkaninfo --html`


title: TLDR
content:
<b>Edit the output of command1 before piping it into command2</b>`[command1] | vipe | [command2]`<br><b>Buffer the output of command1 in a temporary file with the specified file extension in order to aid syntax highlighting</b>`[command1] | vipe --suffix [json] | [command2]`<br><b>Use the specified text editor</b>`[command1] | EDITOR=[vim] vipe | [command2]`


title: TLDR
content:
<b>Start in the main menu screen, reading from the default journal file</b>`hledger-ui`<br><b>Start with a different color theme</b>`hledger-ui --theme [terminal|greenterm|dark]`<br><b>Start in the balance sheet accounts screen, showing hierarchy down to level 3</b>`hledger-ui --bs [[-t|--tree]] [[-3|--depth 3]]`<br><b>Start in this account's screen, showing cleared transactions, and reload on change</b>`hledger-ui --register [assets:bank:checking] [[-C|--cleared]] [[-w|--watch]]`<br><b>Read two journal files, and show amounts as current value when known</b>`hledger-ui [[-f|--file]] [path/to/2024.journal] [[-f|--file]] [path/to/2024-prices.journal] --value now`<br><b>Show the manual in Info format, if possible</b>`hledger-ui --info`<br><b>Display help</b>`hledger-ui [[-h|--help]]`


title: TLDR
content:
<b>Convert a Andrew Toolkit raster object to a PBM image</b>`atktopbm [path/to/image.atk] > [path/to/output.pbm]`


title: TLDR
content:
<b>Reject print jobs to the specified destinations</b>`cupsreject [destination1 destination2 ...]`<br><b>Specify a different server</b>`cupsreject -h [server] [destination1 destination2 ...]`<br><b>Specify a reason string ("Reason Unknown" by default)</b>`cupsreject -r [reason] [destination1 destination2 ...]`


title: TLDR
content:
<b>Show transactions and running balance in the assets:bank:checking account</b>`hledger [[areg|aregister]] assets:bank:checking`<br><b>Show transactions and running balance in the first account named *savings*</b>`hledger [[areg|aregister]] savings`<br><b>Show the checking account's cleared transactions, with a specified width</b>`hledger [[areg|aregister]] checking [[-C|--cleared]] [[-w|--width]] [120]`<br><b>Show the checking register, including transactions from forecast rules</b>`hledger [[areg|aregister]] checking --forecast`


title: TLDR
content:
<b>Run WirePlumber, after pipewire is started (for non-systemd systems)</b>`wireplumber`<br><b>Specify a different context configuration file</b>`wireplumber --config-file [path/to/file]`<br><b>Display help</b>`wireplumber --help`<br><b>Display version</b>`wireplumber --version`


title: TLDR
content:
<b>Add a border of the specified size to a PNM image</b>`pnmmargin [size] [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Specify the color of the border</b>`pnmmargin [[-c|-color]] [color] [size] [path/to/image.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Run the specified command if and only if stdin is not empty</b>`ifne [command options ...]`<br><b>Run the specified command if and only if stdin is empty, otherwise pass stdin to stdout</b>`ifne -n [command options ...]`


title: TLDR
content:
<b>Add a new command to the cheatshheet</b>`cheatshh [[-a|--add]]`<br><b>Edit an existing command's description or group in the cheatshheet</b>`cheatshh [[-ec|--edit-command]]`<br><b>Delete an existing command from the cheatshheet</b>`cheatshh [[-dc|--delete-command]]`<br><b>Create a new group</b>`cheatshh [[-g|--group]]`<br><b>Edit an existing group's name or description in the cheatsheet</b>`cheatshh [[-eg|--edit-group]]`<br><b>Delete an existing group and it's sub commands from commands.json file</b>`cheatshh [[-dg|--delete-group]]`<br><b>Display man pages after tldr in the preview</b>`cheatshh [[-m|--man]]`


title: TLDR
content:
<b>Initialize the environment</b>`devenv init`<br><b>Enter the Development Environment with relaxed hermeticity (state of being airtight)</b>`devenv shell --impure`<br><b>Get detailed information about the current environment</b>`devenv info --verbose`<br><b>Start processes with devenv</b>`devenv up --config [path/to/file]`<br><b>Clean the environment variables and re-enter the shell in offline mode</b>`devenv --clean --offline`<br><b>Delete the previous shell generations</b>`devenv gc`


title: TLDR
content:
<b>List installed packages</b>`pip freeze`<br><b>Write installed packages to the requirements.txt file</b>`pip freeze > requirements.txt`<br><b>List installed packages in a virtual environment, excluding globally installed packages</b>`pip freeze [[-l|--local]]`<br><b>List installed packages in the user-site</b>`pip freeze --user`<br><b>List all packages, including pip, distribute, setuptools, and wheel (they are skipped by default)</b>`pip freeze --all`


title: TLDR
content:
<b>Start a virtual machine</b>`VBoxManage startvm [vm_name|uuid]`<br><b>Start a virtual machine with the specified UI mode</b>`VBoxManage startvm [vm_name|uuid] --type [headless|gui|sdl|separate]`<br><b>Specify a password file to start an encrypted virtual machine</b>`VBoxManage startvm [vm_name|uuid] --password [path/to/password_file]`<br><b>Specify a password ID to start an encrypted virtual machine</b>`VBoxManage startvm [vm_name|uuid] --password-id [password_id]`<br><b>Start a virtual machine with an environment variable pair name value</b>`VBoxManage startvm [vm_name|uuid] [[-E|--putenv]] [name]=[value]`


title: TLDR
content:
<b>Display version information for all installed components, along with available updates to them</b>`gcloud version`<br><b>Display help</b>`gcloud version --help`


title: TLDR
content:
<b>Show the balance change in all accounts from all postings over all time</b>`hledger [[bal|balance]]`<br><b>Show the balance change in accounts named *expenses*, as a tree, summarising the top two levels only</b>`hledger [[bal|balance]] [expenses] [[-t|--tree]] [[-2|--depth 2]]`<br><b>Show expenses each month, and their totals and averages, sorted by total; and their monthly budget goals</b>`hledger [[bal|balance]] [expenses] [[-M|--monthly]] [[-T|--row-total]] [[-A|--average]] [[-S|--sort-amount]] --budget`<br><b>Similar to the above, matching accounts by Expense type, as a two level tree without squashing boring accounts</b>`hledger [[bal|balance]] type:[X] [[-MTAS|--monthly --row-total --average --sort-amount]] --budget [[-t|--tree]] [[-2|--depth 2]] --no-elide`<br><b>Show end balances (including from postings before the start date), quarterly in 2024, in accounts named *assets* or *liabilities*</b>`hledger [[bal|balance]] [[-H|--historical]] [[-p|--period]] '[quarterly in 2024]' [assets] [liabilities]`<br><b>Similar to the above, also show zero balances, sort by total and summarise to three levels</b>`hledger [[bal|balance]] [[-HQ|--historical --quarterly]] date:[2024] type:[AL] [[-ES|--empty --sort-amount]] [[-3|--depth 3]]`<br><b>Show investment assets' market [V]alue in base currency at the end of each quarter</b>`hledger [[bal|balance]] [[-HVQ|--historical --market --quarterly]] [assets:investments]`<br><b>Show unrealised capital gains/losses from market price changes in each quarter, for non-cryptocurrency investment assets</b>`hledger [[bal|balance]] --gain [[-Q|--quarterly]] [assets:investments] not:[cryptocurrency]`


title: TLDR
content:
<b>Run the server with a specific service name</b>`ippeveprinter "[service_name]"`<br><b>Load printer attributes from a PPD file</b>`ippeveprinter -P [path/to/file.ppd] "[service_name]"`<br><b>Run the file command whenever a job is sent to the server</b>`ippeveprinter -c [/usr/bin/file] "[service_name]"`<br><b>Specify the directory that will hold the print files (by default, a directory under the user's temporary directory)</b>`ippeveprinter -d [spool_directory] "[service_name]"`<br><b>Keep the print documents in the spool directory rather than deleting them</b>`ippeveprinter -k "[service_name]"`<br><b>Specify the printer speed in pages/minute unit (10 by default)</b>`ippeveprinter -s [speed] "[service_name]"`


title: TLDR
content:
<b>Execute a shell command on each image in a Netpbm file</b>`pampick < [path/to/image.pam] [image_number1 image_number2 ...] > [path/to/output.pam]`


title: TLDR
content:
<b>Install a version of the Flutter SDK. Use without version for project settings</b>`fvm install [version]`<br><b>Set a specific version of Flutter SDK in a project</b>`fvm use [version] [options]`<br><b>Set a global version of the Flutter SDK</b>`fvm global [version]`<br><b>Delete the FVM cache</b>`fvm destroy`<br><b>Remove a specific version of the Flutter SDK</b>`fvm remove [version]`<br><b>List all installed versions of the Flutter SDK</b>`fvm list`<br><b>List all releases of the Flutter SDK</b>`fvm releases`


title: TLDR
content:
<b>Filter all data records that had specific destinations and write them to a separate file</b>`sc_wartsfilter -i [path/to/input.warts] -o [path/to/output.warts] -a [192.0.2.5] -a [192.0.2.6]`<br><b>Filter all records that had certain destinations in a prefix and write them to a separate file</b>`sc_wartsfilter -i [path/to/input.warts] -o [path/to/output.warts] -a [2001:db8::/32]`<br><b>Filter all records that using a specific action and output them as JSON</b>`sc_wartsfilter -i [path/to/input.warts] -t [ping] | sc_warts2json`


title: TLDR
content:
<b>Start the web app, and a browser if possible, for local viewing and adding only</b>`hledger-web`<br><b>As above but with a specified file, and allow editing of existing data</b>`hledger-web [[-f|--file]] [path/to/file.journal] --allow edit`<br><b>Start just the web app, and accept incoming connections to the specified host and port</b>`hledger-web --serve --host [my.host.name] --port 8000`<br><b>Start just the web app's JSON API, and allow only read access</b>`hledger-web --serve-api --host [my.host.name] --allow view`<br><b>Show amounts converted to current market value in your base currency when known</b>`hledger-web --value now --infer-market-prices`<br><b>Show the manual in Info format if possible</b>`hledger-web --info`<br><b>Display help</b>`hledger-web [[-h|--help]]`


title: TLDR
content:
<b>Import a VM from an OVF or OVA file</b>`VBoxManage import [path/to/file.ovf]`<br><b>Set the name of the imported VM</b>`VBoxManage import [path/to/file.ovf] --name [vm_name]`<br><b>Indicate the folder where the configuration of the imported VM will be stored</b>`VBoxManage import [path/to/file.ovf] --basefolder [path/to/directory]`<br><b>Register the imported VM in VirtualBox</b>`VBoxManage import [path/to/file.ovf] --register`<br><b>Perform a dry run to check the import without actually importing</b>`VBoxManage import [path/to/file.ovf] --dry-run`<br><b>Set the guest OS type (one of VBoxManage list ostypes) for the imported VM</b>`VBoxManage import [path/to/file.ovf] --ostype [ostype]`<br><b>Set the memory (in megabytes) for the imported VM</b>`VBoxManage import [path/to/file.ovf] --memory [1]`<br><b>Set the number of CPUs for the imported VM</b>`VBoxManage import [path/to/file.ovf] --cpus [1]`


title: TLDR
content:
<b>Convert a PBM image to a BitGraph terminal Display Pixel Data sequence</b>`pbmtobbnbg < [path/to/image.pbm] > [path/to/output.dpd]`<br><b>Specify the rasterop</b>`pbmtobbnbg < [path/to/image.pbm] [3] > [path/to/output.dpd]`


title: TLDR
content:
<b>List all available plugins</b>`mise plugins list-all`<br><b>Install a plugin</b>`mise plugins add [name]`<br><b>List runtime versions available for install</b>`mise ls-remote [name]`<br><b>Install a specific version of a package</b>`mise install [name]@[version]`<br><b>Set global version for a package</b>`mise use --global [name]@[version]`<br><b>Set local version for a package</b>`mise use [name]@[version]`<br><b>Set environment variable in configuration</b>`mise set [variable]=[value]`<br><b>Pass plugin options</b>`mise use [name]\[[option1]=[option1_value],[option2]=[option2_value]\]@[version]`


title: TLDR
content:
<b>Start a server on the default port (12865) and fork to background</b>`netserver`<br><b>Start server in foreground and do not fork</b>`netserver -D`<br><b>Specify [p]ort</b>`netserver -p [port]`<br><b>Force IPv[4] or IPv[6]</b>`netserver -[4|6]`


title: TLDR
content:
<b>Pretty print an HTML file</b>`tidy [path/to/file.html]`<br><b>Enable indentation, wrapping lines in 100, saving to output.html</b>`tidy [[-i|--indent]] y [[-w|--wrap]] 100 [[-o|-output]] [path/to/output.html] [path/to/file.html]`<br><b>Modify an HTML file in-place using a configuration file</b>`tidy -config [path/to/configuration] [[-m|-modify]] [path/to/file.html]`


title: TLDR
content:
<b>Generate an image using only n_colors or less colors as close as possible to the input image</b>`pnmquant [n_colors] [path/to/input.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Enlarge the specified image by the specified factor</b>`pamenlarge [[-s|-scale]] [n] [path/to/image.pam] > [path/to/output.pam]`<br><b>Enlarge the specified image by the specified factors horizontally and vertically</b>`pamenlarge [[-x|-xscale]] [xn] [[-y|-yscale]] [yn] [path/to/image.pam] > [path/to/output.pam]`


title: TLDR
content:
<b>With no additional arguments, output will display all outputs for the root module</b>`terraform output`<br><b>Output only a value with specific name</b>`terraform output [name]`<br><b>Convert the output value to a raw string (useful for shell scripts)</b>`terraform output -raw`<br><b>Format the outputs as a JSON object, with a key per output (useful with jq)</b>`terraform output -json`


title: TLDR
content:
<b>Connect to a local instance on the default port (neo4j://localhost:7687)</b>`cypher-shell`<br><b>Connect to a remote instance</b>`cypher-shell --address neo4j://[host]:[port]`<br><b>Connect and supply security credentials</b>`cypher-shell --username [username] --password [password]`<br><b>Connect to a specific database</b>`cypher-shell --database [database_name]`<br><b>Execute Cypher statements in a file and close</b>`cypher-shell --file [path/to/file.cypher]`<br><b>Enable logging to a file</b>`cypher-shell --log [path/to/file.log]`<br><b>Display help</b>`cypher-shell --help`


title: TLDR
content:
<b>Start the Bitcoin Core daemon (in the foreground)</b>`bitcoind`<br><b>Start the Bitcoin Core daemon in the background (use bitcoin-cli stop to stop)</b>`bitcoind -daemon`<br><b>Start the Bitcoin Core daemon on a specific network</b>`bitcoind -chain=[main|test|signet|regtest]`<br><b>Start the Bitcoin Core daemon using specific configuration file and data directory</b>`bitcoind -conf=[path/to/bitcoin.conf] -datadir=[path/to/directory]`


title: TLDR
content:
<b>Convert the specified PGM image to Usenix FaceSave format</b>`pgmtofs [path/to/input.pgm] > [path/to/output.fs]`


title: TLDR
content:
<b>Get all contexts in the default kubeconfig file</b>`kubectl config get-contexts`<br><b>Get all clusters/contexts/users in a custom kubeconfig file</b>`kubectl config [get-clusters|get-contexts|get-users] --kubeconfig [path/to/kubeconfig.yaml]`<br><b>Get the current context</b>`kubectl config current-context`<br><b>Set the default namespace of the current context</b>`kubectl config set-context --current --namespace [namespace]`<br><b>Switch to another context</b>`kubectl config [use|use-context] [context_name]`<br><b>Delete clusters/contexts/users</b>`kubectl config [delete-cluster|delete-context|delete-user] [cluster|context|user]`<br><b>Permanently add custom kubeconfig files</b>`export KUBECONFIG="[$HOME.kube/config:path/to/custom_kubeconfig.yaml]" kubectl config get-contexts`


title: TLDR
content:
<b>Convert a MDA file to a PBM image</b>`mdatopbm [path/to/image.mda] > [path/to/output.pbm]`<br><b>Invert the colors in the input image</b>`mdatopbm -i [path/to/image.mda] > [path/to/output.pbm]`<br><b>Double the input image's height</b>`mdatopbm -d [path/to/image.mda] > [path/to/output.pbm]`


title: TLDR
content:
<b>Output lines that are in both specified files</b>`combine [path/to/file1] and [path/to/file2]`<br><b>Output lines that are in the first but not in the second file</b>`combine [path/to/file1] not [path/to/file2]`<br><b>Output lines that in are in either of the specified files</b>`combine [path/to/file1] or [path/to/file2]`<br><b>Output lines that are in exactly one of the specified files</b>`combine [path/to/file1] xor [path/to/file2]`


title: TLDR
content:
<b>Convert a PBM image to an Atari Degas PI3 image</b>`pbmtopi3 [path/to/image.pbm] > [path/to/atari_image.pi3]`


title: TLDR
content:
<b>List all objects of a specific type</b>`aws sns list-[origination-numbers|phone-numbers-opted-out|platform-applications|sms-sandbox-phone-numbers|subscriptions|topics]`<br><b>Create a topic with a specific name and show its Amazon Resource Name (ARN)</b>`aws sns create-topic --name [name]`<br><b>Subscribe an email address to the topic with a specific ARN and show the subscription ARN</b>`aws sns subscribe --topic-arn [topic_ARN] --protocol email --notification-endpoint [email]`<br><b>Publish a message to a specific topic or phone number and show the message ID</b>`aws sns publish [--topic-arn "arn:aws:sns:us-west-2:123456789012:topic-name"||--phone-number +1-555-555-0100] --message file://[path/to/file]`<br><b>Delete the subscription with a specific ARN from its topic</b>`aws sns unsubscribe --subscription-arn [subscription_ARN]`<br><b>Create a platform endpoint</b>`aws sns create-platform-endpoint --platform-application-arn [platform_application_ARN] --token [token]`<br><b>Add a statement to a topic's access control policy</b>`aws sns add-permission --topic-arn [topic_ARN] --label [topic_label] --aws-account-id [account_id] --action-name [AddPermission|CreatePlatformApplication|DeleteEndpoint|GetDataProtectionPolicy|GetEndpointAttributes|Subscribe|...]`<br><b>Add a tag to the topic with a specific ARN</b>`aws sns tag-resource --resource-arn [topic_ARN] --tags [Key=tag1_key Key=tag2_key,Value=tag2_value ...]`


title: TLDR
content:
<b>Check for outdated packages</b>`pnpm outdated`<br><b>Check for outdated dependencies found in every workspace package</b>`pnpm outdated [[-r|--recursive]]`<br><b>Filter outdated packages using a package selector</b>`pnpm outdated --filter [package_selector]`<br><b>List outdated packages globally</b>`pnpm outdated [[-g|--global]]`<br><b>Print details of outdated packages</b>`pnpm outdated --long`<br><b>Print outdated dependencies in a specific format</b>`pnpm outdated --format [format]`<br><b>Print only versions that satisfy specifications in package.json</b>`pnpm outdated --compatible`<br><b>Check only outdated dev dependencies</b>`pnpm outdated [[-D|--dev]]`


title: TLDR
content:
<b>Start the daemon in the background</b>`colima start`<br><b>Create a configuration file and use it</b>`colima start --edit`<br><b>Start and setup containerd (install nerdctl to use containerd via nerdctl)</b>`colima start --runtime containerd`<br><b>Start with Kubernetes (kubectl is required)</b>`colima start --kubernetes`<br><b>Customize CPU count, RAM memory and disk space (in GiB)</b>`colima start --cpu [number] --memory [memory] --disk [storage_space]`<br><b>Use Docker via Colima (Docker is required)</b>`colima start`<br><b>List containers with their information and status</b>`colima list`<br><b>Show runtime status</b>`colima status`


title: TLDR
content:
<b>Get all projects</b>`doppler projects`<br><b>Get info for a project</b>`doppler projects get [name|project_id]`<br><b>Create a project</b>`doppler projects create [name]`<br><b>Update a project's name and description</b>`doppler projects update [name|project_id] --name "[new_name]" --description "[new_description]"`<br><b>Delete a project</b>`doppler projects delete [name|project_id]`


title: TLDR
content:
<b>List IAM grantable roles for a resource</b>`gcloud iam list-grantable-roles [resource]`<br><b>Create a custom role for a organization or project</b>`gcloud iam roles create [role_name] --[organization|project] [organization|project_id] --file [path/to/role.yaml]`<br><b>Create a service account for a project</b>`gcloud iam service-accounts create [name]`<br><b>Add an IAM policy binding to a service account</b>`gcloud iam service-accounts add-iam-policy-binding [service_account_email] --member [member] --role [role]`<br><b>Replace existing IAM policy binding</b>`gcloud iam service-accounts set-iam-policy [service_account_email] [policy_file]`<br><b>List a service account's keys</b>`gcloud iam service-accounts keys list --iam-account [service_account_email]`


title: TLDR
content:
<b>Initialize hut's configuration file (this will prompt for an OAuth2 access token, which is required to use hut)</b>`hut init`<br><b>List Git/Mercurial repositories</b>`hut [git|hg] list`<br><b>Create a public Git/Mercurial repository</b>`hut [git|hg] create [name]`<br><b>List jobs on <https://builds.sr.ht></b>`hut builds list`<br><b>Show the status of a job</b>`hut builds show [job_id]`<br><b>SSH into a job container</b>`hut ssh [job_id]`


title: TLDR
content:
<b>Produce an image containing thumbnails of the specified images in a grid</b>`pnmindex [path/to/input1.pnm path/to/input2.pnm ...] > [path/to/output.pnm]`<br><b>Specify the size of the (quadratic) thumbnails</b>`pnmindex [[-s|-size]] [50] [path/to/input1.pnm path/to/input2.pnm ...] > [path/to/output.pnm]`<br><b>Specify the number of thumbnails per row</b>`pnmindex [[-a|-across]] [10] [path/to/input1.pnm path/to/input2.pnm ...] > [path/to/output.pnm]`<br><b>Specify the maximum number of colors in the output</b>`pnmindex [[-c|-colors]] [512] [path/to/input1.pnm path/to/input2.pnm ...] > [path/to/output.pnm]`


title: TLDR
content:
<b>Convert the data from several warts files into one PCAP file</b>`sc_warts2pcap -o [path/to/output.pcap] [path/to/file1.warts path/to/file2.warts ...]`<br><b>Convert the data from a warts file into a PCAP file and sort the packets by timestamp</b>`sc_warts2pcap -s -o [path/to/output.pcap] [path/to/file.warts]`


title: TLDR
content:
<b>Execute the standard option (traceroute) to a destination</b>`scamper -i [192.0.2.1]`<br><b>Execute two actions (ping and traceroute) on two different targets</b>`scamper -I "[ping] [192.0.2.1]" -I "[trace] [192.0.2.2]"`<br><b>Ping several hosts with UDP, use a specific port number for the first ping and increase it for each subsequent ping</b>`scamper -c "[ping] -P [UDP-dport] -d [33434]" -i [192.0.2.1] -i [192.0.2.2]`<br><b>Use the Multipath Discovery Algorithm (MDA) to determine the presence of load-balanced paths to the destination and use ICMP echo packets to sample with a maximum of three attempts, write the result to a warts file</b>`scamper -O [warts] -o [path/to/output.warts] -I "[tracelb] -P [ICMP-echo] -q [3] [192.0.2.1]"`<br><b>Execute a Paris traceroute with ICMP to a destination and save the result in a compressed warts file</b>`scamper -O [warts.gz] -o [path/to/output.warts] -I "[trace] -P [icmp-paris] [2001:db8:dead:beaf::4]"`<br><b>Record all ICMP packets that arrive at a specific IP address and have a specific ICMP ID in a warts file</b>`scamper -O [warts] -o [path/to/output.warts] -I "sniff -S [2001:db8:dead:beef::6] icmp[icmpid] == [101]"`


title: TLDR
content:
<b>Add a package</b>`ya pack [[-a|--all]] [package]`<br><b>Upgrade all packages</b>`ya pack [[-u|--upgrade]]`<br><b>Subscribe to messages from all remote instances</b>`ya sub [kinds]`<br><b>Publish a message to the current instance with string body</b>`ya pub --str [string_message]`<br><b>Publish a message to the current instance with JSON body</b>`ya pub --json [json_message]`<br><b>Publish a message to the specified instance with string body</b>`ya pub-to --str [message] [receiver] [kind]`


title: TLDR
content:
<b>Enable an application over USB or NFC (--enable can be used multiple times to specify more applications)</b>`ykman config [usb|nfc] [[-e|--enable]] [otp|u2f|fido2|oath|piv|openpgp|hsmauth]`<br><b>Disable an application over USB or NFC (--disable can be used multiple times to specify more applications)</b>`ykman config [usb|nfc] [[-d|--disable]] [otp|u2f|fido2|oath|piv|openpgp|hsmauth]`<br><b>Disable all applications over NFC</b>`ykman config nfc [[-D|--disable-all]]`


title: TLDR
content:
<b>Search for valid credentials by trying out every combination in the specified lists of usernames and passwords</b>`nxc ftp [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt]`<br><b>Continue searching for valid credentials even after valid credentials have been found</b>`nxc ftp [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt] --continue-on-success`<br><b>Perform directory listings on each FTP server the supplied credentials are valid on</b>`nxc ftp [192.168.178.0/24] [[-u|--username]] [username] [[-p|--password]] [password] --ls`<br><b>Download the specified file from the target server</b>`nxc ftp [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --get [path/to/file]`<br><b>Upload the specified file to the target server at the specified location</b>`nxc ftp [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --put [path/to/local_file] [path/to/remote_location]`


title: TLDR
content:
<b>Launch in interactive mode</b>`qalc [[-i|--interactive]]`<br><b>Launch in terse mode (print the results only)</b>`qalc [[-t|--terse]]`<br><b>Update currency exchange rates</b>`qalc [[-e|--exrates]]`<br><b>Perform calculations non-interactively</b>`qalc [66+99|2^4|6 feet to cm|1 bitcoin to USD|20 kmph to mph|...]`<br><b>List all supported functions/prefixes/units/variables</b>`qalc --[list-functions|list-prefixes|list-units|list-variables]`<br><b>Execute commands from a file</b>`qalc [[-f|--file]] [path/to/file]`


title: TLDR
content:
<b>Clone the specified VM</b>`VBoxManage clonevm [vm_name]`<br><b>Specify a new name for the new VM</b>`VBoxManage clonevm [vm_name] --name [new_vm_name]`<br><b>Indicate the folder where the new VM configuration is saved</b>`VBoxManage clonevm [vm_name] --basefolder [path/to/directory]`<br><b>Register the cloned VM in VirtualBox</b>`VBoxManage clonevm [vm_name] --register`


title: TLDR
content:
<b>Check for the Streamlit installation</b>`streamlit hello`<br><b>Run a Streamlit application</b>`streamlit run [project_name]`<br><b>Display help</b>`streamlit --help`<br><b>Display version</b>`streamlit --version`


title: TLDR
content:
<b>Convert a PBM image to a MACP file</b>`pbmtomacp [path/to/image.pbm] > [path/to/output.macp]`<br><b>Do not compress the output file</b>`pbmtomacp [[-n|-norle]] [path/to/image.pbm] > [path/to/output.macp]`


title: TLDR
content:
<b>Decrypt a file using a specified key, key ring, and location</b>`gcloud kms decrypt --key=[key_name] --keyring=[keyring_name] --location=[global] --ciphertext-file=[path/to/ciphertext] --plaintext-file=[path/to/plaintext]`<br><b>Decrypt a file with additional authenticated data (AAD) and write the decrypted plaintext to stdout</b>`gcloud kms decrypt --key=[key_name] --keyring=[keyring_name] --location=[global] --additional-authenticated-data-file=[path/to/file.aad] --ciphertext-file=[path/to/ciphertext] --plaintext-file=-`


title: TLDR
content:
<b>Increase the saturation of each pixel by the specified percentage</b>`pambrighten [[-s|-saturation]] [value_percent] [path/to/image.pam] > [path/to/output.pam]`<br><b>Increase the value (from the HSV color space) of each pixel by the specified percentage</b>`pambrighten [[-va|-value]] [value_percent] [path/to/image.pam] > [path/to/output.pam]`


title: TLDR
content:
<b>Configure a bucket as a static website</b>`aws s3 website [s3://bucket-name] --index-document [index.html]`<br><b>Configure an error page for the website</b>`aws s3 website [s3://bucket-name] --index-document [index.html] --error-document [error.html]`


title: TLDR
content:
<b>Authorize Google Cloud access for the gcloud CLI with Google Cloud user credentials and set the current account as active</b>`gcloud auth login`<br><b>Authorize Google Cloud access similar to gcloud auth login but with service account credentials</b>`gcloud auth activate-service-account`<br><b>Manage Application Default Credentials (ADC) for Cloud Client Libraries</b>`gcloud auth application-default`<br><b>Display a list of Google Cloud accounts currently authenticated on your system</b>`gcloud auth list`<br><b>Display the current account's access token</b>`gcloud auth print-access-token`<br><b>Remove access credentials for an account</b>`gcloud auth revoke`


title: TLDR
content:
<b>Scale an image such that the result has the specified dimensions</b>`pamscale [[-wid|-width]] [width] [[-h|-height]] [height] [path/to/input.pam] > [path/to/output.pam]`<br><b>Scale an image such that the result has the specified width, keeping the aspect ratio</b>`pamscale [[-wid|-width]] [width] [path/to/input.pam] > [path/to/output.pam]`<br><b>Scale an image such that its width and height is changed by the specified factors</b>`pamscale [[-xsc|-xscale]] [x_factor] [[-ysc|-yscale]] [y_factor] [path/to/input.pam] > [path/to/output.pam]`<br><b>Scale an image such that it fits into the specified bounding box while preserving its aspect ratio</b>`pamscale -xyfit [bbox_width] [bbox_height] [path/to/input.pam] > [path/to/output.pam]`<br><b>Scale an image such that it completely fills the specified box while preserving its aspect ratio</b>`pamscale -xyfill [box_width] [box_height] [path/to/input.pam] > [path/to/output.pam]`


title: TLDR
content:
<b>Configure the snippet manager, e.g. to set the security token from QOwnNotes</b>`qc configure`<br><b>Search and print command snippets stored in your Commands.md note and all your notes tagged with commands</b>`qc search`<br><b>Execute a snippet and show the command before executing</b>`qc exec --command`<br><b>Execute the last snippet and show the command before executing</b>`qc exec --command --last`<br><b>Switch between note folders in QOwnNotes</b>`qc switch`


title: TLDR
content:
<b>[p]rint the whole configuration of the specified interface</b>`ifdata -p [eth0]`<br><b>Indicate the [e]xistence of the specified interface via the exit code</b>`ifdata -e [eth0]`<br><b>[p]rint the IPv4 [a]dress and the [n]etmask of the specified interface</b>`ifdata -pa -pn [eth0]`<br><b>[p]rint the [N]etwork adress, the [b]roadcast adress, and the [m]TU of the specified interface</b>`ifdata -pN -pb -pm [eth0]`<br><b>Display help</b>`ifdata`


title: TLDR
content:
<b>Start waybar with the default configuration and stylesheet</b>`waybar`<br><b>Use a different configuration file</b>`waybar [[-c|--config]] [path/to/config.jsonc]`<br><b>Use a different stylesheet file</b>`waybar [[-s|--style]] [path/to/stylesheet.css]`<br><b>Set the logging level</b>`waybar [[-l|--log-level]] [trace|debug|info|warning|error|critical|off]`


title: TLDR
content:
<b>Edit the contents of the specified directories</b>`vidir [path/to/directory1 path/to/directory2 ...]`<br><b>Display each action taken by the program</b>`vidir [[-v|--verbose]] [path/to/directory1 path/to/directory2 ...]`<br><b>Edit the contents of current directory</b>`vidir`<br><b>Use the specified text editor</b>`EDITOR=[vim] vidir [path/to/directory1 path/to/directory2 ...]`<br><b>Read a list of files to edit from stdin</b>`[command] | vidir -`


title: TLDR
content:
<b>Generate a convolution kernel</b>`pgmkernel [width] [height] > [path/to/output.pgm]`<br><b>Generate a quadratic convolution kernel</b>`pgmkernel [size] > [path/to/output.pgm]`<br><b>Specify the weight of the center in the generated kernel</b>`pgmkernel [[-w|-weight]] [value] [width] [height] > [path/to/output.pgm]`


title: TLDR
content:
<b>Compile a CUDA program</b>`nvcc [path/to/source.cu] [[-o|--output-file]] [path/to/executable]`<br><b>Generate debug information</b>`nvcc [path/to/source.cu] [[-o|--output-file]] [path/to/executable] [[-g|--debug]] [[-G|--device-debug]]`<br><b>Include libraries from a different path</b>`nvcc [path/to/source.cu] [[-o|--output-file]] [path/to/executable] [[-I|--include-path]] [path/to/includes] [[-L|--library-path]] [path/to/library] [[-l|--library]] [library_name]`<br><b>Specify the compute capability for a specific GPU architecture</b>`nvcc [path/to/source.cu] [[-o|--output-file]] [path/to/executable] [[-gencode|--generate-code]] arch=[arch_name],code=[gpu_code_name]`


title: TLDR
content:
<b>Tile images into a grid, automatically resizing images larger than the grid cell size</b>`magick montage [path/to/image1.jpg path/to/image2.jpg ...] [path/to/montage.jpg]`<br><b>Tile images into a grid, automatically calculating the grid cell size from the largest image</b>`magick montage [path/to/image1.jpg path/to/image2.jpg ...] -geometry [+0+0] [path/to/montage.jpg]`<br><b>Specify the grid cell size and resize images to fit it before tiling</b>`magick montage [path/to/image1.jpg path/to/image2.jpg ...] -geometry [640x480+0+0] [path/to/montage.jpg]`<br><b>Limit the number of rows and columns in the grid, causing input images to overflow into multiple output montages</b>`magick montage [path/to/image1.jpg path/to/image2.jpg ...] -geometry [+0+0] -tile [2x3] [montage_%d.jpg]`<br><b>Resize and crop images to fill their grid cells before tiling</b>`magick montage [path/to/image1.jpg path/to/image2.jpg ...] -geometry [+0+0] -resize [640x480^] -gravity [center] -crop [640x480+0+0] [path/to/montage.jpg]`


title: TLDR
content:
<b>Execute tests for a .NET project/solution in the current directory</b>`dotnet test`<br><b>Execute tests for a .NET project/solution in a specific location</b>`dotnet test [path/to/project_or_solution]`<br><b>Execute tests matching the given filter expression</b>`dotnet test --filter [Name~TestMethod1]`


title: TLDR
content:
<b>View available components for installation</b>`gcloud components list`<br><b>Install one or more components (installs any dependencies as well)</b>`gcloud components install [component_id1 component_id2 ...]`<br><b>Check the current version of Google Cloud CLI</b>`gcloud version`<br><b>Update Google Cloud CLI to the latest version</b>`gcloud components update`


title: TLDR
content:
<b>Connect to server on a specific IP address via default port (12865)</b>`netperf [address]`<br><b>Specify [p]ort</b>`netperf [address] -p [port]`<br><b>Specify the sampling [l]ength in seconds (default is 10)</b>`netperf [address] -l [seconds]`<br><b>Force IPv[4] or IPv[6]</b>`netperf [address] -[4|6]`


title: TLDR
content:
<b>Slice a Netpbm image such that the resulting tiles have the specified height and width</b>`pamdice [[-o|-outstem]] [path/to/filename_stem] [[-he|-height]] [value] [[-w|-width]] [value] [path/to/input.ppm]`<br><b>Make the produced pieces overlap by the specified amount horizontally and vertically</b>`pamdice [[-o|-outstem]] [path/to/filename_stem] [[-he|-height]] [value] [[-w|-width]] [value] [[-ho|-hoverlap]] [value] [[-vo|-voverlap]] [value] [path/to/input.ppm]`


title: TLDR
content:
<b>Create a new application project in a new directory</b>`quarkus create app [project_name]`<br><b>Run the current project in live coding mode</b>`quarkus dev`<br><b>Run the application</b>`quarkus run`<br><b>Run the current project in continuous testing mode</b>`quarkus test`<br><b>Add one or more extensions to the current project</b>`quarkus extension add [extension_name1 extension_name2 ...]`<br><b>Build a container image using Docker</b>`quarkus image build docker`<br><b>Deploy the application to Kubernetes</b>`quarkus deploy kubernetes`<br><b>Update project</b>`quarkus update`


title: TLDR
content:
<b>Setup Doppler CLI in the current directory</b>`doppler setup`<br><b>Setup Doppler project and configuration in current directory</b>`doppler setup`<br><b>Run a command with secrets injected into the environment</b>`doppler run --command [command]`<br><b>View your project list</b>`doppler projects`<br><b>View your secrets for current project</b>`doppler secrets`<br><b>Open Doppler dashboard in browser</b>`doppler open`


title: TLDR
content:
<b>Clean up unreferenced data from the repository</b>`dolt gc`<br><b>Initiate a faster but less thorough garbage collection process</b>`dolt gc [[-s|--shallow]]`


title: TLDR
content:
<b>Perform antialiasing on a PNM image, taking black pixels as background and white pixels as foreground</b>`pnmalias [path/to/input.pnm] > [path/to/output.ppm]`<br><b>Explicitly specify the background and foreground color</b>`pnmalias -bcolor [background_color] -fcolor [foreground_color] [path/to/input.pnm] > [path/to/output.ppm]`<br><b>Apply altialiasing to foreground pixels only</b>`pnmalias [[-fo|-fonly]] [path/to/input.pnm] > [path/to/output.ppm]`<br><b>Apply antialiasing to all surrounding pixels of background pixels</b>`pnmalias [[-ba|-balias]] [path/to/input.pnm] > [path/to/output.ppm]`


title: TLDR
content:
<b>List an archive file's contents</b>`lsar [path/to/archive]`<br><b>List a password protected archive file's contents</b>`lsar [path/to/archive] [[-p|--password]] [password]`<br><b>Print all available information about each file in the archive (it's very long)</b>`lsar [[-L|--verylong]] [path/to/archive]`<br><b>Test the integrity of the files in the archive (if possible)</b>`lsar [[-t|--test]] [path/to/archive]`<br><b>List the archive file's contents in JSON format</b>`lsar [[-j|--json]] [path/to/archive]`<br><b>Display help</b>`lsar [[-h|--help]]`


title: TLDR
content:
<b>Define a property (like compute/zone) for the current configuration</b>`gcloud config set [property] [value]`<br><b>Fetch the value of a gcloud property</b>`gcloud config get [property]`<br><b>Display all the properties for the current configuration</b>`gcloud config list`<br><b>Create a new configuration with a given name</b>`gcloud config configurations create [configuration_name]`<br><b>Display a list of all available configurations</b>`gcloud config configurations list`<br><b>Switch to an existing configuration with a given name</b>`gcloud config configurations activate [configuration_name]`


title: TLDR
content:
<b>Scan a directory containing IaC (Terraform, Cloudformation, ARM, Ansible, Bicep, Dockerfile, etc)</b>`checkov --directory [path/to/directory]`<br><b>Scan an IaC file, omitting code blocks in the output</b>`checkov --compact --file [path/to/file]`<br><b>List all checks for all IaC types</b>`checkov --list`


title: TLDR
content:
<b>Directly run your command</b>`ntfyme exec [[-c|--cmd]] [command]`<br><b>Pipe your command and run</b>`echo [command] | ntfyme exec`<br><b>Run multiple commands by enclosing them in quotes</b>`echo "[command1; command2; command3]" | ntfyme exec`<br><b>Track and terminate the process after prolonged suspension</b>`ntfyme exec [[-t|--track-process]] [[-c|--cmd]] [command]`<br><b>Setup the tool configurations interactively</b>`ntfyme setup`<br><b>Encrypt your password</b>`ntfyme enc`<br><b>See the log history</b>`ntfyme log`<br><b>Open and edit the configuration file</b>`ntfyme config`


title: TLDR
content:
<b>Scale an image such that the result has the specified dimensions</b>`pnmscalefixed [[-w|-width]] [width] [[-h|-height]] [height] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Scale an image such that the result has the specified width, keeping the aspect ratio</b>`pnmscalefixed [[-w|-width]] [width] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Scale an image such that its width and height is changed by the specified factors</b>`pnmscalefixed [[-xsc|-xscale]] [x_factor] [[-ysc|-yscale]] [y_factor] [path/to/input.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Enlarge a PBM image by the specified factor with edge smoothing</b>`pbmpscale [n] [path/to/image.pbm] > [path/to/file.pbm]`


title: TLDR
content:
<b>Convert a Netpbm image to the FITS format</b>`pamtofits [path/to/image.pam] > [path/to/output.fits]`


title: TLDR
content:
<b>Convert a FITS file to a PNM image</b>`fitstopnm [path/to/file.fits] > [path/to/output.pnm]`<br><b>Convert the image on the specified position of the third axis in the FITS file</b>`fitstopnm [[-i|-image]] [z_position] [path/to/file.fits] > [path/to/output.pnm]`


title: TLDR
content:
<b>Retrieve information about a backup</b>`gcloud sql backups describe [backup_id] --instance=[instance_id]`


title: TLDR
content:
<b>Spray the specified password against a list of usernames on the specified target</b>`nxc ssh [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [password]`<br><b>Search for valid credentials by trying out every combination in the specified lists of usernames and passwords</b>`nxc ssh [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt]`<br><b>Use the specified private key for authentication, using the supplied password as the key's passphrase</b>`nxc ssh [192.186.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [password] --key-file [path/to/id_rsa]`<br><b>Try a combination of username and password on a number of targets</b>`nxc ssh [192.168.178.0/24] [[-u|--username]] [username] [[-p|--password]] [password]`<br><b>Check for sudo privileges on a successful login</b>`nxc ssh [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [path/to/passwords.txt] --sudo-check`


title: TLDR
content:
<b>Convert a PBM image to a ESC/P2 printer file</b>`pbmtoescp2 [path/to/image.pbm] > [path/to/output.escp2]`<br><b>Specify the compression of the output</b>`pbmtoescp2 [[-c|-compression]] [0|1] [path/to/image.pbm] > [path/to/output.escp2]`<br><b>Specify the horizontal and vertical resolution of the output in dots per inch</b>`pbmtoescp2 [[-re|-resolution]] [180|360|720] [path/to/image.pbm] > [path/to/output.escp2]`<br><b>Place a formfeed command at the end of the output</b>`pbmtoescp2 [[-f|-formfeed]] [path/to/image.pbm] > [path/to/output.escp2]`


title: TLDR
content:
<b>Apply changes from the patch file to the original file</b>`wiggle [path/to/my_patch.patch]`<br><b>Apply changes to the output file</b>`wiggle [path/to/my_patch.patch] [[-o|--output]] [path/to/output_file.txt]`<br><b>Take any changes in file.rej that could not have been applied and merge them into a file</b>`wiggle [[-r|--replace]] [path/to/file] [path/to/file.rej]`<br><b>Extract one branch of a patch or merge file</b>`wiggle [[-x|--extract]] [path/to/my_patch.patch]`<br><b>Apply a patch and save the compared words to the output file</b>`wiggle [[-w|--words]] [path/to/my_word_patch.patch] [[-o|--output]] [path/to/word_patched_code.c]`<br><b>Display help about the merge function</b>`wiggle [[-m|--merge]] [[-h|--help]]`


title: TLDR
content:
<b>Convert a PBM image to an Andrew Toolkit raster object</b>`pbmtoatk [path/to/image.pbm] > [path/to/output.atk]`


title: TLDR
content:
<b>List all targets</b>`pants list ::`<br><b>Run all tests</b>`pants test ::`<br><b>Fix, format, and lint only uncommitted files</b>`pants --changed-since=HEAD fix fmt lint`<br><b>Typecheck only uncommitted files and their dependents</b>`pants --changed-since=HEAD --changed-dependents=transitive check`<br><b>Create a distributable package for the specified target</b>`pants package [path/to/directory:target-name]`<br><b>Auto-generate BUILD file targets for new source files</b>`pants tailor ::`<br><b>Display help</b>`pants help`


title: TLDR
content:
<b>Create a mask bitmap separating background from foreground</b>`pbmmask [path/to/image.pbm] > [path/to/output.pbm]`<br><b>Expand the generated mask by one pixel</b>`pbmmask [[-r|-expand]] [path/to/image.pbm] > [path/to/output.pbm]`


title: TLDR
content:
<b>Fix a Netpbm file that is missing its last part</b>`pamfix [[-t|-truncate]] [path/to/corrupted.ext] > [path/to/output.ext]`<br><b>Fix a Netpbm file where pixel values exceed the image's maxval by lowering the offending pixels' values</b>`pamfix [[-cl|-clip]] [path/to/corrupted.ext] > [path/to/output.ext]`<br><b>Fix a Netpbm file where pixel values exceed the image's maxval by increasing it</b>`pamfix [[-ch|-changemaxval]] [path/to/corrupted.pam|pbm|pgm|ppm] > [path/to/output.pam|pbm|pgm|ppm]`


title: TLDR
content:
<b>List Compute Engine zones</b>`gcloud compute zones list`<br><b>Create a VM instance</b>`gcloud compute instances create [instance_name]`<br><b>Display a VM instance's details</b>`gcloud compute instances describe [instance_name]`<br><b>List all VM instances in a project</b>`gcloud compute instances list`<br><b>Create a snapshot of a persistent disk</b>`gcloud compute disks snapshot [disk_name] --snapshot-names [snapshot_name]`<br><b>Display a snapshot's details</b>`gcloud compute snapshots describe [snapshot_name]`<br><b>Delete a snapshot</b>`gcloud compute snapshots delete [snapshot_name]`<br><b>Connect to a VM instance using SSH</b>`gcloud compute ssh [instance_name]`


title: TLDR
content:
<b>List all VirtualBox virtual machines</b>`VBoxManage list vms`<br><b>Show DHCP servers available on the host system</b>`VBoxManage list dhcpservers`<br><b>Show Oracle VM VirtualBox extension packs currently installed</b>`VBoxManage list extpacks`<br><b>Show all virtual machine groups</b>`VBoxManage list groups`<br><b>Show virtual disk settings that are currently in use by VirtualBox</b>`VBoxManage list hdds`<br><b>Show host-only network interfaces available on host system</b>`VBoxManage list hostonlyifs`<br><b>Show the list of currently running virtual machines</b>`VBoxManage list runningvms`<br><b>Show host system information</b>`VBoxManage list hostinfo`


title: TLDR
content:
<b>Save all records (in a separate file) up to the last intact one</b>`sc_wartsfix [path/to/file1.warts path/to/file2.warts ...]`


title: TLDR
content:
<b>Query the A record of a (sub)domain and show [re]sponse received</b>`echo [example.com] | dnsx -a [[-re|-resp]]`<br><b>Query all the DNS records (A, AAAA, CNAME, NS, TXT, SRV, PTR, MX, SOA, AXFR, CAA)</b>`dnsx <<< [example.com] -recon [[-re|-resp]]`<br><b>Query a specific type of DNS record</b>`echo [example.com] | dnsx [[-re|-resp]] -[a|aaaa|cname|ns|txt|srv|ptr|mx|soa|any|axfr|caa]`<br><b>Output response only (do not show the queried domain or subdomain)</b>`echo [example.com] | dnsx [[-ro|-resp-only]]`<br><b>Display raw response of a query, specifying resolvers to use and retry attempts for failures</b>`echo [example.com] | dnsx -[debug|raw] [[-r|-resolver]] [1.1.1.1,8.8.8.8,...] -retry [number]`<br><b>Brute force DNS records using a placeholder</b>`dnsx [[-d|-domain]] [FUZZ.example.com] [[-w|-wordlist]] [path/to/wordlist.txt] [[-re|-resp]]`<br><b>Brute force DNS records from a list of domains and wordlists, appending output to a file with no color codes</b>`dnsx [[-d|-domain]] [path/to/domain.txt] [[-w|-wordlist]] [path/to/wordlist.txt] [[-re|-resp]] [[-o|-output]] [path/to/output.txt] [[-nc|-no-color]]`<br><b>Extract CNAME records for the given list of subdomains, with rate limiting DNS queries per second</b>`subfinder -silent [[-d|-domain]] [example.com] | dnsx -cname [[-re|-resp]] [[-rl|-rate-limit]] [number]`


title: TLDR
content:
<b>Scan a Git repository for verified secrets</b>`trufflehog git [https://github.com/trufflesecurity/test_keys] --only-verified`<br><b>Scan a GitHub organization for verified secrets</b>`trufflehog github --org [trufflesecurity] --only-verified`<br><b>Scan a GitHub repository for verified keys and get JSON output</b>`trufflehog git [https://github.com/trufflesecurity/test_keys] --only-verified --json`<br><b>Scan a GitHub repository along with its Issues and Pull Requests</b>`trufflehog github --repo [https://github.com/trufflesecurity/test_keys] --issue-comments --pr-comments`<br><b>Scan an S3 bucket for verified keys</b>`trufflehog s3 --bucket [bucket name] --only-verified`<br><b>Scan S3 buckets using IAM Roles</b>`trufflehog s3 --role-arn [iam-role-arn]`<br><b>Scan individual files or directories</b>`trufflehog filesystem [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Scan a Docker image for verified secrets</b>`trufflehog docker --image [trufflesecurity/secrets] --only-verified`


title: TLDR
content:
<b>Convert a Sun icon into a Netpbm image</b>`sunicontopnm [path/to/input.ico] > [path/to/output.pbm]`


title: TLDR
content:
<b>Unregister an existing VM</b>`VBoxManage unregistervm [uuid|vm_name]`<br><b>Delete hard disk image files, all saved state files, VM logs, and XML VM machine files</b>`VBoxManage unregistervm [uuid|vm_name] --delete`<br><b>Delete all files from the VM</b>`VBoxManage unregistervm [uuid|vm_name] --delete-all`


title: TLDR
content:
<b>Recognize characters in the [i]nput image and [o]utput it in the given file. Put the database ([p]) in path/to/db_directory (verify that the folder exists or DB usage will silently be skipped). [m]ode 130 means create + use + extend database</b>`gocr -m 130 -p [path/to/db_directory] -i [path/to/input_image.png] -o [path/to/output_file.txt]`<br><b>Recognize characters and assume all [C]haracters are numbers</b>`gocr -m 130 -p [path/to/db_directory] -i [path/to/input_image.png] -o [path/to/output_file.txt] -C "[0..9]"`<br><b>Recognize characters with a cert[a]inty of 100% (characters have a higher chance to be treated as unknown)</b>`gocr -m 130 -p [path/to/db_directory] -i [path/to/input_image.png] -o [path/to/output_file.txt] -a 100`


title: TLDR
content:
<b>[c]reate a backup archive of one or more files or directories, specifying the cryptographic key and the cache directory</b>`tarsnap -c --keyfile [path/to/key_file] --cachedir [path/to/cache_directory] -f [archive_name] [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Display how much data would be uploaded</b>`tarsnap -c --dry-run --print-stats --keyfile [path/to/key_file] --cachedir [path/to/cache_directory] -f [archive_name] [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>List stored archives</b>`tarsnap --list-archives --keyfile [path/to/key_file]`<br><b>[d]elete a specific archive</b>`tarsnap -d --keyfile [path/to/key_file] --cachedir [path/to/cache_directory] -f [archive_name]`<br><b>Lis[t] the contents of a specific archive in [v]erbose mode</b>`tarsnap -tv --keyfile [path/to/key_file] -f [archive_name]`<br><b>Restore one or more files or directories from a specific archive</b>`tarsnap -x --keyfile [path/to/key_file] -f [archive_name] [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Copy an archive</b>`tarsnap -c --keyfile [path/to/key_file] -f [new_archive_name] @@[source_archive_name]`


title: TLDR
content:
<b>Extract textural features from a PGM image</b>`pgmtexture [path/to/image.pgm] > [path/to/output.pgm]`<br><b>Specify the distance parameter for the feature extraction algorithm</b>`pgmtexture -d [distance] [path/to/image.pgm] > [path/to/output.pgm]`


title: TLDR
content:
<b>Create a new project</b>`gcloud projects create [project_id|project_number]`<br><b>List all active projects</b>`gcloud projects list`<br><b>Display metadata for a project</b>`gcloud projects describe [project_id]`<br><b>Delete a project</b>`gcloud projects delete [project_id|project_number]`<br><b>Add an IAM policy binding to a specified project</b>`gcloud projects add-iam-policy-binding [project_id] --member [principal] --role [role]`


title: TLDR
content:
<b>List all available Python installations</b>`uv python list`<br><b>Install a Python version</b>`uv python install [version]`<br><b>Uninstall a Python version</b>`uv python uninstall [version]`<br><b>Search for a Python installation</b>`uv python find [version]`<br><b>Pin the current project to use a specific Python version</b>`uv python pin [version]`<br><b>Show the uv Python installation directory</b>`uv python dir`


title: TLDR
content:
<b>Generate a PGM image containing white noise</b>`pgmnoise [width] [height] > [path/to/output.pgm]`<br><b>Specify the seed for the pseudo-random number generator</b>`pgmnoise [width] [height] -randomseed [value] > [path/to/output.pgm]`


title: TLDR
content:
<b>Capture the entire X server screen into a PostScript file</b>`magick import -window root [path/to/output.ps]`<br><b>Capture contents of a remote X server screen into a PNG image</b>`magick import -window root -display [remote_host]:[screen].[display] [path/to/output.png]`<br><b>Capture a specific window given its ID as displayed by xwininfo into a JPEG image</b>`magick import -window [window_id] [path/to/output.jpg]`


title: TLDR
content:
<b>Output the source address of ICMP TTL expire messages in warts files one after the other</b>`sc_ttlexp [path/to/file1.warts path/to/file2.warts ...]`


title: TLDR
content:
<b>Check whether the specified files contain valid UTF-8</b>`isutf8 [path/to/file1 path/to/file2 ...]`<br><b>Print errors using multiple lines</b>`isutf8 [[-v|--verbose]] [path/to/file1 path/to/file2 ...]`<br><b>Do not print anything to stdout, indicate the result merely with the exit code</b>`isutf8 [[-q|--quiet]] [path/to/file1 path/to/file2 ...]`<br><b>Only print the names of the files containing invalid UTF-8</b>`isutf8 [[-l|--list]] [path/to/file1 path/to/file2 ...]`<br><b>Same as --list but inverted, i.e., only print the names of the files containing valid UTF-8</b>`isutf8 [[-i|--invert]] [path/to/file1 path/to/file2 ...]`


title: TLDR
content:
<b>Create a table</b>`aws dynamodb create-table --table-name [table_name] --attribute-definitions [AttributeName=S,AttributeType=S] --key-schema [AttributeName=S,KeyType=HASH] --provisioned-throughput [ReadCapacityUnits=5,WriteCapacityUnits=5]`<br><b>List all tables in the DynamoDB</b>`aws dynamodb list-tables`<br><b>Get details about a specific table</b>`aws dynamodb describe-table --table-name [table_name]`<br><b>Add an item to a table</b>`aws dynamodb put-item --table-name [table_name] --item '[{"AttributeName": {"S": "value"]]'`<br><b>Retrieve an item from a table</b>`aws dynamodb get-item --table-name [table_name] --key '[{"ID": {"N": "1"]]'`<br><b>Update an item in the table</b>`aws dynamodb update-item --table-name [table_name] --key '[{"ID": {"N": "1"]]' --update-expression "[SET Name = :n]" --expression-attribute-values '[{":n": {"S": "Jane"]]'`<br><b>Scan items in the table</b>`aws dynamodb scan --table-name [table_name]`<br><b>Delete an item from the table</b>`aws dynamodb delete-item --table-name [table_name] --key '[{"ID": {"N": "1"]]'`


title: TLDR
content:
<b>Temporarily stop the execution of a virtual machine</b>`VBoxManage controlvm [uuid|vm_name] pause`<br><b>Resume the execution of a paused virtual machine</b>`VBoxManage controlvm [uuid|vm_name] resume`<br><b>Perform a cold reset on the virtual machine</b>`VBoxManage controlvm [uuid|vm_name] reset`<br><b>Poweroff a virtual machine with the same effect as pulling the power cable of a computer</b>`VBoxManage controlvm [uuid|vm_name] poweroff`<br><b>Shutdown the virtual machine and save its current state</b>`VBoxManage controlvm [uuid|vm_name] savestate`<br><b>Send an ACPI (Advanced Configuration and Power Interface) shutdown signal to the virtual machine</b>`VBoxManage controlvm [uuid|vm_name] acpipowerbutton`<br><b>Send command to reboot itself to the guest OS</b>`VBoxManage controlvm [uuid|vm_name] reboot`<br><b>Shutdown down the virtual machine without saving its state</b>`VBoxManage controlvm [uuid|vm_name] shutdown`


title: TLDR
content:
<b>Format given files or directories in-place</b>`ruff format [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>Print which files would have been modified and return a non-zero exit code if there are files to reformat, and zero otherwise</b>`ruff format --check`<br><b>Print what changes would be made without modifying the files</b>`ruff format --diff`


title: TLDR
content:
<b>Smooth out a PNM image using a convolution matrix of size 3x3</b>`pnmsmooth [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Smooth out a PNM image using a convolution matrix of size width times height</b>`pnmsmooth [[-w|-width]] [width] [[-h|-height]] [height] [path/to/input.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Replace the colors in an image with those in the specified color palette</b>`pnmremap [[-ma|-mapfile]] [path/to/palette_file.ppm] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Use Floyd-Steinberg dithering for representing colors missing in the color palette</b>`pnmremap [[-ma|-mapfile]] [path/to/palette_file.ppm] [[-fs|-floyd]] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Use the first color in the palette for representing colors missing in the color palette</b>`pnmremap [[-ma|-mapfile]] [path/to/palette_file.ppm] [[-fi|-firstisdefault]] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Use the specified color for representing colors missing in the color palette</b>`pnmremap [[-ma|-mapfile]] [path/to/palette_file.ppm] [[-m|-missingcolor]] [color] [path/to/input.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Execute a shell command on each image in a Netpbm file</b>`pamexec [command] [path/to/image.pam]`<br><b>Stop processing if a command terminates with a nonzero exit status</b>`pamexec [command] [path/to/image.pam] [[-c|-check]]`


title: TLDR
content:
<b>Scan a remote repository</b>`gitleaks detect --repo-url [https://github.com/username/repository.git]`<br><b>Scan a local directory</b>`gitleaks detect --source [path/to/repository]`<br><b>Output scan results to a JSON file</b>`gitleaks detect --source [path/to/repository] --report [path/to/report.json]`<br><b>Use a custom rules file</b>`gitleaks detect --source [path/to/repository] --config-path [path/to/config.toml]`<br><b>Start scanning from a specific commit</b>`gitleaks detect --source [path/to/repository] --log-opts [--since=commit_id]`<br><b>Scan uncommitted changes before a commit</b>`gitleaks protect --staged`<br><b>Display verbose output indicating which parts were identified as leaks during the scan</b>`gitleaks protect --staged --verbose`


title: TLDR
content:
<b>List all logs in the current project</b>`gcloud logging logs list`<br><b>List all logs for a specific log bucket and location</b>`gcloud logging logs list --bucket=[bucket_id] --location=[location]`<br><b>List all logs for a specific view in a log bucket</b>`gcloud logging logs list --bucket=[bucket_id] --location=[location] --view=[view_id]`<br><b>List logs with a filter expression</b>`gcloud logging logs list --filter="[expression]"`<br><b>List a specified number of logs</b>`gcloud logging logs list --limit=[number]`<br><b>List logs sorted by a specific field in ascending or descending order (~ for descending)</b>`gcloud logging logs list --sort-by="[field_name]"`<br><b>List logs sorted by multiple fields</b>`gcloud logging logs list --sort-by="[field1],~[field2]"`<br><b>List logs with verbose output, showing additional details</b>`gcloud logging logs list --verbosity=debug`


title: TLDR
content:
<b>Register a machine with the Tarsnap server</b>`sudo tarsnap-keygen --keyfile [path/to/file.key] --user [user_email] --machine [machine_name]`<br><b>Encrypt the key file (a passphrase will be requested twice)</b>`sudo tarsnap-keygen --keyfile [path/to/file.key] --user [user_email] --machine [machine_name] --passphrased`


title: TLDR
content:
<b>Show the difference between traceroutes in two warts files</b>`sc_tracediff [path/to/file1.warts] [path/to/file2.warts]`<br><b>Show the difference between the traceroutes in two warts files, including those that have not changed</b>`sc_tracediff -a [path/to/file1.warts] [path/to/file2.warts]`<br><b>Show the difference between the traceroutes in two warts files and try to show DNS names and not IP addresses if possible</b>`sc_tracediff -n [path/to/file1.warts] [path/to/file2.warts]`


title: TLDR
content:
<b>Apply the specified binary function pixel-wise on the two specified images (which must be of the same size)</b>`pamarith -[add|subtract|multiply|divide|difference|minimum|maximum|...] [path/to/image1.pam|pbm|pgm|ppm] [path/to/image2.pam|pbm|pgm|ppm]`


title: TLDR
content:
<b>Show the summarized system topology in a graphical window (or print to console if no graphical display is available)</b>`lstopo`<br><b>Show the full system topology without summarizations</b>`lstopo --no-factorize`<br><b>Show the summarized system topology with only physical indices (i.e. as seen by the OS)</b>`lstopo [[-p|--physical]]`<br><b>Write the full system topology to a file in the specified format</b>`lstopo --no-factorize [[--of|--output-format]] [console|ascii|tex|fig|svg|pdf|ps|png|xml] [path/to/file]`<br><b>Output in monochrome or greyscale</b>`lstopo --palette [none|grey]`


title: TLDR
content:
<b>Set up an OpenAI API Key</b>`llm keys set openai`<br><b>Run a prompt</b>`llm "[Ten fun names for a pet pelican]"`<br><b>Run a system prompt against a file</b>`cat [path/to/file.py] | llm [[-s|--system]] "[Explain this code]"`<br><b>Install packages from PyPI into the same environment as LLM</b>`llm install [package1 package2 ...]`<br><b>Download and run a prompt against a model</b>`llm [[-m|--model]] [orca-mini-3b-gguf2-q4_0] "[What is the capital of France?]"`<br><b>Create a system prompt and save it with a template name</b>`llm [[-s|--system]] '[You are a sentient cheesecake]' --save [sentient_cheesecake]`<br><b>Have an interactive chat with a specific model using a specific template</b>`llm chat [[-m|--model]] [chatgpt] [[-t|--template]] [sentient_cheesecake]`


title: TLDR
content:
<b>Run a command</b>`doppler run --command [command]`<br><b>Run multiple commands</b>`doppler run --command [command1 && command2]`<br><b>Run a script</b>`doppler run [path/to/command.sh]`<br><b>Run command with specified project and config</b>`doppler run -p [project_name] -c [config_name] -- [command]`<br><b>Automatically restart process when secrets change</b>`doppler run --watch [command]`


title: TLDR
content:
<b>Convert PBM image to PGM by averaging the wxh-sized area surrounding each pixel</b>`pbmtopgm [w] [h] [path/to/image.pbm] > [path/to/output.pgm]`


title: TLDR
content:
<b>Produce an image consisting of the input's even-numbered rows</b>`pamdeinterlace [path/to/image.ppm] > [path/to/output.ppm]`<br><b>Produce an image consisting of the input's odd-numbered rows</b>`pamdeinterlace [[-takeo|-takeodd]] [path/to/image.ppm] > [path/to/output.ppm]`


title: TLDR
content:
<b>Convert a PBM image to an encapsulated PostScript style preview bitmap</b>`pbmtoepsi [path/to/image.pbm] > [path/to/output.bmp]`<br><b>Produce a quadratic output image with the specified resolution</b>`pbmtoepsi [[-d|-dpi]] [144] [path/to/image.pbm] > [path/to/output.bmp]`<br><b>Produce an output image with the specified horizontal and vertical resolution</b>`pbmtoepsi [[-d|-dpi]] [72x144] [path/to/image.pbm] > [path/to/output.bmp]`<br><b>Only create a boundary box</b>`pbmtoepsi [[-b|-bbonly]] [path/to/image.pbm] > [path/to/output.bmp]`


title: TLDR
content:
<b>Generate a test pattern for printing onto US standard paper</b>`pbmpage > [path/to/file.pbm]`<br><b>Generate a test pattern for printing onto A4 paper</b>`pbmpage -a4 > [path/to/file.pbm]`<br><b>Specify the pattern to use</b>`pbmpage [1|2|3] > [path/to/file.pbm]`


title: TLDR
content:
<b>Remove white borders on a PNM image</b>`pnmcrop [[-w|-white]] [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Remove borders of the specified color that are on the top and left side of the image</b>`pnmcrop -bg-color [color] [[-t|-top]] [[-l|-left]] [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Determine the color of the borders to be removed by the color of the pixel in the specified corner</b>`pnmcrop -bg-corner [topleft|topright|bottomleft|bottomright] [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Leave a border with a width of n pixels. Additionally, specify the behaviour if the image is entirely made out of background</b>`pnmcrop [[-m|-margin]] [n] [[-blan|-blank-image]] [pass|minimize|maxcrop] [path/to/image.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Create a private certificate authority</b>`aws acm-pca create-certificate-authority --certificate-authority-configuration [ca_config] --idempotency-token [token] --permanent-deletion-time-in-days [number]`<br><b>Describe a private certificate authority</b>`aws acm-pca describe-certificate-authority --certificate-authority-arn [ca_arn]`<br><b>List private certificate authorities</b>`aws acm-pca list-certificate-authorities`<br><b>Update a certificate authority</b>`aws acm-pca update-certificate-authority --certificate-authority-arn [ca_arn] --certificate-authority-configuration [ca_config] --status [status]`<br><b>Delete a private certificate authority</b>`aws acm-pca delete-certificate-authority --certificate-authority-arn [ca_arn]`<br><b>Issue a certificate</b>`aws acm-pca issue-certificate --certificate-authority-arn [ca_arn] --certificate-signing-request [cert_signing_request] --signing-algorithm [algorithm] --validity [validity]`<br><b>Revoke a certificate</b>`aws acm-pca revoke-certificate --certificate-authority-arn [ca_arn] --certificate-serial [serial] --reason [reason]`<br><b>Get certificate details</b>`aws acm-pca get-certificate --certificate-authority-arn [ca_arn] --certificate-arn [cert_arn]`


title: TLDR
content:
<b>Invert the colors or greyscale values in a PNM image</b>`pnminvert [path/to/input.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Show revenues and expenses (changes in Revenue and Expense accounts)</b>`hledger [[is|incomestatement]]`<br><b>Show revenues and expenses each month</b>`hledger [[is|incomestatement]] [[-M|--monthly]]`<br><b>Show monthly revenues/expenses/totals, largest first, summarised to 2 levels</b>`hledger [[is|incomestatement]] [[-MTAS|--monthly --row-total --average --sort-amount]] [[-2|--depth 2]]`<br><b>Same as above, and generate HTML output in is.html</b>`hledger [[is|incomestatement]] [[-MTAS|--monthly --row-total --average --sort-amount]] [[-2|--depth 2]] [[-o|--output-file]] is.html`


title: TLDR
content:
<b>Convert the specified PNG image to a Netpbm image</b>`pngtopam [path/to/image.png] > [path/to/output.pam]`<br><b>Create an output image that includes both the main image and transparency mask of the input image</b>`pngtopam -alphapam [path/to/image.png] > [path/to/output.pam]`<br><b>Replace transparent pixels by the specified color</b>`pngtopam [[-m|-mix]] [[-ba|-background]] [color] [path/to/image.png] > [path/to/output.pam]`<br><b>Write tEXt chunks found in the input image to the specified text file</b>`pngtopam [[-te|-text]] [path/to/file.txt] [path/to/image.png] > [path/to/output.pam]`


title: TLDR
content:
<b>Rotate a PNM image by some angle (measured in degrees, counter-clockwise)</b>`pnmrotate [angle] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Specify the background color exposed by rotating the input image</b>`pnmrotate [[-b|-background]] [color] [angle] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Disable anti-aliasing, improving performance but decreasing quality</b>`pnmrotate [[-n|-noantialias]] [angle] [path/to/input.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Create a parity archive with a set percentage level of redundancy</b>`par2 create -r[1..100] -- [path/to/file]`<br><b>Create a parity archive with a chosen number of volume files (in addition to the index file)</b>`par2 create -n[1..32768] -- [path/to/file]`<br><b>Verify a file with a parity archive</b>`par2 verify -- [path/to/file.par2]`<br><b>Repair a file with a parity archive</b>`par2 repair -- [path/to/file.par2]`


title: TLDR
content:
<b>Shear a PNM image by the specified angle</b>`pnmshear [angle] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Specify the color of the background in the sheared image</b>`pnmshear [[-b|-background]] [blue] [angle] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Do not perform anti-aliasing</b>`pnmshear [[-n|-noantialias]] [angle] [path/to/input.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Compress a file</b>`pbzip2 [path/to/file]`<br><b>Compress a file using the specified number of processors</b>`pbzip2 -p[4] [path/to/file]`<br><b>Compress in combination with tar (options can be passed to pbzip2)</b>`tar -cf [path/to/compressed_file].tar.bz2 [[-I|--use-compress-program]] "pbzip2 [-option1 -option2 ...]" [path/to/file]`<br><b>Decompress a file</b>`pbzip2 [[-d|--decompress]] [path/to/compressed_file.bz2]`<br><b>Display help</b>`pbzip2 [[-h|--help]]`


title: TLDR
content:
<b>Perform a simple DNS lookup</b>`doggo [example.com]`<br><b>Query MX records using a specific nameserver</b>`doggo MX [codeberg.org] @[1.1.1.2]`<br><b>Use DNS over HTTPS</b>`doggo [example.com] @[https://dns.quad9.net/dns-query]`<br><b>Output in the JSON format</b>`doggo [example.com] [[-J|--json]] | jq '[.responses[0].answers[].address]'`<br><b>Perform a reverse DNS lookup</b>`doggo [[-x|--reverse]] [8.8.4.4] --short`


title: TLDR
content:
<b>Run a SYN scan against default (top 100) ports of remote host</b>`sudo naabu -host [host]`<br><b>Display available network interfaces and public IP address of the local host</b>`naabu [[-il|-interface-list]]`<br><b>Scan all ports of the remote host (CONNECT scan without sudo)</b>`naabu [[-p|-port]] - -host [host]`<br><b>Scan the top 1000 ports of the remote host</b>`naabu [[-tp|-top-ports]] 1000 -host [host]`<br><b>Scan TCP ports 80, 443 and UDP port 53 of the remote host</b>`naabu [[-p|-port]] 80,443,u:53 -host [host]`<br><b>Show CDN type the remote host is using, if any</b>`naabu [[-p|-port]] 80,443 -cdn -host [host]`<br><b>Run nmap from naabu for additional functionalities (nmap must be installed)</b>`sudo naabu [[-v|-verbose]] -host [host] -nmap-cli 'nmap [-v -T5 -sC]'`


title: TLDR
content:
<b>Convert a PBM image to a MDA file</b>`pbmtomda [path/to/image.pbm] > [path/to/output.mda]`<br><b>Invert the colors in the input image</b>`pbmtomda -i [path/to/image.pbm] > [path/to/output.mda]`<br><b>Halve the input image's height</b>`pbmtomda -d [path/to/image.pbm] > [path/to/output.mda]`


title: TLDR
content:
<b>Convert a compressed FIASCO file to a PNM file or in the case of video streams multiple PNM files</b>`fiascotopnm [path/to/file.fiasco] [[-o|--output]] [output_file_basename]`<br><b>Use fast decompression, resulting in a slightly decreased quality of the output file(s)</b>`fiascotopnm [[-z|--fast]] [path/to/file.fiasco] [[-o|--output]] [output_file_basename]`<br><b>Load the options to be used from the specified configuration file</b>`fiascotopnm [[-f|--config]] [path/to/fiascorc] [path/to/file.fiasco] [[-o|--output]] [output_file_basename]`<br><b>Magnify the decompressed image(s) by a factor of 2^n</b>`fiascotopnm [[-m|--magnify]] [n] [path/to/file.fiasco] [[-o|--output]] [output_file_basename]`<br><b>Smooth the decompressed image by the specified amount</b>`fiascotopnm [[-s|--smoothing]] [n] [path/to/file.fiasco] [[-o|--output]] [output_file_basename]`


title: TLDR
content:
<b>Build the package in the current directory</b>`sbuild`<br><b>Build the given package</b>`sbuild [package]`<br><b>Build for a certain distribution</b>`sbuild --dist [distribution]`<br><b>Build using custom dependencies (if a directory is passed, all files ending with .deb are used)</b>`sbuild --extra-package [path/to/file_or_directory]`<br><b>Run a shell in case of build failure to further investigate</b>`sbuild --build-failed-commands=%SBUILD_SHELL`<br><b>Cross build for a certain architecture</b>`sbuild --host [architecture]`<br><b>Build for the given native architecture</b>`sbuild --arch [architecture]`


title: TLDR
content:
<b>Import a certificate</b>`aws acm import-certificate --certificate-arn [certificate_arn] --certificate [certificate] --private-key [private_key] --certificate-chain [certificate_chain]`<br><b>List certificates</b>`aws acm list-certificates`<br><b>Describe a certificate</b>`aws acm describe-certificate --certificate-arn [certificate_arn]`<br><b>Request a certificate</b>`aws acm request-certificate --domain-name [domain_name] --validation-method [validation_method]`<br><b>Delete a certificate</b>`aws acm delete-certificate --certificate-arn [certificate_arn]`<br><b>List certificate validations</b>`aws acm list-certificates --certificate-statuses [status]`<br><b>Get certificate details</b>`aws acm get-certificate --certificate-arn [certificate_arn]`<br><b>Update certificate options</b>`aws acm update-certificate-options --certificate-arn [certificate_arn] --options [options]`


title: TLDR
content:
<b>Run all request files from the current directory</b>`bru run`<br><b>Run a single request from the current directory by specifying its filename</b>`bru run [file.bru]`<br><b>Run requests using an environment</b>`bru run --env [environment_name]`<br><b>Run requests using an environment with a variable</b>`bru run --env [environment_name] --env-var [variable_name]=[variable_value]`<br><b>Run request and collect the results in an output file</b>`bru run --output [path/to/output.json]`<br><b>Display help</b>`bru run --help`


title: TLDR
content:
<b>Convert the specified Lisp Machine bitmap file into a PGM image</b>`lispmtopgm [path/to/input.lispm] > [path/to/output.pgm]`


title: TLDR
content:
<b>Access your account</b>`b2 authorize_account [key_id]`<br><b>List the existing buckets in your account</b>`b2 list_buckets`<br><b>Create a bucket, provide the bucket name, and access type (e.g. allPublic or allPrivate)</b>`b2 create_bucket [bucket_name] [allPublic|allPrivate]`<br><b>Upload a file. Choose a file, bucket, and a folder</b>`b2 upload_file [bucket_name] [path/to/file] [folder_name]`<br><b>Upload a source directory to a Backblaze B2 bucket destination</b>`b2 sync [path/to/source_file] [bucket_name]`<br><b>Copy a file from one bucket to another bucket</b>`b2 copy-file-by-id [path/to/source_file_id] [destination_bucket_name] [path/to/b2_file]`<br><b>Show the files in your bucket</b>`b2 ls [bucket_name]`<br><b>Remove a "folder" or a set of files matching a pattern</b>`b2 rm [path/to/folder|pattern]`


title: TLDR
content:
<b>Print a file to stdout (status and progress messages are sent to stderr)</b>`ippeveps [path/to/file]`<br><b>Print a file from stdin to stdout</b>`[wget --output-document - https://example.com/file] | ippeveps`


title: TLDR
content:
<b>Display a cuddly teddy bear on your X desktop</b>`xteddy`<br><b>Use the window manager to display the teddy bear and ignore the "quit" (<q>) command</b>`xteddy -wm -noquit`<br><b>Make the teddy bear stay on top of all other windows</b>`xteddy -float`<br><b>Display another image [F]ile instead of the cuddly teddy bear</b>`xteddy -F [path/to/image]`<br><b>Set the initial location of the teddy bear (width and height are ignored)</b>`xteddy -geometry [width]x[height]+[x]+[y]`


title: TLDR
content:
<b>Generate a shaded relief image with the input image interpreted as an elevation map</b>`pamshadedrelief < [path/to/input.pam] > [path/to/output.pam]`<br><b>Gamma adjust the image by the specified factor</b>`pamshadedrelief < [path/to/input.pam] [[-g|-gamma]] [factor] > [path/to/output.pam]`


title: TLDR
content:
<b>Visualize SIP packets from a PCAP file</b>`sngrep -I [path/to/file.pcap]`<br><b>Visualize only dialogs starting with INVITE packets with RTP packets from a PCAP file</b>`sngrep -crI [path/to/file.pcap]`<br><b>Real-time interface with only dialogs starting with INVITE packets with RTP packets</b>`sngrep -cr`<br><b>Only capture packets without interface to a file</b>`sngrep -NO [path/to/file.pcap]`


title: TLDR
content:
<b>Build and add package libcurl to the vcpkg environment</b>`vcpkg install curl`<br><b>Build and add zlib using the emscripten toolchain</b>`vcpkg install --triplet=wasm32-emscripten zlib`<br><b>Search for a package</b>`vcpkg search [pkg_name]`<br><b>Configure a CMake project to use vcpkg packages</b>`cmake -B build -DCMAKE_TOOLCHAIN_FILE=[path/to/vcpkg_install_directory]/scripts/buildsystems/vcpkg.cmake`


title: TLDR
content:
<b>Create an image of cratered terrain with the specified dimensions</b>`pamcrater [[-h|-height]] [height] [[-w|-width]] [width] > [path/to/output.pam]`<br><b>Create an image containing the specified number of craters</b>`pamcrater [[-n|-number]] [n_craters] > [path/to/output.pam]`


title: TLDR
content:
<b>Register an existing VM</b>`VBoxManage registervm [path/to/file.vbox]`<br><b>Supply the encryption password file of the VM</b>`VBoxManage registervm [path/to/file.vbox] --password [path/to/password_file]`<br><b>Prompt for the encryption password on the command-line</b>`VBoxManage registervm [path/to/file.vbox] --password -`


title: TLDR
content:
<b>Create a new Access Analyzer</b>`aws accessanalyzer create-analyzer --analyzer-name [analyzer_name] --type [type] --tags [tags]`<br><b>Delete an existing Access Analyzer</b>`aws accessanalyzer delete-analyzer --analyzer-arn [analyzer_arn]`<br><b>Get details of a specific Access Analyzer</b>`aws accessanalyzer get-analyzer --analyzer-arn [analyzer_arn]`<br><b>List all Access Analyzers</b>`aws accessanalyzer list-analyzers`<br><b>Update settings of an Access Analyzer</b>`aws accessanalyzer update-analyzer --analyzer-arn [analyzer_arn] --tags [new_tags]`<br><b>Create a new Access Analyzer archive rule</b>`aws accessanalyzer create-archive-rule --analyzer-arn [analyzer_arn] --rule-name [rule_name] --filter [filter]`<br><b>Delete an Access Analyzer archive rule</b>`aws accessanalyzer delete-archive-rule --analyzer-arn [analyzer_arn] --rule-name [rule_name]`<br><b>List all Access Analyzer archive rules</b>`aws accessanalyzer list-archive-rules --analyzer-arn [analyzer_arn]`


title: TLDR
content:
<b>Stack the planes of the specified PAM images in the specified order</b>`pamstack [path/to/image1.pam path/to/image2.pam ...] > [path/to/output.pam]`<br><b>Specify the tuple type name of the output PAM file (maximum of 255 characters)</b>`pamstack [[-t|-tupletype]] [tuple_type] [path/to/image1.pam path/to/image2.pam ...] > [path/to/output.pam]`


title: TLDR
content:
<b>Compare two images</b>`magick compare [path/to/image1.png] [path/to/image2.png] [path/to/diff.png]`<br><b>Compare two images using the specified metric</b>`magick compare -verbose -metric [PSNR] [path/to/image1.png] [path/to/image2.png] [path/to/diff.png]`


title: TLDR
content:
<b>Configure the client with a connection to a Tezos RPC node such as <https://rpc.ghostnet.teztnets.com></b>`octez-client -E [endpoint] config update`<br><b>Create an account and assign a local alias to it</b>`octez-client gen keys [alias]`<br><b>Get the balance of an account by alias or address</b>`octez-client get balance for [alias_or_address]`<br><b>Transfer tez to a different account</b>`octez-client transfer [5] from [alias|address] to [alias|address]`<br><b>Originate (deploy) a smart contract, assign it a local alias, and set its initial storage as a Michelson-encoded value</b>`octez-client originate contract [alias] transferring [0] from [alias|address] running [path/to/source_file.tz] --init "[initial_storage]" --burn_cap [1]`<br><b>Call a smart contract by its alias or address and pass a Michelson-encoded parameter</b>`octez-client transfer [0] from [alias|address] to [contract] --entrypoint "[entrypoint]" --arg "[parameter]" --burn-cap [1]`<br><b>Display help</b>`octez-client man`


title: TLDR
content:
<b>Convolve a PNM image with the specified convolution matrix</b>`pnmconvol -matrix=-1,3,-1 [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Convolve a PNM image with the convolution matrix in the specified files, one for each layer in the input image</b>`pnmconvol -matrixfile [path/to/matrix1,path/to/matrix2,...] [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Convolve a PNM image with the convolution matrix in the specified PNM file</b>`pnmconvol [path/to/matrix.pnm] [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Normalize the weights in the convolution matrix such that they add up to one</b>`pnmconvol -matrix=-1,3,-1 -normalize [path/to/image.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Type check a specific file</b>`mypy [path/to/file.py]`<br><b>Type check a specific module</b>`mypy [[-m|--module]] [module_name]`<br><b>Type check a specific package</b>`mypy [[-p|--package]] [package_name]`<br><b>Type check a string of code</b>`mypy [[-c|--command]] "[code]"`<br><b>Ignore missing imports</b>`mypy --ignore-missing-imports [path/to/file_or_directory]`<br><b>Show detailed error messages</b>`mypy [[--tb|--show-traceback]] [path/to/file_or_directory]`<br><b>Specify a custom configuration file</b>`mypy --config-file [path/to/config_file]`<br><b>Display help</b>`mypy [[-h|--help]]`


title: TLDR
content:
<b>Resize all JPEG images in the directory to 50% of their initial size</b>`magick mogrify -resize [50%] [*.jpg]`<br><b>Resize all images starting with DSC to 800x600</b>`magick mogrify -resize [800x600] [DSC*]`<br><b>Convert all PNGs in the directory to JPEG</b>`magick mogrify -format [jpg] [*.png]`<br><b>Halve the saturation of all image files in the current directory</b>`magick mogrify -modulate [100,50] [*]`<br><b>Double the brightness of all image files in the current directory</b>`magick mogrify -modulate [200] [*]`<br><b>Reduce file sizes of all GIF images in the current directory by reducing quality</b>`magick mogrify -layers 'optimize' -fuzz [7%] [*.gif]`<br><b>Display help</b>`magick mogrify -help`


title: TLDR
content:
<b>Convert a PBM image to a CMU window manager bitmap</b>`pbmtocmuwm [path/to/image.pbm] > [path/to/output.bmp]`


title: TLDR
content:
<b>Split a multi-image Netpbm file into multiple single-image Netpbm files</b>`pamsplit [path/to/image.pam]`<br><b>Specify a pattern for naming output files</b>`pamsplit [path/to/image.pam] [file_%d.pam]`


title: TLDR
content:
<b>Run a probe against a [u]RL, host, IP Address or subnet (CIDR notation) showing probe status</b>`httpx -probe [[-u|-target]] [url|host|ipaddress|subnet_with_cidr]`<br><b>Run a probe against multiple hosts showing status code with input from subfinder</b>`subfinder [[-d|-domain]] [example.com] | httpx [[-sc|-status-code]]`<br><b>Run a rate limited probe against a list of hosts from a file showing technology detected and response time</b>`httpx [[-rl|-rate-limit]] [150] [[-l|-list]] [path/to/newline_separated_hosts_list] [[-td|-tech-detect]] [[-rt|-response-time]]`<br><b>Run a probe against a [u]RL showing its webpage title, CDN/WAF in use, and page content hash</b>`httpx [[-u|-target]] [url] -title -cdn -hash [sha256]`<br><b>Run a probe against a list of hosts with custom defined ports and timeout after certain seconds</b>`httpx -probe [[-u|-target]] [host1,host2,...] [[-p|-ports]] http:[80,8000-8080],https:[443,8443] -timeout [10]`<br><b>Run a probe against a list of hosts filtering out codes of certain responses</b>`httpx [[-u|-target]] [host1,host2,...] [[-fc|-filter-code]] [400,401,404]`<br><b>Run a probe against a list of hosts matching codes of certain responses</b>`httpx [[-u|-target]] [host1,host2,...] [[-mc|-match-code]] [200,301,304]`<br><b>Run a probe against a URL saving screenshots of certain paths, with screenshot timeouts (assets are saved in ./output)</b>`httpx [[-u|-target]] [https://www.github.com] -path [/tldr-pages/tldr,/projectdiscovery/httpx] [[-ss|-screenshot]] [[-st|-screenshot-timeout]] [10]`


title: TLDR
content:
<b>Compare two files</b>`wdiff [path/to/file1] [path/to/file2]`<br><b>Ignore case when comparing</b>`wdiff [[-i|--ignore-case]] [path/to/file1] [path/to/file2]`<br><b>Display how many words are deleted, inserted or replaced</b>`wdiff [[-s|--statistics]] [path/to/file1] [path/to/file2]`


title: TLDR
content:
<b>Create a new VM with default settings</b>`VBoxManage createvm --name [vm_name]`<br><b>Set the base folder where the VM configuration will be stored</b>`VBoxManage createvm --name [vm_name] --basefolder [path/to/directory]`<br><b>Set the guest OS type (one of VBoxManage list ostypes) for the imported VM</b>`VBoxManage createvm --name [vm_name] --ostype [ostype]`<br><b>Register the created VM in VirtualBox</b>`VBoxManage createvm --name [vm_name] --register`<br><b>Set the VM to the specified groups</b>`VBoxManage createvm --name [vm_name] --group [group1,group2,...]`<br><b>Set the Universally Unique Identifier (UUID) of the VM</b>`VBoxManage createvm --name [vm_name] --uuid [uuid]`<br><b>Set the cipher to use for encryption</b>`VBoxManage createvm --name [vm_name] --cipher [AES-128|AES-256]`


title: TLDR
content:
<b>Copy a Netpbm file from stdin to stdout if and only if it valid; fail otherwise</b>`[command] | pamvalidate > [path/to/output.ext]`


title: TLDR
content:
<b>Move the specified virtual machine to the current location</b>`VBoxManage movevm [vm_name]`<br><b>Specify the new location (full or relative pathname) of the virtual machine</b>`VBoxManage movevm [vm_name] --folder [path/to/new_location]`


title: TLDR
content:
<b>Increase the contrast of a PNM image using histogram equalization</b>`pnmhisteq [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Only modify grey pixels</b>`pnmhisteq [[-g|-grey]] [path/to/input.pnm] > [path/to/output.pnm]`<br><b>Do not include black or white pixels in the histogram equalization</b>`pnmhisteq -no[black|white] [path/to/input.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Render a single line of text as a PBM image</b>`pbmtextps "[Hello World!]" > [path/to/output.pbm]`<br><b>Specify the font and font size</b>`pbmtextps -font [Times-Roman] -fontsize [30] "[Hello World!]" > [path/to/output.pbm]`<br><b>Specify the desired left and top margins</b>`pbmtextps [[-l|-leftmargin]] [70] [[-t|-topmargin]] [162] "[Hello World!]" > [path/to/output.pbm]`<br><b>Do not output the rendered text as a PBM image, but a PostScript program that would create this image</b>`pbmtextps [[-du|-dump-ps]] "[Hello World!]" > [path/to/output.ps]`


title: TLDR
content:
<b>Scan a specific IP address</b>`ipscan [192.168.0.1]`<br><b>Scan a range of IP addresses</b>`ipscan [192.168.0.1-254]`<br><b>Scan a range of IP addresses and save the results to a file</b>`ipscan [192.168.0.1-254] -o [path/to/output.txt]`<br><b>Scan IPs with a specific set of ports</b>`ipscan [192.168.0.1-254] -p [80,443,22]`<br><b>Scan with a delay between requests to avoid network congestion</b>`ipscan [192.168.0.1-254] -d [200]`<br><b>Display help</b>`ipscan --help`


title: TLDR
content:
<b>Check if a website is using any WAF</b>`wafw00f [https://www.example.com]`<br><b>Test for all detectable WAFs without stopping at the first match</b>`wafw00f [[-a|--findall]] [https://www.example.com]`<br><b>Pass requests through a proxy (such as BurpSuite)</b>`wafw00f [[-p|--proxy]] [http://localhost:8080] [https://www.example.com]`<br><b>Test for a specific WAF product (run wafw00f --list to get list of all supported WAFs)</b>`wafw00f [[-t|--test]] [Cloudflare|Cloudfront|Fastly|ZScaler|...] [https://www.example.com]`<br><b>Pass custom headers from a file</b>`wafw00f [[-H|--headers]] [path/to/headers.txt] [https://www.example.com]`<br><b>Read target inputs from a file and show verbose output (multiple v for more verbosity)</b>`wafw00f [[-i|--input]] [path/to/urls.txt] -[vv]`<br><b>List all WAFs that can be detected</b>`wafw00f [[-l|--list]]`


title: TLDR
content:
<b>Update the local index</b>`bpkg update`<br><b>Install a package globally</b>`bpkg install --global [package]`<br><b>Install a package in a subdirectory of the current directory</b>`bpkg install [package]`<br><b>Install a specific version of a package globally</b>`bpkg install [package]@[version] -g`<br><b>Show details about a specific package</b>`bpkg show [package]`<br><b>Run a command, optionally specifying its arguments</b>`bpkg run [command] [argument1 argument2 ...]`


title: TLDR
content:
<b>Read a page from the ArchWiki</b>`archwiki-rs read-page [page_title]`<br><b>Read a page from the ArchWiki in the specified format</b>`archwiki-rs read-page [page_title] --format [plain-text|markdown|html]`<br><b>Search the ArchWiki for pages containing the provided text</b>`archwiki-rs search "[search_text]" --text-search`<br><b>Download a local copy of all ArchWiki pages into a specific directory</b>`archwiki-rs local-wiki /[path/to/local_wiki] --format [plain-text|markdown|html]`


title: TLDR
content:
<b>Convert YUY2 bytes to PAM</b>`yuy2topam [[-w|-width]] [value] [[-h|-height]] [value] [path/to/file.yuy2] > [path/to/file.pam]`


title: TLDR
content:
<b>Clean up a PBM image by erasing isolated black and white pixels</b>`pbmclean [path/to/image.pbm] > [path/to/output.pbm]`<br><b>Clean up only black/white pixels</b>`pbmclean -[black|white] [path/to/image.pbm] > [path/to/output.pbm]`<br><b>Specify the minimum number of neighbouring pixels of the same color in order for a pixel not to be considered isolated</b>`pbmclean [[-m|-minneighbours]] [3] [path/to/image.pbm] > [path/to/output.pbm]`


title: TLDR
content:
<b>Scan a single URL for XSS vulnerabilities</b>`dalfox url [https://example.com]`<br><b>Scan a URL using a header for authentication</b>`dalfox url [https://example.com] [[-H|--header]] '[X-My-Header: 123]'`<br><b>Scan a list of URLs from a file</b>`dalfox file [path/to/file]`<br><b>Start Dalfox as a REST API server</b>`dalfox server --host [0.0.0.0] --port [8080]`


title: TLDR
content:
<b>View supplementary help material for non-command topics like accessibility, filtering, and formatting</b>`gcloud topic [topic_name]`<br><b>List all available topics</b>`gcloud topic --help`


title: TLDR
content:
<b>Run a command from a package, without installing it</b>`uv tool run [command]`<br><b>Install a Python package system-wide</b>`uv tool install [package]`<br><b>Upgrade an installed Python package</b>`uv tool upgrade [package]`<br><b>Uninstall a Python package</b>`uv tool uninstall [package]`<br><b>List Python packages installed system-wide</b>`uv tool list`


title: TLDR
content:
<b>Pipe two commands and return the exit status of the first command</b>`mispipe [command1] [command2]`


title: TLDR
content:
<b>Detect protection on a single URL, optionally use verbose output</b>`whatwaf [[-u|--url]] [https://example.com] --verbose`<br><b>Detect protection on a list of URLs in parallel from a file (one URL per line)</b>`whatwaf [[-t|--threads]] [number] [[-l|--list]] [path/to/file]`<br><b>Send requests through a proxy and use custom payload list from a file (one payload per line)</b>`whatwaf --proxy [http://127.0.0.1:8080] --pl [path/to/file] [[-u|--url]] [https://example.com]`<br><b>Send requests through Tor (Tor must be installed) using custom payloads (comma-separated)</b>`whatwaf --tor [[-p|--payloads]] '[payload1,payload2,...]' [[-u|--url]] [https://example.com]`<br><b>Use a random user-agent, set throttling and timeout, send a POST request, and force HTTPS connection</b>`whatwaf --ra --throttle [seconds] --timeout [seconds] [[-P|--post]] --force-ssl [[-u|--url]] [http://example.com]`<br><b>List all WAFs that can be detected</b>`whatwaf --wafs`<br><b>List all available tamper scripts</b>`whatwaf --tampers`


title: TLDR
content:
<b>Show all transactions in the default journal file</b>`hledger print`<br><b>Show transactions, with any implied amounts or costs made explicit</b>`hledger print [[-x|--explicit]] --infer-costs`<br><b>Show transactions from two specified files, with amounts converted to cost</b>`hledger print [[-f|--file]] [path/to/2023.journal] [[-f|--file]] [path/to/2024.journal] [[-B|--cost]]`<br><b>Show $ transactions in *food* but not *groceries* accounts this month</b>`hledger print cur:\\$ food not:groceries date:thismonth`<br><b>Show transactions of amount 50 or more, with whole foods in their description</b>`hledger print amt:'>50' desc:'whole foods'`<br><b>Show cleared transactions, with EUR amounts rounded and with decimal commas</b>`hledger print [[-C|--cleared]] --commodity '1000, EUR' --round hard`<br><b>Write transactions from foo.journal as a CSV file</b>`hledger print [[-f|--file]] [path/to/foo.journal] [[-o|--output-file]] [path/to/output_file.csv]`


title: TLDR
content:
<b>Scale up a PAM image by an integer factor</b>`pamstretch [n] [path/to/image.pam] > [path/to/output.pam]`<br><b>Scale up a PAM image by the specified factors in the horizontal and vertical directions</b>`pamstretch [[-x|-xscale]] [xn] [[-y|-yscale]] [yn] [path/to/image.pam] > [path/to/output.pam]`


title: TLDR
content:
<b>Install a package globally and add to path</b>`pixi global install [package1 package2 ...]`<br><b>Uninstall a package globally</b>`pixi global remove [package1 package2 ...]`<br><b>List all globally installed packages</b>`pixi global list`<br><b>Update a globally installed package</b>`pixi global upgrade [package]`<br><b>Update all globally installed packages</b>`pixi global upgrade-all`


title: TLDR
content:
<b>Overlay two images such with the overlay blocking parts of the underlay</b>`pamcomp [path/to/overlay.pam] [path/to/underlay.pam] > [path/to/output.pam]`<br><b>Set the horizontal alignment of the overlay</b>`pamcomp [[-ali|-align]] [left|center|right|beyondleft|beyondright] [[-x|-xoff]] [x_offset] [path/to/overlay.pam] [path/to/underlay.pam] > [path/to/output.pam]`<br><b>Set the vertical alignment of the overlay</b>`pamcomp [[-va|-valign]] [top|middle|bottom|above|below] [[-y|-yoff]] [y_offset] [path/to/overlay.pam] [path/to/underlay.pam] > [path/to/output.pam]`<br><b>Set the opacity of the overlay</b>`pamcomp [[-o|-opacity]] [0.7] [path/to/overlay.pam] [path/to/underlay.pam] > [path/to/output.pam]`


title: TLDR
content:
<b>Compute the difference, i.e. the peak signal-to-noise ratio (PSNR) between two images</b>`pnmpsnr [path/to/file1.pnm] [path/to/file2.pnm]`<br><b>Compare the color components rather than the luminance and chrominance components of the images</b>`pnmpsnr [path/to/file1.pnm] [path/to/file2.pnm] -rgb`<br><b>Run in comparison mode, i.e. only output nomatch or match depending on whether the computing PSNR exceeds n or not</b>`pnmpsnr [path/to/file1.pnm] [path/to/file2.pnm] -target [n]`<br><b>Run in comparison mode and compare the individual image components, i.e. Y, Cb, and Cr, to the corresponding thresholds</b>`pnmpsnr [path/to/file1.pnm] [path/to/file2.pnm] -target1 [threshold_Y] -target2 [threshold_Cb] -target3 [threshold_Cr]`<br><b>Run in comparison mode and compare the individual image components, i.e. red, green, and blue to the corresponding thresholds</b>`pnmpsnr [path/to/file1.pnm] [path/to/file2.pnm] -rgb -target1 [threshold_red] -target2 [threshold_green] -target3 [threshold_blue]`<br><b>Produce machine-readable output</b>`pnmpsnr [path/to/file1.pnm] [path/to/file2.pnm] -machine`


title: TLDR
content:
<b>Change the pa[t]tern of the pipes</b>`pipes.sh -t [0..9]`<br><b>Change the [c]olor of the pipes</b>`pipes.sh -c [0..7]`<br><b>Change the [f]ramerate of the pipes</b>`pipes.sh -f [20..100]`<br><b>Disable [C]olors</b>`pipes.sh -C`<br><b>Display [v]ersion</b>`pipes.sh -v`


title: TLDR
content:
<b>Convert a PBM image to an Epson printer graphic</b>`pbmtoepson [path/to/image.pbm] > [path/to/output.epson]`<br><b>Specify the printer protocol of the output</b>`pbmtoepson [[-pr|-protocol]] [escp9|escp] [path/to/image.pbm] > [path/to/output.epson]`<br><b>Specify the horizontal DPI of the output</b>`pbmtoepson [[-d|-dpi]] [60|72|80|90|120|144|240] [path/to/image.pbm] > [path/to/output.epson]`


title: TLDR
content:
<b>Start the service, using the default configuration file (assumed to be frps.ini in the current directory)</b>`frpc`<br><b>Start the service, using the newer TOML configuration file (frps.toml instead of frps.ini) in the current directory</b>`frpc [[-c|--config]] ./frps.toml`<br><b>Start the service, using a specific configuration file</b>`frpc [[-c|--config]] [path/to/file]`<br><b>Check if the configuration file is valid</b>`frpc verify [[-c|--config]] [path/to/file]`<br><b>Print autocompletion setup script for Bash, fish, PowerShell, or Zsh</b>`frpc completion [bash|fish|powershell|zsh]`<br><b>Display version</b>`frpc [[-v|--version]]`


title: TLDR
content:
<b>Create a mask of the background in a PAM image</b>`pambackground [path/to/image.pam] > [path/to/output.pam]`


title: TLDR
content:
<b>View documentation for pamcrater</b>`tldr pamcrater`<br><b>View documentation for pamshadedrelief</b>`tldr pamshadedrelief`<br><b>View documentation for pamtopnm</b>`tldr pamtopnm`


title: TLDR
content:
<b>Build changed packages in the specified pull request</b>`nixpkgs-review pr [pr_number|pr_url]`<br><b>Build changed packages and post a comment with a report (requires setting up a token in hub, gh, or the GITHUB_TOKEN environment variable)</b>`nixpkgs-review pr --post-result [pr_number|pr_url]`<br><b>Build changed packages and print a report</b>`nixpkgs-review pr --print-result [pr_number|pr_url]`<br><b>Build changed packages in a local commit</b>`nixpkgs-review rev [HEAD]`<br><b>Build changed packages that haven't been committed yet</b>`nixpkgs-review wip`<br><b>Build changed packages that have been staged</b>`nixpkgs-review wip --staged`


title: TLDR
content:
<b>Convert the specified PAM image to PNG</b>`pamtopng [path/to/image.pam] > [path/to/output.png]`<br><b>Mark the specified color as transparent in the output image</b>`pamtopng [[-t|-transparent]] [color] [path/to/image.pam] > [path/to/output.png]`<br><b>Include the text in the specified file as tEXt chunks in the output</b>`pamtopng [[-te|-text]] [path/to/file.txt] [path/to/image.pam] > [path/to/output.png]`<br><b>Cause the output file to be interlaced in Adam7 format</b>`pamtopng [[-in|-interlace]] [path/to/image.pam] > [path/to/output.png]`


title: TLDR
content:
<b>Display general information about the FIDO2 application</b>`ykman fido info`<br><b>Change the FIDO pin</b>`ykman fido access change-pin`<br><b>List resident credentials stored on the YubiKey</b>`ykman fido credentials list`<br><b>Delete a resident credential from the YubiKey</b>`ykman fido credentials delete [id]`<br><b>List fingerprints stored on the YubiKey (requires a key with a fingerprint sensor)</b>`ykman fido fingerprints list`<br><b>Add a new fingerprint to the YubiKey</b>`ykman fido fingerprints add [name]`<br><b>Delete a fingerprint from the YubiKey</b>`ykman fido fingerprints delete [name]`<br><b>Wipe all FIDO credentials (you have to do this after exceeding the number of PIN retry attempts)</b>`ykman fido reset`


title: TLDR
content:
<b>Start a local meshname DNS server</b>`meshnamed`<br><b>Convert an IPv6 address into a meshname</b>`meshnamed -getname [200:6fc8:9220:f400:5cc2:305a:4ac6:967e]`<br><b>Convert a meshname to an IPv6 address</b>`meshnamed -getip [aiag7sesed2aaxgcgbnevruwpy]`


title: TLDR
content:
<b>Open the current directory (or specify one as the first argument)</b>`nnn`<br><b>Start in [d]etailed mode</b>`nnn -d`<br><b>Show [H]idden files</b>`nnn -H`<br><b>Open an existing [b]ookmark (defined in the NNN_BMS environment variable)</b>`nnn -b [bookmark_name]`<br><b>Sort files on [a]pparent disk usage / [d]isk usage / [e]xtension / [r]everse / [s]ize / [t]ime / [v]ersion</b>`nnn -T [a|d|e|r|s|t|v]`<br><b>Open a file you have selected. Select the file then press <o>, and type a program to open the file in</b>`nnn -o`


title: TLDR
content:
<b>Create a new Amplify app</b>`aws amplify create-app --name [app_name] --description [description] --repository [repo_url] --platform [platform] --environment-variables [env_vars] --tags [tags]`<br><b>Delete an existing Amplify app</b>`aws amplify delete-app --app-id [app_id]`<br><b>Get details of a specific Amplify app</b>`aws amplify get-app --app-id [app_id]`<br><b>List all Amplify apps</b>`aws amplify list-apps`<br><b>Update settings of an Amplify app</b>`aws amplify update-app --app-id [app_id] --name [new_name] --description [new_description] --repository [new_repo_url] --environment-variables [new_env_vars] --tags [new_tags]`<br><b>Add a new backend environment to an Amplify app</b>`aws amplify create-backend-environment --app-id [app_id] --environment-name [env_name] --deployment-artifacts [artifacts]`<br><b>Remove a backend environment from an Amplify app</b>`aws amplify delete-backend-environment --app-id [app_id] --environment-name [env_name]`<br><b>List all backend environments in an Amplify app</b>`aws amplify list-backend-environments --app-id [app_id]`


title: TLDR
content:
<b>Scan an APK file for URIs, endpoints, and secrets</b>`apkleaks [[-f|--file]] [path/to/file.apk]`<br><b>Scan and save the output to a specific file</b>`apkleaks [[-f|--file]] [path/to/file.apk] [[-o|--output]] [path/to/output.txt]`<br><b>Pass jadx disassembler arguments</b>`apkleaks [[-f|--file]] [path/to/file.apk] [[-a|--args]] "[--threads-count 5 --deobf]"`


title: TLDR
content:
<b>Edit the configuration file</b>`pixi config edit`<br><b>List all configurations</b>`pixi config list`<br><b>Prepend a value to a list configuration key</b>`pixi config prepend [key] [value]`<br><b>Append a value to a list configuration key</b>`pixi config append [key] [value]`<br><b>Set a configuration key to a value</b>`pixi config set [key] [value]`<br><b>Unset a configuration key</b>`pixi config unset [key]`


title: TLDR
content:
<b>Generate a barcode and save it</b>`zint --data "[UTF-8 data]" --output [path/to/file]`<br><b>Specify a code type for generation</b>`zint --barcode [code_type] --data "[UTF-8 data]" --output [path/to/file]`<br><b>List all supported code types</b>`zint --types`


title: TLDR
content:
<b>Output the traceroute of warts files one after the other in an easy-to-parse format</b>`sc_analysis_dump [path/to/file1.warts path/to/file2.warts ...]`


title: TLDR
content:
<b>Display stdout and stderr of the specified command if and only if it produces a non-zero exit code or crashes</b>`chronic [command] [option1 option2 ...]`<br><b>Display stdout and stderr of the specified command if and only if it produces a non-empty stderr</b>`chronic -e [command] [option1 option2 ...]`<br><b>Enable [v]erbose mode</b>`chronic -v [command] [option1 option2 ...]`


title: TLDR
content:
<b>Convert a PNM image to a compressed FIASCO file</b>`pnmtofiasco [path/to/file.pnm] > [path/to/file.fiasco]`<br><b>Specify the input files through a pattern</b>`pnmtofiasco [[-i|--image-name]] "[img[01-09+1].pnm]" > [path/to/file.fiasco]`<br><b>Specify the compression quality</b>`pnmtofiasco [[-q|--quality]] [quality_level] [path/to/file.pnm] > [path/to/file.fiasco]`<br><b>Load the options to be used from the specified configuration file</b>`pnmtofiasco [[-f|--config]] [path/to/fiascorc] [path/to/file.pnm] > [path/to/file.fiasco]`


title: TLDR
content:
<b>Preview and deploy changes to a program and/or infrastructure</b>`pulumi up`<br><b>Automatically approve and perform the update after previewing it</b>`pulumi up [[-y|--yes]]`<br><b>Preview and deploy changes in a specific stack</b>`pulumi up [[-s|--stack]] [stack]`<br><b>Refresh the state of the stack's resources before updating</b>`pulumi up [[-r|--refresh]]`<br><b>Don't display stack outputs</b>`pulumi up --suppress-outputs`<br><b>Continue updating the resources, even if an error is encountered</b>`pulumi up --continue-on-error`<br><b>Display help</b>`pulumi up [[-h|--help]]`


title: TLDR
content:
<b>Create a PPM index image from a PCD overview file</b>`pcdovtoppm [path/to/file.pcd] > [path/to/output.ppm]`<br><b>Specify the maximum width of the output image and the maximum size of each of the images contained in the output</b>`pcdovtoppm [[-m|-maxwidth]] [width] [[-s|-size]] [size] [path/to/file.pcd] > [path/to/output.ppm]`<br><b>Specify the maximum number of images across and the maximum number of colours</b>`pcdovtoppm [[-a|-across]] [n_images] [[-c|-colors]] [n_colours] [path/to/file.pcd] > [path/to/output.ppm]`<br><b>Use the specified font for annotations and paint the background white</b>`pcdovtoppm [[-f|-font]] [font] [[-w|-white]] [path/to/file.pcd] > [path/to/output.ppm]`


title: TLDR
content:
<b>Start the HTTP server serving the current directory with verbose output (listen on all interfaces and port 8000 by default)</b>`simplehttpserver -verbose`<br><b>Start the HTTP server with basic authentication serving a specific path over port 80 on all interfaces</b>`sudo simplehttpserver -basic-auth [username]:[password] -path [/var/www/html] -listen 0.0.0.0:80`<br><b>Start the HTTP server, enabling HTTPS using a self-signed certificate with custom SAN on all interfaces</b>`sudo simplehttpserver -https -domain [*.selfsigned.com] -listen 0.0.0.0:443`<br><b>Start the HTTP server with custom response headers and upload capability</b>`simplehttpserver -upload -header '[X-Powered-By: Go]' -header '[Server: SimpleHTTPServer]'`<br><b>Start the HTTP server with customizable rules in YAML (see documentation for DSL)</b>`simplehttpserver -rules [rules.yaml]`


title: TLDR
content:
<b>List all attachments in a file with a specific text encoding</b>`pdfdetach list -enc [UTF-8] [path/to/input.pdf]`<br><b>Save specific embedded file by specifying its number</b>`pdfdetach -save [number] [path/to/input.pdf]`<br><b>Save specific embedded file by specifying its name</b>`pdfdetach -savefile [name] [path/to/input.pdf]`<br><b>Save the embedded file with a custom output filename</b>`pdfdetach -save [number] -o [path/to/output] [path/to/input.pdf]`<br><b>Save the attachment from a file secured by owner/user password</b>`pdfdetach -save [number] [-opw|-upw] [password] [path/to/input.pdf]`


title: TLDR
content:
<b>Create an XFS filesystem inside partition Y on device X</b>`sudo mkfs.xfs [/dev/sdXY]`<br><b>Create an XFS filesystem with a volume label</b>`sudo mkfs.xfs -L [volume_label] [/dev/sdXY]`


title: TLDR
content:
<b>List multicast addresses and how many programs are subscribed to them</b>`ip [[m|maddress]]`<br><b>List device specific addresses</b>`ip [[m|maddress]] [[s|show]] dev [ethX]`<br><b>Join a multicast group statically</b>`sudo ip [[m|maddress]] [[a|add]] [33:33:00:00:00:02] dev [ethX]`<br><b>Leave a static multicast group</b>`sudo ip [[m|maddress]] [[d|delete]] [33:33:00:00:00:02] dev [ethX]`<br><b>Display help</b>`ip [[m|maddress]] [[h|help]]`


title: TLDR
content:
<b>Open TUI</b>`cointop`<br><b>Clear the cache</b>`cointop clean`<br><b>Display current holdings legibly</b>`cointop holdings --human`<br><b>Check price of coin(s)</b>`cointop price --coins [coin_name1,coin_name2,...]`<br><b>Display version</b>`cointop version`


title: TLDR
content:
<b>Display the n largest packages on the system</b>`dpigs [[-n|--lines]] [n]`<br><b>Use the specified file instead of the default dpkg status file</b>`dpigs [[-s|--status]] [path/to/file]`<br><b>Display the largest source packages of binary packages installed on the system</b>`dpigs [[-S|--source]]`<br><b>Display package sizes in human-readable format</b>`dpigs [[-H|--human-readable]]`<br><b>Display help</b>`dpigs [[-h|--help]]`


title: TLDR
content:
<b>Simulate typing text</b>`wtype "[Hello World]"`<br><b>Type a specific key</b>`wtype -k [Left]`<br><b>Press a modifier</b>`wtype -M [shift|ctrl|...]`<br><b>Release a modifier</b>`wtype -m [ctrl]`<br><b>Wait between keystrokes (in milliseconds)</b>`wtype -d [500] -- "[text]"`<br><b>Read text from stdin</b>`echo "[text]" | wtype -`


title: TLDR
content:
<b>Clone the package state of the current system into a specified directory</b>`apt-clone clone [path/to/directory]`<br><b>Create a clone file (tar.gz) for backup purposes</b>`apt-clone clone --destination [path/to/backup.tar.gz]`<br><b>Restore the package state from a clone file</b>`apt-clone restore [path/to/backup.tar.gz]`<br><b>Show information about a clone file (e.g., the release, architecture)</b>`apt-clone info [path/to/backup.tar.gz]`<br><b>Check if the clone file can be restored on the current system</b>`apt-clone restore [path/to/backup.tar.gz] --destination [path/to/restore]`


title: TLDR
content:
<b>Execute a chat script directly from the command line</b>`chat '[expect_send_pairs]'`<br><b>Execute a chat script from a file</b>`chat -f '[path/to/chat_script]'`<br><b>Set a custom timeout (in seconds) for expecting a response</b>`chat -t [timeout_in_seconds] '[expect_send_pairs]'`<br><b>Enable verbose output to log the conversation to syslog</b>`chat -v '[expect_send_pairs]'`<br><b>Use a report file to log specific strings received during the conversation</b>`chat -r [path/to/report_file] '[expect_send_pairs]'`<br><b>Dial a phone number using a variable, substituting \T in the script</b>`chat -T '[phone_number]' '["ATDT\\T CONNECT"]'`<br><b>Include an abort condition if a specific string is received</b>`chat 'ABORT "[error_string]" [expect_send_pairs]'`


title: TLDR
content:
<b>List all physical volumes</b>`sudo pvscan`<br><b>Show the volume group that uses a specific physical volume</b>`sudo pvscan --cache --listvg [/dev/sdX]`<br><b>Show logical volumes that use a specific physical volume</b>`sudo pvscan --cache --listlvs [/dev/sdX]`<br><b>Display detailed information in JSON format</b>`sudo pvscan --reportformat json`


title: TLDR
content:
<b>Print a report for all devices</b>`sudo blockdev --report`<br><b>Print a report for a specific device</b>`sudo blockdev --report [/dev/sdXY]`<br><b>Get the size of a device in 512-byte sectors</b>`sudo blockdev --getsz [/dev/sdXY]`<br><b>Set read-only</b>`sudo blockdev --setro [/dev/sdXY]`<br><b>Set read-write</b>`sudo blockdev --setrw [/dev/sdXY]`<br><b>Flush buffers</b>`sudo blockdev --flushbufs [/dev/sdXY]`<br><b>Get the physical block size</b>`sudo blockdev --getpbsz [/dev/sdXY]`<br><b>Set the read-ahead value to 128 sectors</b>`sudo blockdev --setra 128 [/dev/sdXY]`


title: TLDR
content:
<b>Compile a timezone file from a directory</b>`zic -d [path/to/directory]`<br><b>Report warnings during compilation of a specific file</b>`zic -v [path/to/file].infile`


title: TLDR
content:
<b>Remove a volume group with confirmation</b>`sudo vgremove [volume_group]`<br><b>Forcefully remove a volume group without confirmation</b>`sudo vgremove [[-f|--force]] [volume_group]`<br><b>Set the debug level for detailed logging to level 2, (repeat --debug up to 6 times to increase the level)</b>`sudo vgremove [[-d|--debug]] [[-d|--debug]] [volume_group]`<br><b>Use a specific config setting to override defaults</b>`sudo vgremove --config '[global/locking_type=1]' [volume_group]`<br><b>Display help</b>`vgremove [[-h|--help]]`


title: TLDR
content:
<b>Test the default speakers with pink noise</b>`speaker-test`<br><b>Test the default speakers with a sine wave</b>`speaker-test [[-t|--test]] sine [[-f|--frequency]] [frequency]`<br><b>Test the default speakers with a predefined WAV file</b>`speaker-test [[-t|--test]] wav`<br><b>Test the default speakers with a WAV file</b>`speaker-test [[-t|--test]] wav [[-w|--wavfile]] [path/to/file]`


title: TLDR
content:
<b>Display the ACLs for a file or directory on a remote SMB share</b>`smbcacls //[server]/[share] [path/to/file_or_directory] --user [domain\\username]%[password]`<br><b>Set a new ACL for a file on a remote SMB share (replace "ACL:..." with a valid Windows ACL specification)</b>`smbcacls //[server]/[share] [path/to/file] --user [domain\\username]%[password] "ACL:[DACL]"`<br><b>Remove all existing ACL entries and set a new ACL</b>`smbcacls //[server]/[share] [path/to/file] --user [domain\\username]%[password] "RESET" "ACL:[DACL]"`<br><b>Specify an alternative workgroup (or domain) and have the program prompt for a password interactively</b>`smbcacls //[server]/[share] [path/to/file] --user [username] --workgroup [workgroup]`


title: TLDR
content:
<b>Set the system to run a graphical environment</b>`sudo init 5`<br><b>Set the system to run multiuser terminal</b>`sudo init 3`<br><b>Shut down the system</b>`init 0`<br><b>Reboot the system</b>`init 6`<br><b>Set the system to run on terminal with only root user allowed and no networking</b>`sudo init 1`


title: TLDR
content:
<b>Display a message</b>`dialog --msgbox "[Message]" [height] [width]`<br><b>Prompt the user for text</b>`dialog --inputbox "[Enter text:]" [8] [40] 2>[output.txt]`<br><b>Prompt the user for a yes/no question</b>`dialog --yesno "[Continue?]" [7] [40]`<br><b>Display help</b>`dialog`


title: TLDR
content:
<b>Print the current status</b>`sestatus`<br><b>Print the current states of all policy booleans</b>`sestatus -b`<br><b>Print the current file and process contexts</b>`sestatus -v`


title: TLDR
content:
<b>Remove a LVM label from a physical volume</b>`sudo pvremove [/dev/sdXY]`<br><b>Display detailed output during the operation</b>`sudo pvremove [[-v|--verbose]] [/dev/sdXY]`<br><b>Remove a LVM label without asking for confirmation</b>`sudo pvremove [[-y|--yes]] [/dev/sdXY]`<br><b>Forcefully remove a LVM label</b>`sudo pvremove [[-f|--force]] [/dev/sdXY]`<br><b>Display output in JSON format</b>`sudo pvremove --reportformat json [/dev/sdXY]`


title: TLDR
content:
<b>Back up the partition layout to a file</b>`sudo sfdisk [[-d|--dump]] [/dev/sdX] > [path/to/file.dump]`<br><b>Restore a partition layout</b>`sudo sfdisk < [path/to/file.dump] [/dev/sdX]`<br><b>Set the type of a partition</b>`sudo sfdisk --part-type [/dev/sdX] [partition_number] [swap]`<br><b>Delete a partition</b>`sudo sfdisk --delete [/dev/sdX] [partition_number]`<br><b>Display help</b>`sfdisk [[-h|--help]]`


title: TLDR
content:
<b>List all bridges and their interfaces</b>`bridge [[l|link]]`<br><b>Show port vlan information</b>`bridge [[v|vlan]]`<br><b>Assign a VLAN to a port</b>`sudo bridge [[v|vlan]] [[a|add]] dev [lanX] vid [vlan_id] pvid [tagged|untagged]`<br><b>Remove a VLAN from a port</b>`sudo bridge [[v|vlan]] [[d|delete]] dev [lanX] vid [vlan_id]`<br><b>Watch for changes in bridge interfaces</b>`bridge [[mo|monitor]]`<br><b>Display help</b>`bridge [[h|help]]`


title: TLDR
content:
<b>Launch an application</b>`gtk-launch [Application_name]`<br><b>Display help</b>`gtk-launch [[-h|--help]]`


title: TLDR
content:
<b>Open the interactive menu for timezone selection and print the selected timezone to stdout</b>`tzselect`<br><b>Ask for nearest timezone to coordinates in ISO 6709 notation</b>`tzselect -c [coordinates]`


title: TLDR
content:
<b>Add and deploy given extension</b>`unopkg add [path/to/extension]`<br><b>Remove extension</b>`unopkg remove [extensions_id]`<br><b>Display information about deployed extensions</b>`unopkg list`<br><b>Raise extensions dialog (GUI)</b>`unopkg gui`<br><b>Reinstall all deployed extensions</b>`unopkg reinstall`<br><b>Display help</b>`unopkg [[-h|--help]]`


title: TLDR
content:
<b>Save a screenshot with the default file name as a TIFF image</b>`idevicescreenshot`<br><b>Save a screenshot with a specific file name</b>`idevicescreenshot [path/to/file.tiff]`


title: TLDR
content:
<b>Bind a local TCP port and forward it to a port on the connected USB device</b>`iproxy [local_port]:[device_port]`<br><b>Bind multiple local TCP ports and forward them to the respective ports on the connected USB device</b>`iproxy [local_port1]:[device_port1] [local_port2]:[device_port2]`<br><b>Bind a local port and forward it to a specific device by UDID</b>`iproxy --udid [device_udid] [local_port]:[device_port]`<br><b>Bind a local port and forward it to a network-connected device with Wi-Fi sync enabled</b>`iproxy --network [local_port]:[device_port]`


title: TLDR
content:
<b>Start a new session</b>`byobu`<br><b>Configuration and help</b>`byobu-config`<br><b>Select tmux (default) or screen backend</b>`byobu-select-backend`<br><b>Enable automatic startup after login into text console</b>`byobu-enable`<br><b>Disable automatic startup after login into text console</b>`byobu-disable`<br><b>Detach from byobu</b>`<F6>`<br><b>Kill a window</b>`<Ctrl a><k>`


title: TLDR
content:
<b>Mount a disk image on the connected device</b>`ideviceimagemounter [path/to/image_file] [path/to/signature_file]`<br><b>List currently mounted disk images</b>`ideviceimagemounter --list`


title: TLDR
content:
<b>Output conversion</b>`msgunfmt [path/to/file.mo]`<br><b>Convert a .mo file to a .po file</b>`msgunfmt [path/to/file.mo] > [path/to/file.po]`


title: TLDR
content:
<b>Relay syslog messages from the connected device</b>`idevicesyslog`<br><b>Suppress kernel messages and print everything else</b>`idevicesyslog --no-kernel`


title: TLDR
content:
<b>Generate Portable Object files in system locale from messages.pot</b>`msginit`<br><b>Define locale to generate from a specific template</b>`msginit [[-l|--locale]] [locale] [[-i|--input]] [path/to/messages.pot]`<br><b>Display help</b>`msginit [[-h|--help]]`


title: TLDR
content:
<b>Create a backup of the device in the specified directory</b>`idevicebackup2 backup [path/to/directory]`<br><b>Restore a backup from the specified directory</b>`idevicebackup2 restore [path/to/directory]`<br><b>Enable encryption for backups</b>`idevicebackup2 encryption on [password]`<br><b>List the files in the last completed backup</b>`idevicebackup2 list`


title: TLDR
content:
<b>Update a translation file</b>`msgmerge [[-U|--update]] [path/to/file.po] [path/to/messages.pot]`<br><b>Display help</b>`msgmerge [[-h|--help]]`


title: TLDR
content:
<b>Retrieve crash reports and move them to a specified directory</b>`idevicecrashreport [path/to/directory]`<br><b>Retrieve crash reports without removing them from the device</b>`idevicecrashreport --keep [path/to/directory]`<br><b>Extract crash reports into separate .crash files</b>`idevicecrashreport --extract [path/to/directory]`


title: TLDR
content:
<b>Print diagnostics information</b>`idevicediagnostics diagnostics`<br><b>Print mobilegestalt key values</b>`idevicediagnostics mobilegestalt [key1] [key2]`<br><b>Shutdown, restart or sleep the device</b>`idevicediagnostics [shutdown|restart|sleep]`


title: TLDR
content:
<b>Get the translation of a string as specified in the domain file (falls back to given msgid if no translation exists)</b>`LANGUAGE=[locale] gettext [[-d|--domain]] [domain] "[msgid]"`<br><b>Display help</b>`gettext [[-h|--help]]`<br><b>Display gettext version</b>`gettext [[-V|--version]]`


title: TLDR
content:
<b>List the UDIDs of all attached devices</b>`idevice_id --list`<br><b>List the UDIDs of all devices available via the network</b>`idevice_id --network`


title: TLDR
content:
<b>Compile a file to messages.mo</b>`msgfmt [file.po]`<br><b>Convert a .po file to a .mo file</b>`msgfmt [path/to/file.po] [[-o|--output-file]] [path/to/file.mo]`<br><b>Display help</b>`msgfmt [[-h|--help]]`


title: TLDR
content:
<b>Exit a login shell</b>`logout`<br><b>Exit a login shell and specify a return value</b>`logout [exit_code]`


title: TLDR
content:
<b>Install a module (-i is optional)</b>`cpan [-i] [module_name]`<br><b>Force install a module (-i is not optional)</b>`cpan -fi [module_name]`<br><b>Upgrade all installed modules</b>`cpan -u`<br><b>Recompile modules</b>`cpan -r`


title: TLDR
content:
<b>Display the current date and time</b>`idevicedate`<br><b>Set the date and time on the device to the system time</b>`idevicedate --sync`<br><b>Set the date and time to a specific timestamp</b>`idevicedate --set [timestamp]`


title: TLDR
content:
<b>Pair a device with the host</b>`idevicepair pair`<br><b>List devices paired with the host</b>`idevicepair list`


title: TLDR
content:
<b>Display the current device name</b>`idevicename`<br><b>Set a new device name</b>`idevicename [new_name]`


title: TLDR
content:
<b>Display detailed information about the connected device</b>`ideviceinfo`<br><b>Show information about a specific device by UDID</b>`ideviceinfo --udid [device_udid]`


title: TLDR
content:
<b>Create a backup of the device in the specified directory</b>`idevicebackup backup [path/to/directory]`<br><b>Restore a backup from the specified directory</b>`idevicebackup restore [path/to/directory]`


title: TLDR
content:
<b>Scan the IP range on the network interface for active hosts</b>`netdiscover -r [172.16.6.0/23] -i [ens244]`


title: SYNOPSIS
content:
<b>$</b><i>variable</i><br><b>$(</b><i>command</i><b>)</b><br><b>`</b><i>command</i><b>`</b><br><b>$((</b><i>expression</i><b>))</b><br><b>${</b><i>parameter</i><b>}</b>


title: PARAMETERS
content:
<b><i>variable</i></b><br>&nbsp;&nbsp;&nbsp;&nbsp;The name of the variable to be expanded.  The shell substitutes `$variable` with the value assigned to that variable.<br><br><b><i>command</i></b><br>&nbsp;&nbsp;&nbsp;&nbsp;A command to be executed. The shell executes the command within the parentheses and replaces `$(command)` with the command's standard output.<br><br><b><i>expression</i></b><br>&nbsp;&nbsp;&nbsp;&nbsp;An arithmetic expression to be evaluated. The shell evaluates the expression within the double parentheses and replaces `$((expression))` with the result.<br><br><b><i>parameter</i></b><br>&nbsp;&nbsp;&nbsp;&nbsp;General parameter expansion syntax offering features like default values, null checks, and more.<br><br>


title: DESCRIPTION
content:
The dollar sign ($) in Linux is a fundamental character used for <b>variable expansion</b>, <b>command substitution</b>, and <b>arithmetic evaluation</b> within the shell. It allows you to reference the value of variables, execute commands, and perform calculations, making shell scripting dynamic and powerful.<br><br>When a dollar sign precedes a variable name (e.g., `$VAR`), the shell replaces it with the variable's value. For command substitution, `$(command)` or `` `command` `` executes the command inside the parentheses or backticks and replaces the entire expression with the command's output. In arithmetic expressions, `$((expression))` is used for evaluating expressions. The use of the dollar sign is essential for automating tasks and creating complex shell scripts.<br><br>The functionality extends beyond simple variable access. It's the cornerstone for parameter expansion (e.g., `${VAR:-default}`), which provides default values, substring extraction, and other advanced manipulations. <br><br>Its behavior is affected by quoting; using single quotes prevents variable expansion, while double quotes allow it, providing control over how the shell interprets expressions.


title: CAVEATS
content:
Using backticks (`` `command` ``) for command substitution is discouraged in modern shell scripting due to nesting limitations and potential quoting issues. <b>$(command)</b> is the preferred method.<br><br>Single quotes prevent variable expansion. Double quotes allow expansion but require careful handling of special characters.


title: PARAMETER EXPANSION
content:
Parameter expansion using the <b>${}</b> syntax offers a rich set of features:<br> - <b>${VAR:-default}</b>: Uses 'default' if VAR is unset or null.<br> - <b>${VAR:=default}</b>: Assigns 'default' to VAR if VAR is unset or null.<br> - <b>${VAR:?message}</b>: Displays an error message if VAR is unset or null.<br> - <b>${VAR:+alt}</b>: Uses 'alt' if VAR is set and not null.


title: SPECIAL SHELL VARIABLES
content:
The shell provides a set of special variables which start with a dollar. Examples include:<br> - <b>$$</b>: Process ID of the current shell.<br> - <b>$?</b>: Exit status of the last executed command.<br> - <b>$!</b>: Process ID of the last background command.<br> - <b>$#</b>: Number of positional parameters.<br> - <b>$*</b> and <b>$@</b>: All positional parameters.<br> - <b>$0</b>: The name of the shell script.<br> 


title: PARAMETERS
content:
<b>%</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Bring the most recently backgrounded or suspended job to the foreground.<br><br><b>%n</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Bring job number 'n' to the foreground.<br><br><b>%string</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Bring a job whose command line begins with 'string' to the foreground.<br><br><b>%?string</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Bring a job whose command line contains 'string' to the foreground.<br><br><b>%% or %+</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Bring the current job to the foreground (equivalent to `%` when there is only one backgrounded job).<br><br><b>%-</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Bring the previous job to the foreground.<br><br>


title: DESCRIPTION
content:
The `%` command in Linux is a built-in shell command primarily used for job control. Job control allows you to manage processes that are running in the foreground or background. It offers a way to suspend, resume, bring to the foreground, or send to the background processes without terminating them. The `%` command is a streamlined interface for managing these backgrounded or suspended processes by referencing them by their job ID, process ID, or a portion of their command name. This significantly enhances shell usability, particularly when dealing with long-running tasks or interactive applications.


title: CAVEATS
content:
The `%` command is shell-specific (e.g., bash, zsh). It is not a standalone executable like `ls` or `grep`. The specific job IDs can change across shell sessions and should be used with awareness of the current jobs.<br> Behavior might vary slightly across different shells.


title: <B>JOB IDS AND PROCESS IDS</B>
content:
Job IDs are local to the shell session, while Process IDs (PIDs) are system-wide.  The `jobs` command displays the current jobs and their corresponding job IDs.  You can then use the job ID with the `%` command to manipulate those jobs. Using the PID with `%` won't work directly.  You usually use 'kill' command for the process management by the PID.


title: <B>FOREGROUND VS. BACKGROUND</B>
content:
A foreground job has direct access to the terminal's input and output. Only one job can be in the foreground at a time. Background jobs run without direct terminal access. They can still produce output to the terminal (unless redirected), but they do not block the shell from accepting new commands.<br> You can send a foreground job to background by pressing Ctrl+Z and then using 'bg' command, or bring background job to foreground using the '%' command.


title: <B>EXAMPLE</B>
content:
To execute `sleep 100` in the background, type `sleep 100 &`. Then use `jobs` to list all of the background processes, and then use `%1` (replace 1 with the number of your job) to bring the 'sleep' command to the foreground.


title: HISTORY
content:
Job control was introduced to make interactive shell environments more powerful and user-friendly. It evolved with the development of Unix shells like `sh`, `csh`, and later `bash` and `zsh`. The `%` command provides a fundamental mechanism for managing processes, allowing users to start and stop tasks without needing to terminate them. It has been a core feature of Unix-like operating systems for decades.


title: DESCRIPTION
content:
The comma (`,`) character by itself is not a valid Linux command. It's a separator used in various contexts within shell scripting and command-line execution, primarily to chain commands within compound commands or to influence command grouping and evaluation.  It doesn't execute as a standalone program.  Its behavior is strictly contextual, meaning its effect depends entirely on the shell in use (e.g., bash, zsh) and how it's employed within a larger command structure. <b>The comma is most useful within shell scripts</b>. Consider using standard commands, or build compound commands with logical operators.


title: CAVEATS
content:
Misunderstanding the comma's contextual role can lead to syntax errors or unexpected program behaviour. It is not a command and it can't be used in isolation.


title: USES OF COMMA IN SHELL SCRIPTING
content:
The comma can be used to chain arithmetic expressions and variable assignments within a single line in some shells, primarily <i>within the context of 'for' loops or other compound commands</i>. Its usage differs between shells, so careful testing is always advised. Always consult the shell's documentation for precise behaviour.


title: COMMAND GROUPING
content:
Parentheses `()` create a subshell, isolating the enclosed commands. Curly braces `{}` group commands in the current shell.  In both cases, commas may be used to separate commands within those groupings for specific purposes, such as in variable assignments. It is important to remember the differences between using braces and parentheses.


title: PARAMETERS
content:
<b>filename</b><br>&nbsp;&nbsp;&nbsp;&nbsp;The path to the file containing the commands to be executed. If the filename does not contain a '/', the shell searches the directories listed in <code>PATH</code> for filename.<br><br><b>arguments</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Optional arguments that are passed to the script being sourced. These are accessible within the script as <code>$1</code>, <code>$2</code>, etc. The parameter <code>$0</code> remains unchanged.<br><br>


title: DESCRIPTION
content:
The "." command, also known as the <b>source</b> command, executes the commands from a specified file in the <u>current</u> shell environment. <br>This differs significantly from running a script directly (e.g., `./myscript.sh`), which creates a new subshell.<br> When a script is sourced, any changes to variables, aliases, functions, or shell options made within the script directly affect the current shell session. <br>This is particularly useful for setting environment variables, defining functions, or modifying shell settings that you want to persist after the script finishes executing. <br> The primary use case is to initialize your environment or load configuration settings without launching a new process.


title: CAVEATS
content:
If the sourced script contains commands that exit the shell (e.g., <code>exit</code>), the current shell session will terminate.


title: PATH SEARCHING
content:
When <code>filename</code> does not contain a slash (<code>/</code>), the shell searches for it in the directories listed in the <code>PATH</code> environment variable, similar to how executable programs are located. If the file is found and readable, its content is executed.


title: VARIABLE SCOPE
content:
Changes to variables made in a sourced file are visible in the current shell. This is different from executing a script, where variables are local to the subshell unless explicitly exported using <code>export</code>. This is a major difference and often misunderstood which is the cause of unexpected bugs.


title: HISTORY
content:
The `.` command has been a fundamental part of Unix-like systems since their early days. <br> It's a crucial tool for managing shell environments and sharing common settings across multiple sessions. The explicit `source` command is essentially equivalent to `.`, but arguably clearer for readability. It is part of POSIX specification.


title: TLDR
content:
<b>List available color schemes</b>`plasma-apply-colorscheme --list-schemes`<br><b>Apply a color scheme</b>`plasma-apply-colorscheme [BreezeLight]`<br><b>Display help</b>`plasma-apply-colorscheme --help`


title: TLDR
content:
<b>Add a new attachment to an existing PDF file</b>`pdfattach [path/to/input.pdf] [path/to/file_to_attach] [path/to/output.pdf]`<br><b>Replace attachment with same name if it exists</b>`pdfattach -replace [path/to/input.pdf] [path/to/file_to_attach] [path/to/output.pdf]`<br><b>Display help</b>`pdfattach [[-h|--help]]`<br><b>Display version</b>`pdfattach -v`


title: TLDR
content:
<b>Start a console in a container</b>`agetty [[-L|--local-line]] [38400] tty1`<br><b>Connect to an lxc console</b>`sudo lxc-console [container_name]`<br><b>Exit lxc-console</b>`<Ctrl a><q>`<br><b>Display help</b>`lxc-console [[-?|--help]]`


title: TLDR
content:
<b>List active global USE flags</b>`euse [[-a|--active]] [[-g|--global]]`<br><b>List active local USE flags</b>`euse [[-a|--active]] [[-l|--local]]`<br><b>Enable a global USE flag</b>`sudo euse [[-E|--enable]] [use_flag]`<br><b>Disable a global USE flag (put a '-' sign in front of the USE flag)</b>`sudo euse [[-D|--disable]] [use_flag]`<br><b>Remove a global USE flag</b>`sudo euse [[-P|--prune]] [use_flag]`


title: TLDR
content:
<b>List available news items with their numbers (all by default)</b>`eselect news list [all|new]`<br><b>Print the specified news items</b>`eselect news read [number1 number2 ...]`<br><b>Print all unread news items</b>`eselect news read`<br><b>Mark the specified news items as unread</b>`eselect news unread [number1 number2 ...]`<br><b>Delete all read news items</b>`eselect news purge`<br><b>Print the number of available news items (new by default)</b>`eselect news count [all|new]`


title: TLDR
content:
<b>List available drivers for the current hardware</b>`sudo ubuntu-drivers list`<br><b>Install drivers for detected hardware</b>`sudo ubuntu-drivers install`<br><b>Display help</b>`ubuntu-drivers`


title: TLDR
content:
<b>Run a program in a read-only environment</b>`bwrap --ro-bind / / [/bin/bash]`<br><b>Give the environment access to devices, process information and create a tmpfs for it</b>`bwrap --dev-bind /dev /dev --proc /proc --ro-bind / / --tmpfs /tmp [/bin/bash]`


title: TLDR
content:
<b>Start the graphical user interface (GUI) version of Bleachbit</b>`bleachbit --gui`<br><b>Shred a file</b>`bleachbit [[-s|--shred]] [path/to/file]`<br><b>List available cleaner options</b>`bleachbit [[-l|--list-cleaners]]`<br><b>Preview the files that will be deleted and other changes that will be made before actually performing the clean-up operation</b>`bleachbit [[-p|--preview]] --preset [cleaner1.option1 cleaner2.option2 ...]`<br><b>Perform the clean-up operation and delete files</b>`bleachbit [[-c|--clean]] --preset [cleaner1.option1 cleaner2.option2 ...]`


title: TLDR
content:
<b>Set wallpaper</b>`swww img [path/to/image]`<br><b>Set wallpaper to specified outputs</b>`swww img [[-o|--outputs]] [output1,output2,...] [path/to/image]`<br><b>Restore last wallpaper</b>`swww restore`<br><b>Kill daemon</b>`swww kill`<br><b>Display output information</b>`swww query`


title: TLDR
content:
<b>List available profiles</b>`tuned-adm list`<br><b>Show the currently active profile</b>`tuned-adm active`<br><b>Set a specific tuning profile</b>`tuned-adm profile [profile_name]`<br><b>Recommend a suitable profile based on the current system</b>`tuned-adm recommend`<br><b>Disable tuning</b>`tuned-adm off`


title: TLDR
content:
<b>Analyze backtrace for the current working directory</b>`abrt-action-analyze-backtrace`<br><b>Analyze backtrace for a specific directory</b>`abrt-action-analyze-backtrace -d [path/to/directory]`<br><b>Analyze backtrace verbosely</b>`abrt-action-analyze-backtrace -v`


title: TLDR
content:
<b>Retrieve all extended attributes of a file and display them in a detailed format</b>`getfattr [[-d|--dump]] [path/to/file]`<br><b>Get a specific attribute of a file</b>`getfattr [[-n|--name]] user.[attribute_name] [path/to/file]`


title: TLDR
content:
<b>Forward the external TCP port 80 to port 8080 on a local machine</b>`upnpc -a [192.168.0.1] 8080 80 tcp`<br><b>Delete any port redirection for external TCP port 80</b>`upnpc -d 80 tcp`<br><b>Get information about UPnP devices on your network</b>`upnpc -s`<br><b>List existing redirections</b>`upnpc -l`


title: TLDR
content:
<b>Delete a container</b>`sudo lxc-destroy [container_name]`<br><b>Display help</b>`lxc-destroy [[-?|--help]]`


title: TLDR
content:
<b>Quickly experiment with the default provision method (no tests in the CWD)</b>`tmt try`<br><b>Run a test in the current working directory</b>`cd [path/to/test_directory] && tmt try`<br><b>Use a specific operating system</b>`tmt try [rhel-9]`<br><b>Select both custom image and provision method</b>`tmt try [fedora@container]`<br><b>Select tests with custom filter</b>`tmt try [[-t|--test]] [feature]`<br><b>Provision guest and wait for instructions</b>`tmt try [[-a|--ask]]`<br><b>Directly log into the guest without asking</b>`tmt try [[-l|--login]]`<br><b>Display help</b>`tmt try --help`


title: TLDR
content:
<b>Read all unread news</b>`sudo informant read`<br><b>Check for news</b>`informant check`<br><b>List latest news</b>`informant list`<br><b>Display help</b>`informant [[-h|--help]]`


title: TLDR
content:
<b>Commit changes to persistent storage (only files in /etc by default)</b>`lbu [[ci|commit]]`<br><b>List files that would be saved using commit</b>`lbu [[st|status]]`<br><b>Display changes in tracked files that would be saved using commit</b>`lbu diff`<br><b>Include a specific file or directory in the apk overlay</b>`lbu [[inc|include]] [path/to/file_or_directory]`<br><b>Exclude a specific file or directory in /etc from the apk overlay</b>`lbu [[ex|exclude]] [path/to/file_or_directory]`<br><b>Display the list of manually included/excluded files</b>`lbu [include|exclude] -l`<br><b>List backups (previously created overlays)</b>`lbu [[lb|list-backup]]`<br><b>Revert to a backup overlay</b>`lbu revert [overlay_filename.tar.gz]`


title: TLDR
content:
<b>List all containers</b>`sudo lxc-ls`<br><b>List active containers (including frozen and running)</b>`sudo lxc-ls --active`<br><b>List only frozen containers</b>`sudo lxc-ls --frozen`<br><b>List only stopped containers</b>`sudo lxc-ls --stopped`<br><b>List containers in a fancy, column-based output</b>`sudo lxc-ls [[-f|--fancy]]`<br><b>Display help</b>`lxc-ls [[-?|--help]]`


title: TLDR
content:
<b>Set device to monitor mode (interface must be down first. See also: ip link)</b>`sudo iw dev [wlp] set type monitor`<br><b>Set device to managed mode (interface must be down first)</b>`sudo iw dev [wlp] set type managed`<br><b>Set device Wi-Fi channel (device must first be in monitor mode with the interface up)</b>`sudo iw dev [wlp] set channel [channel_number]`<br><b>Set device Wi-Fi frequency in Mhz (device must first be in monitor mode with the interface up)</b>`sudo iw dev [wlp] set freq [freq_in_mhz]`<br><b>Show all known station info</b>`iw dev [wlp] station dump`<br><b>Create a virtual interface in monitor mode with a specific MAC address</b>`sudo iw dev [wlp] interface add "[vif_name]" type monitor addr [12:34:56:aa:bb:cc]`<br><b>Delete virtual interface</b>`sudo iw dev "[vif_name]" del`


title: TLDR
content:
<b>List currently loaded kernel modules</b>`kmod list`<br><b>Display the static device nodes information provided by the modules of the currently running kernel</b>`kmod static-nodes`


title: TLDR
content:
<b>Fetch a value</b>`uci get [network.lan.ipaddr]`<br><b>List all options and their values</b>`uci show [network]`<br><b>Set a value</b>`uci set [config].[section].[option]=[value]`<br><b>Add a new section</b>`uci add [config] [section]`<br><b>Delete a section or value</b>`uci delete [config].[section].[option]`<br><b>Commit changes</b>`uci commit [config]`<br><b>Discard uncommitted changes</b>`uci revert [config]`<br><b>Display help</b>`uci`


title: TLDR
content:
<b>Generate the autocompletion script for your shell</b>`gcrane completion [shell_name]`<br><b>Disable completion descriptions</b>`gcrane completion [shell_name] --no-descriptions`<br><b>Load completions in your current shell session (Bash/Zsh)</b>`source <(gcrane completion bash/zsh)`<br><b>Load completions in your current shell session (fish)</b>`gcrane completion fish | source`<br><b>Load completions for every new session (Bash)</b>`gcrane completion bash > /etc/bash_completion.d/gcrane`<br><b>Load completions for every new session (Zsh)</b>`gcrane completion zsh > "${fpath[1]}/_gcrane"`<br><b>Load completions for every new session (fish)</b>`gcrane completion fish > ~/.config/fish/completions/gcrane.fish`<br><b>Display help</b>`gcrane completion [shell_name] [[-h|--help]]`


title: TLDR
content:
<b>Connect to ProtonVPN interactively</b>`protonvpn [[c|connect]]`<br><b>Connect to ProtonVPN using the fastest server available</b>`protonvpn [[c|connect]] [[-f|--fastest]]`<br><b>Connect to ProtonVPN using a specific server with a specific protocol</b>`protonvpn [[c|connect]] [server_name] -p [udp|tcp]`<br><b>Connect to ProtonVPN using a random server with a specific protocol</b>`protonvpn [[c|connect]] [[-r|--random]] -p [udp|tcp]`<br><b>Connect to ProtonVPN using the fastest Tor-supporting server</b>`protonvpn [[c|connect]] --tor`<br><b>Display help</b>`protonvpn [[c|connect]] --help`


title: TLDR
content:
<b>List available objects</b>`ubus list`<br><b>Retrieve system information in JSON format</b>`ubus call system board`<br><b>Listen to events</b>`ubus subscribe [event_name]`<br><b>Display help</b>`ubus`


title: TLDR
content:
<b>Display full platform information</b>`eglinfo`<br><b>Display a brief version of platform information</b>`eglinfo -B`<br><b>Display help</b>`eglinfo -h`


title: TLDR
content:
<b>Start knockd system daemon</b>`knockd [[-d|--daemon]]`<br><b>Use specified configuration file for knockd</b>`knockd [[-c|--config]] [path/to/file].configuration`


title: TLDR
content:
<b>List DNF groups, showing installed and uninstalled status in a table</b>`dnf [[grp|group]] list`<br><b>Show DNF group info, including repository and optional packages</b>`dnf [[grp|group]] info [group_name]`<br><b>Install DNF group</b>`dnf [[grp|group]] install [group_name]`<br><b>Remove DNF group</b>`dnf [[grp|group]] remove [group_name]`<br><b>Upgrade DNF group</b>`dnf [[grp|group]] upgrade [group_name]`


title: TLDR
content:
<b>Run all test steps for each plan</b>`tmt run`<br><b>Run only the discover step to show what tests would be run</b>`tmt run discover [[-v|--verbose]]`<br><b>Run all steps and adjust the provision step options</b>`tmt run [[-a|--all]] provision [[-h|--how]] [container] [[-i|--image]] [fedora:rawhide]`<br><b>Run only selected plans and tests</b>`tmt run plan [[-n|--name]] [/plan/name] test [[-n|--name]] [/test/name]`<br><b>Show results from the last run in a web browser</b>`tmt run [[-l|--last]] report [[-h|--how]] [html] [[-o|--open]]`<br><b>Run tests with the provided context</b>`tmt run [[-c|--context]] [key=value] [[-c|--context]] [distro=fedora]`<br><b>Run tests interactively (debug test code in the middle of a test)</b>`tmt run [[-a|--all]] execute [[-h|--how]] [tmt] --interactive`<br><b>Use dry mode to see what actions would happen and use the highest verbosity</b>`tmt run [[-n|--dry]] [[-vvv|--verbose --verbose --verbose]]`


title: TLDR
content:
<b>Apply a wallpaper</b>`plasma-apply-wallpaperimage /[path/to/image]`<br><b>Apply a wallpaper with a fill mode</b>`plasma-apply-wallpaperimage --fill-mode [stretch|preserveAspectFit|preserveAspectCrop|tile|tileVertically|tileHorizontally|pad] /[path/to/image]`<br><b>Display help</b>`plasma-apply-wallpaperimage --help`


title: TLDR
content:
<b>Stop a service from running on boot</b>`systemctl disable [unit]`<br><b>Stop a service from running on boot and stop its current execution</b>`systemctl disable [unit] --now`


title: TLDR
content:
<b>List all available wireless interfaces</b>`iwinfo`<br><b>Display detailed information on a specific wireless interface</b>`iwinfo [interface] info`<br><b>Scan for nearby wireless networks visible to the interface</b>`iwinfo [interface] scan`<br><b>List connected devices</b>`iwinfo [interface] assoclist`<br><b>List channels supported by the interface</b>`iwinfo [interface] freqlist`<br><b>List available transmit power levels for the interface</b>`iwinfo [interface] txpowerlist`<br><b>Display help</b>`iwinfo h`


title: TLDR
content:
<b>Start interactive mode with the specified disk selected</b>`sudo parted [/dev/sdX]`<br><b>Show partition information in interactive mode</b>`print`<br><b>Select a disk in interactive mode</b>`select [/dev/sdX]`<br><b>Create a 16 GB partition with the specified filesystem in interactive mode (GPT partition table)</b>`mkpart [partition_name] [btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs] [0%] [16G]`<br><b>Create a 16 GB partition with the specified filesystem in interactive mode (MBR partition table)</b>`mkpart [primary|logical|extended] [btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs] [0%] [16G]`<br><b>Resize a partition in interactive mode</b>`resizepart [/dev/sdXN] [end_position_of_partition]`<br><b>Remove a partition in interactive mode</b>`rm [/dev/sdXN]`<br><b>Display help</b>`?`


title: TLDR
content:
<b>Build a recipe</b>`bluebuild build [path/to/recipe.yml]`<br><b>Validate a recipe</b>`bluebuild validate [path/to/recipe.yml]`<br><b>Generate a Containerfile</b>`bluebuild generate [[-o|--output]] [Containerfile] [path/to/recipe.yml]`<br><b>Generate an ISO from a recipe</b>`bluebuild generate-iso --output-dir [path/to/output_directory] --iso-name [iso_name.iso] recipe [path/to/recipe.yml]`<br><b>Display help</b>`bluebuild [[-h|--help]]`


title: TLDR
content:
<b>Query information from a container</b>`sudo lxc-info [container_name]`<br><b>Display help</b>`lxc-info [[-?|--help]]`


title: TLDR
content:
<b>Preload a file or directory into cache</b>`fadvise [[-a|--advice]] willneeded [path/to/file_or_directory]`<br><b>Suggest dropping a file from cache</b>`fadvise [path/to/file]`<br><b>Display help</b>`fadvise [[-h|--help]]`


title: TLDR
content:
<b>List available profile symlink targets with their numbers</b>`eselect profile list`<br><b>Set the /etc/portage/make.profile symlink by name or number from the list command</b>`eselect profile set [name|number]`<br><b>Show the current system profile</b>`eselect profile show`


title: TLDR
content:
<b>Print the log</b>`logread`<br><b>Print n messages</b>`logread -l [n]`<br><b>Filter messages by (Keyword/regex)</b>`logread -e [pattern]`<br><b>Print log messages as they happen</b>`logread -f`<br><b>Display help</b>`logread -h`


title: TLDR
content:
<b>Search for a package</b>`paxs [search_term]`<br><b>Upgrade all packages</b>`paxs [[-u|--upgrade-all]]`<br><b>Install a package (prompting for the source)</b>`paxs [[-i|--install]] [package]`<br><b>Remove a package (prompting for the source)</b>`paxs [[-r|--remove]] [package]`<br><b>Check for updates across all package managers</b>`paxs [[-c|--check-update]]`<br><b>Display help</b>`paxs [[-h|--help]]`


title: TLDR
content:
<b>Start the daemon</b>`eww daemon`<br><b>Open a widget</b>`eww [[-c|--config]] [path/to/source_code_directory] open [window_name]`<br><b>Close a widget</b>`eww [[-c|--config]] [path/to/source_code_directory] close [window_name]`<br><b>Reload the configuration</b>`eww reload`<br><b>Kill the daemon</b>`eww kill`<br><b>Print and watch logs</b>`eww logs`


title: TLDR
content:
<b>Connect to a GlobalProtect VPN using a portal server</b>`gpclient connect [vpn_gateway_url]`<br><b>Disconnect from the currently connected VPN server</b>`gpclient disconnect`<br><b>Launch the graphical user interface (GUI) for VPN management</b>`gpclient launch-gui`<br><b>Use OpenSSL workaround to bypass legacy renegotiation errors</b>`gpclient connect --fix-openssl [vpn_gateway_url]`<br><b>Ignore TLS errors during connection</b>`gpclient connect --ignore-tls-errors [vpn_gateway_url]`<br><b>Display version</b>`gpclient --version`<br><b>Display help for any command</b>`gpclient help [command]`


title: TLDR
content:
<b>Format and add a new device to an existing filesystem.</b>`sudo bcachefs device add --label [group].[name] [path/to/mountpoint] [path/to/device]`<br><b>Migrate data off a device to prepare for removal</b>`bcachefs device evacuate [path/to/device]`<br><b>Permanently remove a device from a filesystem</b>`bcachefs device remove [path/to/device]`


title: TLDR
content:
<b>Switch to the other A/B partition</b>`steamos-chroot [[-p|--partset]] other`<br><b>Switch to a partition on another drive</b>`steamos-chroot [[-d|--disk]] [/dev/sdX] [[-p|--partset]] [A|B]`<br><b>Display help</b>`steamos-chroot [[-h|--help]]`


title: TLDR
content:
<b>Enable a service to run on boot</b>`systemctl enable [unit]`<br><b>Enable a service to run on boot and start it now</b>`systemctl enable [unit] --now`<br><b>Enable a user unit to run on login</b>`systemctl enable [unit] --user`


title: TLDR
content:
<b>Change the base OS to a new container image from a registry</b>`sudo bootc switch [image]`<br><b>Change the base OS to a new container image from the local image storage of the root user</b>`sudo bootc switch --transport containers-storage [image]`<br><b>Change the base OS to a new container image stored in a tarball</b>`sudo bootc switch --transport oci-archive [path/to/image.tar.gz]`


title: TLDR
content:
<b>Execute a typescript in real-time</b>`scriptlive [path/to/timing_file] [path/to/typescript]`<br><b>Execute a typescript at double the original speed</b>`scriptlive [path/to/timing_file] [path/to/typescript] --divisor 2`<br><b>Execute a typescript created using --log-in option of script</b>`scriptlive --log-in [path/to/stdin_log_file] [path/to/typescript]`<br><b>Execute a typescript waiting at most 2 seconds between each command</b>`scriptlive [path/to/timing_file] [path/to/typescript] --maxdelay 2`


title: TLDR
content:
<b>Create a bcachefs filesystem inside partition Y on a device X</b>`sudo mkfs.bcachefs [/dev/sdXY]`<br><b>Create a bcachefs filesystem with a volume label</b>`sudo mkfs.bcachefs [[-L|--fs_label]] [volume_label] [/dev/sdXY]`


title: TLDR
content:
<b>View network statistics since last time nstat was run</b>`nstat`<br><b>View all-time network statistics</b>`nstat [[-a|--ignore]]`<br><b>Display help</b>`nstat [[-h|--help]]`


title: TLDR
content:
<b>Set name of attribute for file</b>`setfattr [[-n|--name]] user.[attribute_name] [path/to/file]`<br><b>Set a user-defined value of an extended attribute on a file</b>`setfattr [[-n|--name]] user.[attribute_name] [[-v|--value]] "[value]" [path/to/file]`<br><b>Remove a specific attribute of a file</b>`setfattr [[-x|--remove]] user.[attribute_name] [path/to/file]`


title: TLDR
content:
<b>Ignore updates for a specific flatpak</b>`flatpak mask [com.example.app]`<br><b>Undo ignore updates</b>`flatpak mask --remove [com.example.app]`<br><b>List all currently masked patterns</b>`flatpak mask [--system|--user]`


title: TLDR
content:
<b>List all devices recognized by libinput</b>`sudo libinput list-devices`<br><b>Print all libinput events</b>`sudo libinput debug-events`<br><b>Show a GUI to visualize libinput's events</b>`sudo libinput debug-gui`<br><b>Debug tablet axis values</b>`sudo libinput debug-tablet`<br><b>Display help</b>`libinput [[-h|--help]]`


title: TLDR
content:
<b>Open a LUKS volume and create a decrypted mapping at /dev/mapper/mapping_name</b>`systemd-cryptsetup attach [mapping_name] [/dev/sdXY]`<br><b>Open a LUKS volume with additional options and create a decrypted mapping at /dev/mapper/mapping_name</b>`systemd-cryptsetup attach [mapping_name] [/dev/sdXY] none [crypttab_options]`<br><b>Open a LUKS volume with a keyfile and create a decrypted mapping at /dev/mapper/mapping_name</b>`systemd-cryptsetup attach [mapping_name] [/dev/sdXY] [path/to/keyfile] [crypttab_options]`<br><b>Remove an existing mapping</b>`systemd-cryptsetup detach [mapping_name]`


title: TLDR
content:
<b>Compare two images and output the difference image to the specified file</b>`diffimg [path/to/image1] [path/to/image2] [path/to/output_image]`


title: TLDR
content:
<b>Start the server</b>`sudo apachectl start`<br><b>Restart the server</b>`sudo apachectl restart`<br><b>Stop the server</b>`sudo apachectl stop`<br><b>Test configuration file validity</b>`apachectl configtest`<br><b>Check server status (requires the lynx browser)</b>`apachectl status`<br><b>Reload configuration without dropping connections</b>`sudo apachectl graceful`<br><b>Print full Apache configuration (not always supported)</b>`apachectl -S`<br><b>Display help</b>`apachectl -h`


title: TLDR
content:
<b>Initialize a LUKS volume with a passphrase</b>`cryptsetup luksFormat [/dev/sdXY]`<br><b>Initialize a LUKS volume with a keyfile</b>`cryptsetup luksFormat [/dev/sdXY] [path/to/keyfile]`<br><b>Initialize a LUKS volume with a passphrase and set its label</b>`cryptsetup luksFormat --label [label] [/dev/sdXY]`


title: TLDR
content:
<b>Apply a network configuration and make it persistent</b>`sudo netplan apply`<br><b>Generate backend configuration files</b>`sudo netplan generate`<br><b>Configure a network interface to use DHCP</b>`sudo netplan set ethernets.[interface_name].dhcp4=true`<br><b>Try configuration changes without applying them permanently</b>`sudo netplan try --timeout [seconds]`<br><b>Return to previous working configuration after failed apply</b>`sudo netplan --debug apply`<br><b>Display the current netplan configuration status</b>`netplan status`


title: TLDR
content:
<b>List available licenses</b>`proctl [[-ll|-list-licenses]]`<br><b>List available languages</b>`proctl [[-lL|-list-languages]]`<br><b>Pick a license in a FZF menu</b>`proctl [[-pl|-pick-license]]`<br><b>Pick a language in a FZF menu</b>`proctl [[-pL|-pick-language]]`<br><b>Remove all licenses from the current project</b>`proctl [[-r|-remove-license]]`<br><b>Create a new license template</b>`proctl [[-t|-new-template]]`<br><b>Delete a license from templates</b>`proctl [[-R|-delete-license]] [@license_name1 @license_name2 ...]`<br><b>Display help</b>`proctl [[-h|-help]]`


title: TLDR
content:
<b>List available kernel symlink targets with their numbers</b>`eselect kernel list`<br><b>Set the /usr/src/linux symlink by name or number from the list command</b>`eselect kernel set [name|number]`<br><b>Show what the current kernel symlink points to</b>`eselect kernel show`<br><b>Set the kernel symlink to the currently running kernel</b>`eselect kernel update`


title: TLDR
content:
<b>Print route to a destination</b>`ip [[r|route]] [[g|get]] [1.1.1.1]`<br><b>Print route to a destination from a specific source address</b>`ip [[r|route]] [[g|get]] [destination] from [source]`<br><b>Print route to a destination for packets arriving on a specific interface</b>`ip [[r|route]] [[g|get]] [destination] iif [ethX]`<br><b>Print route to a destination, forcing output through a specific interface</b>`ip [[r|route]] [[g|get]] [destination] oif [ethX]`<br><b>Print route to a destination with a specified Type of Service (ToS)</b>`ip [[r|route]] [[g|get]] [destination] tos [0x10]`<br><b>Print route to a destination using a specific VRF (Virtual Routing and Forwarding) instance</b>`ip [[r|route]] [[g|get]] [destination] vrf [myvrf]`


title: TLDR
content:
<b>View multiple images</b>`imv [path/to/image1.ext path/to/image2.ext ...]`<br><b>View in fullscreen mode</b>`imv -f [path/to/image.ext]`<br><b>View images [r]ecursively from a path</b>`imv -r --slideshow [path/to/directory]`<br><b>Open multiple images via stdin</b>`find . -type f -name "[*.svg]" | imv`<br><b>Make a slideshow from a directory showing each image for 10 seconds</b>`imv -t 10 [path/to/directory]`<br><b>View multiple images from the web</b>`curl [[-Osw|--remote-name --silent --write-out]] '%{filename_effective}\n' '[http://www.example.com/[1-10].jpg]' | imv`


title: TLDR
content:
<b>Knock on ports using different protocols</b>`knock [hostname] [portnumber]:[protocol]`<br><b>Knock on port using UDP</b>`knock [[-u|--udp]] [hostname] [portnumber]`<br><b>Force usage of IPv4/IPv6</b>`knock [-4|-6] [hostname] [portnumber]`<br><b>Display errors and details of connection</b>`knock [[-v|--verbose]] [hostname] [portnumber]`


title: TLDR
content:
<b>Display cache details for a file</b>`fincore [path/to/file]`<br><b>Display all possible data columns</b>`fincore --output-all [path/to/file]`<br><b>Display help</b>`fincore [[-h|--help]]`


title: TLDR
content:
<b>Show information about a flatpak</b>`flatpak remote-info [remote_name] [com.example.app]`<br><b>Show a log of previous versions in a remote</b>`flatpak remote-info --log [remote_name] [com.example.app]`<br><b>Show information about the specific commit, rather than the latest version</b>`flatpak remote-info --commit [COMMIT] [remote_name] [com.example.app]`


title: TLDR
content:
<b>Run a builtin command</b>`darling shell [uname]`<br><b>Run a specific program with arguments</b>`darling shell [path/to/program] [program_argument_1 program_argument_2 ...]`<br><b>Open a macOS shell</b>`darling shell`<br><b>Shutdown the service</b>`darling shutdown`


title: TLDR
content:
<b>Reload FreePBX configurations</b>`fwconsole reload`<br><b>Start Asterisk and other commands needed by FreePBX</b>`fwconsole start`<br><b>Stop Asterisk and other commands needed by FreePBX</b>`fwconsole stop`<br><b>View and update settings</b>`fwconsole setting [keyword] [new_value]`<br><b>List available backups</b>`fwconsole backup --list`<br><b>List available FreePBX commands</b>`fwconsole list`<br><b>Change ownership of all files and directories that FreePBX needs to be owned by the apache user</b>`fwconsole chown`


title: TLDR
content:
<b>Print system version</b>`pveversion`<br><b>Print Proxmox subpackage versions</b>`pveversion [[-v|--verbose]]`


title: TLDR
content:
<b>List available cursor themes</b>`plasma-apply-cursortheme --list-themes`<br><b>Apply a cursor theme</b>`plasma-apply-cursortheme [breeze_cursors]`<br><b>Display help</b>`plasma-apply-cursortheme --help`


title: TLDR
content:
<b>List all entries in the Passwords folder of kdewallet</b>`kwallet-query [kdewallet] [[-l|--list-entries]]`<br><b>List all entries in a specific folder</b>`kwallet-query [kdewallet] [[-l|--list-entries]] [[-f|--folder]] [folder_name]`<br><b>List all available folders</b>`kwallet-query [kdewallet] [[-l|--list-entries]] [[-f|--folder]] ""`<br><b>Display help</b>`kwallet-query [[-h|--help]]`


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


title: TLDR
content:
<b>Open a LUKS volume and create a decrypted mapping at /dev/mapper/mapping_name</b>`cryptsetup open [/dev/sdXY] [mapping_name]`<br><b>Use a keyfile instead of a passphrase</b>`cryptsetup open [[-k|--key-file]] [path/to/file] [/dev/sdXY] [mapping_name]`<br><b>Allow the use of TRIM on the device</b>`cryptsetup open --allow-discards [/dev/sdXY] [mapping_name]`<br><b>Write the --allow-discards option into the LUKS header (the option will then always be used when you open the device)</b>`cryptsetup open --allow-discards --persistent [/dev/sdXY] [mapping_name]`<br><b>Open a LUKS volume and make the decrypted mapping read-only</b>`cryptsetup open [[-r|--readonly]] [/dev/sdXY] [mapping_name]`


title: TLDR
content:
<b>Add (and enable) a repository from a URL</b>`dnf config-manager --add-repo=[repository_url]`<br><b>Print current configuration values</b>`dnf config-manager --dump`<br><b>Enable a specific repository</b>`dnf config-manager [[--enable|--set-enabled]] [repository_id]`<br><b>Disable specified repositories</b>`dnf config-manager [[--disable|--set-disabled]] [repository_id1 repository_id2 ...]`<br><b>Set a configuration option for a repository</b>`dnf config-manager --setopt=[option]=[value]`<br><b>Display help</b>`dnf config-manager --help-cmd`


title: TLDR
content:
<b>Use mangohud on top of an application</b>`mangohud [command]`<br><b>Change overlay position</b>`<RightShift F11>`<br><b>Change overlay verbosity</b>`<RightShift F10>`<br><b>Toggle overlay visibility</b>`<RightShift F12>`


title: TLDR
content:
<b>List all containers</b>`pct list`<br><b>Start/Stop/Reboot a specific container</b>`pct [start|stop|reboot] [100]`<br><b>Access a specific container's shell</b>`pct [[en|enter]] [100]`<br><b>Create a container from template with 4GB size</b>`pct [[cr|create]] [100] [local:vztmpl/distro-name.tar.zst] --rootfs [local-lvm]:4`<br><b>Resize the container's disk to 20G</b>`pct [[resi|resize]] [100] [rootfs|mpX] [20G]`<br><b>Show the configuration of a container, specifying its ID</b>`pct [[conf|config]] [100]`<br><b>Snapshot a specific container with description</b>`pct [[sn|snapshot]] [100] [my-snapshot] --description [My snapshot description]`<br><b>Destroy a container and remove all related resources</b>`pct [[des|destroy]] [100] --purge`


title: TLDR
content:
<b>Attach to a container</b>`sudo lxc-attach [container_name]`<br><b>Display help</b>`lxc-attach [[-?|--help]]`


title: TLDR
content:
<b>Read a CD and write its contents to a file</b>`cdrdao read-cd --device [/dev/cdrom] --read-raw [image.toc]`


title: TLDR
content:
<b>Clean the source file directory</b>`sudo eclean distfiles`<br><b>Clean the binary package directory</b>`sudo eclean packages`<br><b>Clean the distfiles of all uninstalled packages, but keep the distfiles of installed packages</b>`sudo eclean [[-d|--deep]] [[-n|--package-names]] distfiles`<br><b>Clean the binary packages of all uninstalled packages, but keep the binaries of installed packages</b>`sudo eclean [[-d|--deep]] [[-n|--package-names]] packages`


title: TLDR
content:
<b>Initialize ProtonVPN profile</b>`protonvpn init`<br><b>Connect to ProtonVPN interactively</b>`protonvpn [c|connect]`<br><b>Display connection status</b>`protonvpn [s|status]`<br><b>Disconnect from ProtonVPN</b>`protonvpn [d|disconnect]`<br><b>Reconnect or connect to the last server used</b>`protonvpn [r|reconnect]`<br><b>Refresh OpenVPN configuration and server data</b>`protonvpn refresh`<br><b>Display help for a subcommand</b>`protonvpn [subcommand] --help`


title: TLDR
content:
<b>Extract an archive</b>`patool extract [path/to/archive]`<br><b>Create an archive</b>`patool create [path/to/archive] [path/to/file_or_directory1 path/to/file_or_directory2 ...]`<br><b>List contents of an archive</b>`patool list [path/to/archive]`<br><b>Compare the contents of two archives and display the differences in stdout</b>`patool diff [path/to/archive1] [path/to/archive2]`<br><b>Search for a string inside the contents of an archive</b>`patool search [path/to/archive]`


title: TLDR
content:
<b>Capture all the events from the live system and print them to screen</b>`sysdig`<br><b>Capture all the events from the live system and save them to disk</b>`sysdig [[-w|--write]] [path/to/file].scap`<br><b>Read events from a file and print them to screen</b>`sysdig [[-r|--read]] [path/to/file].scap`<br><b>Filter and Print all the open system calls invoked by cat</b>`sysdig proc.name=cat and evt.type=open`<br><b>Register any found plugin and use dummy as input source passing to it open params</b>`sysdig -I dummy:'[parameter]'`<br><b>List the available chisels</b>`sysdig [[-cl|--list-chisels]]`<br><b>Use the spy_ip chisel to look at the data exchanged with ip address</b>`sysdig [[-c|--chisel]] spy_ip [ip_address]`


title: TLDR
content:
<b>Print file access events in all mounted filesystems to stdout</b>`sudo fatrace`<br><b>Print file access events on the mount of the current directory, with timestamps, to stdout</b>`sudo fatrace [[-c|--current-mount]] [[-t|--timestamp]]`


title: TLDR
content:
<b>Generate a Makefile from a project file in the current directory</b>`qmake`<br><b>Specify Makefile and project file locations</b>`qmake -o [path/to/Makefile] [path/to/project_file.pro]`<br><b>Generate a default project file</b>`qmake -project`<br><b>Compile a project</b>`qmake && make`<br><b>Enable debug mode</b>`qmake -d`<br><b>Display help</b>`qmake -help`


title: TLDR
content:
<b>Show deployments in the order they will appear in the bootloader</b>`bootc status`<br><b>Check if any updates are available</b>`bootc upgrade --check`<br><b>Prepare a new update and reboot into it</b>`bootc upgrade --apply`<br><b>Change OS base to new container image</b>`bootc switch [image]`<br><b>Reboot into the previous ostree deployment</b>`bootc rollback`<br><b>Apply transactional changes to the system configuration</b>`bootc edit`


title: TLDR
content:
<b>Calculate and save the UUID for the current working directory</b>`abrt-action-analyze-c`<br><b>Calculate and save the UUID for a specific directory</b>`abrt-action-analyze-c -d [path/to/directory]`<br><b>Calculate and save the UUID verbosely</b>`abrt-action-analyze-c -v`


title: TLDR
content:
<b>Print action can be used to print any file on default run-mailcap tool</b>`print [filename]`<br><b>With run-mailcap</b>`run-mailcap --action=print [filename]`


title: TLDR
content:
<b>View network interface statistics since last query</b>`ifstat`<br><b>View network interface statistics since last boot</b>`ifstat [[-a|--ignore]]`<br><b>View error rate</b>`ifstat [[-e|--errors]]`


title: TLDR
content:
<b>Run applications</b>`fuzzel`<br><b>Run fuzzel in dmenu mode</b>`fuzzel [[-d|--dmenu]]`<br><b>Display a menu of the output of the ls command</b>`[ls] | fuzzel [[-d|--dmenu]]`<br><b>Display a menu with custom items separated by a new line (\n)</b>`echo -e "[red]\n[green]\n[blue]" | fuzzel [[-d|--dmenu]]`<br><b>Let the user choose between multiple items and save the selected one to a file</b>`echo -e "[red]\n[green]\n[blue]" | fuzzel [[-d|--dmenu]] > [color.txt]`<br><b>Reset apps usage count (default cache directory: $XDG_CACHE_HOME/fuzzel)</b>`rm [[-v|--verbose]] $HOME/.cache/fuzzel`<br><b>Launch fuzzel on a specific monitor, see wlr-randr or swaymsg --type get_outputs</b>`fuzzel [[-o|--output]] "[DP-1]"`<br><b>Use fuzzel to do an online search</b>`fuzzel [[-d|--dmenu]] [[-l|--lines]] 0 --placeholder "[Type your search]" | sed 's/^/\"/g;s/$/\"/g' | xargs firefox --search`


title: TLDR
content:
<b>Record storing to an MP4 file</b>`wf-recorder [[-f|--file]] [output.mp4]`<br><b>Record including audio, both with mic and system sounds</b>`wf-recorder [[-a|--audio]] [[-f|--file]] /[path/to/file_with_audio.webm]`<br><b>Select and record a portion of the screen using slurp, outputting to default recording.mp4</b>`wf-recorder [[-g|--geometry]] "$(slurp)"`


title: TLDR
content:
<b>Run 3 memory bandwidth tests with 512MB size</b>`mbw -n 3 512`<br><b>Run 3 memory bandwidth tests with 512MB memory size, output only statistics, not averages</b>`mbw -n 3 -q -a 512`<br><b>Run memcpy test 3 times with 512MB size, only display statistics</b>`mbw -n 3 -q -t[0] 512`<br><b>Run the memcpy test 10 times with 1024 byte blocks allocated 8192MB of memory</b>`mbw -n 10 -q -t[2] -b 1024 8192`<br><b>Run dumb test with 2048MB size, output only statistics, run forever</b>`mbw -n 0 -t[1] -q 2048`


title: TLDR
content:
<b>Start the lxc service</b>`systemctl start lxc-net`<br><b>Start a container</b>`sudo lxc-start [container_name]`<br><b>Start a container in the foreground</b>`sudo lxc-start [container_name] [[-F|--foreground]]`<br><b>Exit out of a foreground container (run this in a separate terminal)</b>`sudo lxc-stop [container_name]`<br><b>Display help</b>`lxc-start [[-?|--help]]`


title: TLDR
content:
<b>Verify PKGBUILD integrity, generate .SRCINFO, create a commit message template, and publish the package to the AUR</b>`aurpublish [package_name]`<br><b>Add githooks to the current repository</b>`aurpublish setup`<br><b>Display help</b>`aurpublish [[-h|--help]]`


title: TLDR
content:
<b>Stop a container</b>`sudo lxc-stop [container_name]`<br><b>Display help</b>`lxc-stop [[-?|--help]]`


title: TLDR
content:
<b>Store a secret with an optional label</b>`secret-tool store --label=[label] [key] [value]`<br><b>Retrieve a secret</b>`secret-tool lookup key [key]`<br><b>Get more information about a secret</b>`secret-tool search key [key]`<br><b>Delete a stored secret</b>`secret-tool clear key [key]`


title: TLDR
content:
<b>List the dependencies of a package</b>`expac [[-S|--sync]] '%D' [package]`<br><b>List the optional dependencies of a package</b>`expac [[-S|--sync]] "%o" [package]`<br><b>List the download size of packages in MiB</b>`expac [[-S|--sync]] [[-H|--humansize]] M '%k\t%n' [package1 package2 ...]`<br><b>List packages marked for upgrade with their download size</b>`expac [[-S|--sync]] [[-H|--humansize]] M '%k\t%n' $(pacman -Qqu) | sort [[-sh|--sort --human-numeric-sort]]`<br><b>List explicitly-installed packages with their optional dependencies</b>`expac [[-d|--delim]] '\n\n' [[-l|--listdelim]] '\n\t' [[-Q|--query]] '%n\n\t%O' $(pacman -Qeq)`


title: TLDR
content:
<b>List available tests, plans, and stories</b>`tmt`<br><b>Initialize tmt files/project structure</b>`tmt init`<br><b>Create a new test with a template and a link</b>`tmt test create [[-t|--template]] [beakerlib] --link [verifies:issue#1234]`<br><b>List available tests, plans, or stories</b>`tmt [test|plan|story] ls [pattern]`<br><b>Show detailed test metadata in the given context</b>`tmt [[-c|--context]] [arch=aarch64] test show`<br><b>Validate tmt files against the specification</b>`tmt lint`<br><b>Use filter</b>`tmt tests ls [[-f|--filter]] [tag:foo] [[-f|--filter]] [tier:0]`<br><b>Display help</b>`tmt --help`


title: TLDR
content:
<b>Reserve a device (currently only supports audio devices)</b>`pw-reserve [[-n|--name]] [audioN]`<br><b>Monitor a device instead of reserving it</b>`pw-reserve [[-n|--name]] [audioN] [[-m|--monitor]]`<br><b>Display help</b>`pw-reserve [[-h|--help]]`


title: TLDR
content:
<b>Show the list of apps</b>`wofi [[-S|--show]] drun`<br><b>Show the list of all commands</b>`wofi [[-S|--show]] run`<br><b>Pipe a list of items to stdin and print the selected item to stdout</b>`printf "[Choice1\nChoice2\nChoice3]" | wofi [[-d|--dmenu]]`


title: TLDR
content:
<b>List all open file descriptors</b>`lsfd`<br><b>List all files kept open by a specific program</b>`lsfd [[-Q|--filter]] 'PID == [process_ID]'`<br><b>Check what program has a specific file open</b>`lsfd [[-Q|--filter]] "NAME == '[path/to/file]'"`<br><b>List open IPv4 or IPv6 sockets</b>`lsfd [-i4|-i6]`<br><b>Display help</b>`lsfd [[-h|--help]]`


title: TLDR
content:
<b>Check the current kernel for LXC support</b>`lxc-checkconfig`<br><b>Check any kernel for LXC support</b>`CONFIG=/[path/to/configuration] lxc-checkconfig`


title: TLDR
content:
<b>Create a password hash for GRUB 2 using PBKDF2 and print it to stdout</b>`sudo grub2-mkpasswd-pbkdf2 [[-c|--iteration-count]] [number_of_pbkdf2_iterations] [[-s|--salt]] [salt_length]`


title: TLDR
content:
<b>List available global themes</b>`plasma-apply-lookandfeel --list`<br><b>Apply a global theme</b>`plasma-apply-lookandfeel --apply [org.example.theme.desktop]`<br><b>Operate plasma-apply-lookandfeel without a display server</b>`plasma-apply-lookandfeel --platform offscreen`<br><b>Display help</b>`plasma-apply-lookandfeel --help`


title: TLDR
content:
<b>Create a container interactively in /var/lib/lxc/</b>`sudo lxc-create [[-n|--name]] [container_name] [[-t|--template]] download`<br><b>Create a container in a target directory</b>`sudo lxc-create [[-P|--lxcpath]] /[path/to/directory]/ [[-n|--name]] [container_name] [[-t|--template]] download`<br><b>Create a container passing options to a template</b>`sudo lxc-create [[-n|--name]] [container_name] [[-t|--template]] download -- [[-d|--dist]] [distro-name] [[-r|--release]] [release-version] [[-a|--arch]] [arch]`<br><b>Display help</b>`lxc-create [[-?|--help]]`


title: TLDR
content:
<b>Update all installed applications and runtimes (use -y to confirm all prompts automatically)</b>`flatpak update`<br><b>Update only a specific app</b>`flatpak update [com.example.app]`<br><b>Update/Downgrade to a specific commit (also see flatpak remote-info and flatpak mask)</b>`flatpak update --commit [COMMIT] [com.example.app]`


title: TLDR
content:
<b>List available desktop themes</b>`plasma-apply-desktoptheme --list-themes`<br><b>Apply a desktop theme</b>`plasma-apply-desktoptheme [default]`<br><b>Display help</b>`plasma-apply-desktoptheme --help`


title: TLDR
content:
<b>Extend partition n from sdX to fill empty space until end of disk or beginning of next partition</b>`growpart [/dev/sdX] [n]`<br><b>Show what modifications would be made when growing partition n in a disk image</b>`growpart [[-N|--dry-run]] /[path/to/disk.img] [n]`


title: TLDR
content:
<b>Start up Yakuake</b>`yakuake`<br><b>Toggle Yakuake visibility</b>`<F12>`<br><b>Toggle fullscreen mode</b>`<F11>`<br><b>Open a new tab</b>`<Ctrl Shift t>`<br><b>Switch between tabs</b>`<Shift [ArrowLeft|ArrowRight]>`<br><b>Create terminal splits</b>`<Ctrl [)|(]>`<br><b>Switch between splits</b>`[<Ctrl Tab>|<Ctrl Shift Tab>]`


title: TLDR
content:
<b>Print the volume label of a filesystem</b>`tune.exfat [[-l|--print-label]] [/dev/sdXY]`<br><b>Set the volume label of a filesystem</b>`tune.exfat [[-L|--set-label]] [new_label] [/dev/sdXY]`<br><b>Print the volume GUID of a filesystem</b>`tune.exfat [[-u|--print-guid]] [/dev/sdXY]`<br><b>Set the volume GUID of a filesystem</b>`tune.exfat [[-U|--set-guid]] [new_guid] [/dev/sdXY]`<br><b>Print the volume serial of a filesystem</b>`tune.exfat [[-i|--print-serial]] [/dev/sdXY]`<br><b>Set the volume serial of a filesystem</b>`tune.exfat [[-I|--set-serial]] [new_serial] [/dev/sdXY]`


title: TLDR
content:
<b>Show all generated messages in audit and message logs</b>`audit2allow [[-a|--all]]`<br><b>Show all generated messages since last boot</b>`audit2allow [[-b|--boot]]`<br><b>Display detailed information around generated messages</b>`audit2allow [[-e|--explain]]`<br><b>Enable verbose output mode</b>`audit2allow [[-v|--verbose]]`<br><b>Use installed macros to generate a reference policy</b>`audit2allow [[-R|--reference]]`<br><b>Specify a policy file for further analysis</b>`audit2allow [[-p|--policy]] [path/to/policyfile]`<br><b>Limit analysis to messages with a type specified in regex</b>`audit2allow [[-t|--type]] [type_regex]`<br><b>Display help</b>`audit2allow [[-h|--help]]`


title: TLDR
content:
<b>Connect to a serial console</b>`az serial-console connect [[-g|--resource-group]] [Resource_Group_Name] [[-n|--name]] [Virtual_Machine_Name]`<br><b>Terminate the connection</b>`<Ctrl ]>`


title: TLDR
content:
<b>Show a preview of updates to a stack's resources</b>`pulumi preview`<br><b>Show a preview of updates to a stack's resources in JSON format</b>`pulumi preview [[-j|--json]]`<br><b>Preview updates as a rich diff showing overall changes</b>`pulumi preview --diff`<br><b>Preview updates using a Policy Pack (without Pulumi Cloud, best on CI/CD)</b>`pulumi preview --policy-pack [path/to/directory]`<br><b>Display help</b>`pulumi preview [[-h|--help]]`


title: TLDR
content:
<b>List all duplicate packages within node_modules</b>`npm find-dupes`<br><b>Include devDependencies in duplicate detection</b>`npm find-dupes --include dev`<br><b>List all duplicate instances of a specific package in node-modules</b>`npm find-dupes [package_name]`<br><b>Exclude optional dependencies from duplicate detection</b>`npm find-dupes --omit optional`<br><b>Set the logging level for output</b>`npm find-dupes --loglevel [silent|error|warn|info|verbose]`<br><b>Output duplicate information in JSON format</b>`npm find-dupes --json`<br><b>Limit duplicate search to specific scopes</b>`npm find-dupes --scope [@scope1,@scope2]`<br><b>Exclude specific scopes from duplicate detection</b>`npm find-dupes --omit-scope [@scope1,@scope2]`


title: TLDR
content:
<b>Unpublish a specific package version</b>`npm unpublish [package_name]@[version]`<br><b>Unpublish the entire package</b>`npm unpublish [package_name] [[-f|--force]]`<br><b>Unpublish a package that is scoped</b>`npm unpublish @[scope]/[package_name]`<br><b>Specify a timeout period before unpublishing</b>`npm unpublish [package_name] --timeout [time_in_milliseconds]`<br><b>To prevent accidental unpublishing, use the --dry-run flag to see what would be unpublished</b>`npm unpublish [package_name] --dry-run`


title: TLDR
content:
<b>Set or update a yadm's Git configuration</b>`yadm config [key.inner-key] [value]`<br><b>Get a value from yadm's Git configuration</b>`yadm config --get [key]`<br><b>Unset a value in yadm's Git configuration</b>`yadm config --unset [key]`<br><b>List all values in yadm's Git configuration</b>`yadm config --list`


title: TLDR
content:
<b>Perform a basic scan of a subnet</b>`vinmap [[-ip|--ip_range]] [192.168.1.0/24]`<br><b>Scan a domain with version and OS detection, saving results to a specific file</b>`vinmap [[-ip|--ip_range]] [example.com] [[-s|--scan_type]] "-sV -O" -o [path/to/scan_results.xml]`<br><b>Scan an IP range using 10 chunks and 20 concurrent threads, uses half of the system's CPU cores if not specified</b>`vinmap [[-ip|--ip_range]] [10.0.0.1-10.0.0.255] [[-n|--num_chunks]] 10 [[-t|--threads]] 20`<br><b>Output scan results in JSON format</b>`vinmap [[-ip|--ip_range]] [192.168.1.1-192.168.1.100] [[-f|--format]] json`<br><b>Scan multiple IPs with default settings and save merged XML output</b>`vinmap [[-ip|--ip_range]] [192.168.1.1,192.168.1.2,...]`


title: TLDR
content:
<b>Log in to a registry user account and save the credentials to the .npmrc file</b>`npm login`<br><b>Log in using a custom registry</b>`npm login --registry [registry_url]`<br><b>Log in using a specific authentication strategy</b>`npm login --auth-type [legacy|web]`


title: TLDR
content:
<b>Run tests without committing changes</b>`codecrafters test`<br><b>Run tests for all previous stages and the current stage without committing changes</b>`codecrafters test --previous`<br><b>Commit changes and submit, to move to the next stage</b>`codecrafters submit`<br><b>Update language version</b>`codecrafters update-buildpack`


title: TLDR
content:
<b>Redirect a file to stdin (achieves the same effect as cat file.txt |)</b>`[command] < [path/to/file.txt]`<br><b>Create a here document and pass that into stdin (requires a multiline command)</b>`[command] << [EOF] <Enter> [multiline_text] <Enter> [EOF]`<br><b>Create a here string and pass that into stdin (achieves the same effect as echo string |)</b>`[command] <<< [string]`<br><b>Process data from a file and write the output to another file</b>`[command] < [path/to/file.txt] > [path/to/file2.txt]`<br><b>Write a here document into a file</b>`cat << [EOF] > [path/to/file.txt] <Enter> [multiline_data] <Enter> [EOF]`<br><b>Disregard leading tabs (good for scripts with indentation but does not work for spaces)</b>`cat <<- [EOF] > [path/to/file.txt] <Enter> [multiline_data] <Enter> [EOF]`<br><b>Pass command output to a program as a file descriptor</b>`diff <([command1]) <([command2])`<br><b>Open a persistent file descriptor</b>`exec [3]<[path/to/file]`


title: TLDR
content:
<b>Log in to the managed Pulumi Cloud backend, defaults to https://api.pulumi.com</b>`pulumi login`<br><b>Log in to a self-hosted Pulumi Cloud backend on a specified URL</b>`pulumi login [url]`<br><b>Use Pulumi locally, independent of a cloud backend</b>`pulumi login [[-l|--local]]`<br><b>Display help</b>`pulumi login [[-h|--help]]`


title: TLDR
content:
<b>Print the cache status of a file</b>`vmtouch [path/to/file]`<br><b>Load a file into cache</b>`vmtouch -t [path/to/file]`<br><b>Evict a file from cache</b>`vmtouch -e [path/to/file]`<br><b>Lock a file in cache to prevent eviction from memory</b>`vmtouch -l [path/to/file]`<br><b>Lock a file and daemonize the program</b>`vmtouch -ld [path/to/file]`


title: TLDR
content:
<b>Run cargo check whenever a change is detected in the current directory</b>`bacon`<br><b>Run cargo test whenever a change is detected in the given directory</b>`bacon test [path/to/directory]`<br><b>Run cargo check against all targets whenever a change is detected in the current directory</b>`bacon check-all`<br><b>Run a specific job whenever a change is detected in the current directory</b>`bacon [run|test|clippy|doc|...]`<br><b>List all currently available jobs</b>`bacon --list-jobs`<br><b>Initialize a bacon.toml configuration file in the current directory</b>`bacon --init`


title: TLDR
content:
<b>Create a .desktop file named app</b>`gendesk -n --name "[app]" --exec "/[path/to/app]" --icon "/[path/to/icon.png]" --comment "[This is application]"`<br><b>Create a .desktop file named app, do not display any output, and overwrite it if it exists</b>`gendesk -q -f -n --name "[app]" --exec "/[path/to/app]" --icon "/[path/to/icon.png]" --comment "[This is application]"`<br><b>Display help</b>`gendesk [[-h|--help]]`


title: TLDR
content:
<b>Fetch data</b>`snmptable -v [version] -c [community] [ip] [oid]`<br><b>Display help</b>`snmptable [[-h|--help]]`


title: TLDR
content:
<b>Start ghcid and monitor a Haskell file for changes</b>`ghcid [path/to/Main.hs]`<br><b>Start ghcid with a specific command, such as loading a Stack or Cabal project</b>`ghcid --command "[stack ghci Main.hs]"`<br><b>Run an action (default main) on each file save</b>`ghcid --run=[action] [path/to/Main.hs]`<br><b>Set maximum height and width (default to console height and width)</b>`ghcid --height=[height] --width=[width] [path/to/Main.hs]`<br><b>Write full GHC compiler output to a file</b>`ghcid --outputfile=[path/to/output_file.txt] [path/to/Main.hs]`<br><b>Execute REPL commands (eg. -- $> 1+1) on each file save</b>`ghcid --allow-eval [path/to/Main.hs]`


title: TLDR
content:
<b>Forward a TCP port to the only connected emulator or device</b>`adb forward tcp:[local_port] tcp:[remote_port]`<br><b>Forward a TCP port to a specific emulator or device (by device ID / [s]erial number)</b>`adb -s [device_ID] forward tcp:[local_port] tcp:[remote_port]`<br><b>List all forwardings</b>`adb forward --list`<br><b>Remove a forwarding rule</b>`adb forward --remove tcp:[local_port]`<br><b>Remove all forwarding rules</b>`adb forward --remove-all`


title: TLDR
content:
<b>Separate the color components of a PPM file, saving the outputs to file.red, file.grn and file.blu</b>`ppmtorgb3 [path/to/file.ppm]`


title: TLDR
content:
<b>Halt the currently running Vagrant machine gracefully</b>`vagrant halt`<br><b>Halt a specific machine by its ID or name gracefully</b>`vagrant halt [id_or_name]`<br><b>Forcefully halt the current running machine(s) (This can affect multiple running machines if they are part of the same Vagrant environment)</b>`vagrant halt [[-f|--force]]`<br><b>Forcefully halt a specific machine by its ID or name</b>`vagrant halt [[-f|--force]] [id_or_name]`


title: TLDR
content:
<b>List the repositories in a registry</b>`crane catalog [registry_address]`<br><b>Print the full image reference</b>`crane catalog [registry_address] --full-ref`<br><b>Display help</b>`crane catalog [[-h|--help]]`


title: TLDR
content:
<b>Print a list of files managed by yadm in the current directory</b>`yadm list`<br><b>List all files managed by yadm completely</b>`yadm list -a`


title: TLDR
content:
<b>Start browsh</b>`browsh`<br><b>Start browsh in a specific webpage</b>`browsh --startup-url [URL]`<br><b>Focus URL bar</b>`<Ctrl l>`<br><b>Exit browsh</b>`<Ctrl q>`<br><b>Display help</b>`browsh [[-h|--help]]`


title: TLDR
content:
<b>View the documentation for Microsoft Edge for Windows</b>`tldr [[-p|--platform]] windows msedge`<br><b>View the documentation for Microsoft Edge for other platforms</b>`tldr [[-p|--platform]] common microsoft-edge`


title: TLDR
content:
<b>Call a Move function from a package and module</b>`sui client ptb --move-call p::m::f "<[type]>" args`<br><b>Make a Move vector with two elements of type u64</b>`sui client ptb --make-move-vec "<u64>" "[1000,2000]"`<br><b>Split a gas coin and transfer it to address</b>`sui client ptb --split-coins gas "[1000]" --assign new_coins --transfer-objects "[new_coins]" @[address]`<br><b>Transfer an object to an address</b>`sui client ptb --transfer-objects "[[object_id]]" @[address]`<br><b>Publish a Move package, and transfer the upgrade capability to sender</b>`sui client ptb --move-call sui::tx_context::sender --assign sender --publish "." --assign upgrade_cap --transfer-objects "[upgrade_cap]" sender`


title: TLDR
content:
<b>Search for valid credentials by trying out every combination in the specified lists of usernames and passwords</b>`nxc winrm [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt]`<br><b>Specify the domain to authenticate to (avoids an initial SMB connection)</b>`nxc winrm [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] -d [domain_name]`<br><b>Execute the specified command on the host</b>`nxc winrm [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] -x [whoami]`<br><b>Execute the specified PowerShell command on the host as administrator using LAPS</b>`nxc winrm [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --laps -X [whoami]`


title: TLDR
content:
<b>Run all default health checks for npm</b>`npm doctor`<br><b>Check the connection to the npm registry</b>`npm doctor connection`<br><b>Check the versions of Node.js and npm in use</b>`npm doctor versions`<br><b>Check for permissions issues with npm directories and cache</b>`npm doctor permissions`<br><b>Validate the cached package files and checksums</b>`npm doctor cache`


title: TLDR
content:
<b>Format a file, overwriting the original</b>`tex-fmt [path/to/file.tex]`<br><b>Check if a file is correctly formatted</b>`tex-fmt --check [path/to/file.tex]`<br><b>Format a file read from stdin and print to stdout</b>`cat [path/to/file.tex] | tex-fmt --stdin`


title: TLDR
content:
<b>Create a context using a specific Docker endpoint</b>`docker context create [my_context] --docker "host=[tcp://remote-host:2375]"`<br><b>Create a context based on the DOCKER_HOST environment variable</b>`docker context create [my_context]`<br><b>Switch to a context</b>`docker context use [my_context]`<br><b>List all contexts</b>`docker context ls`


title: TLDR
content:
<b>Generate statistics for a local repository</b>`gitstats [path/to/git_repo/.git] [path/to/output_folder]`<br><b>View generated statistics in a web browser on Windows (PowerShell)/macOS/Linux</b>`[Invoke-Item|open|xdg-open] [path/to/output_folder/index.html]`


title: TLDR
content:
<b>List the current user's home directory contents</b>`ls ~`<br><b>List the home directory contents of another user</b>`ls ~[username]`<br><b>List the contents of the previous directory you were in</b>`ls ~-`


title: TLDR
content:
<b>Show dependency tree for current environment</b>`uv tree`<br><b>Show dependency tree for all environments</b>`uv tree --universal`<br><b>Show dependency tree up to a certain depth</b>`uv tree [[-d|--depth]] [n]`<br><b>Show the latest available version for all outdated packages</b>`uv tree --outdated`<br><b>Exclude dependencies from the dev group</b>`uv tree --no-dev`<br><b>Show the inverted tree, so children are dependents instead of dependencies</b>`uv tree --invert`


title: TLDR
content:
<b>Create a new user in the specified registry and save credentials to .npmrc</b>`npm adduser --registry [registry_url]`<br><b>Log in to a private registry with a specific scope</b>`npm login --scope [@organization] --registry [https://registry.example.com]`<br><b>Log out from a specific scope and remove the auth token</b>`npm logout --scope [@organization]`<br><b>Create a scoped package during initialization</b>`npm init --scope [@organization] [[-y|--yes]]`


title: TLDR
content:
<b>Create a logic app</b>`az logicapp create [[-n|--name]] [name] [[-g|--resource-group]] [resource_group] [[-s|--storage-account]] [storage_account]`<br><b>Delete a logic app</b>`az logicapp delete [[-n|--name]] [name] [[-g|--resource-group]] [resource_group]`<br><b>List logic apps</b>`az logicapp list [[-g|--resource-group]] [resource_group]`<br><b>Restart a logic app</b>`az logicapp restart [[-n|--name]] [name] [[-g|--resource-group]] [resource_group]`<br><b>Start a logic app</b>`az logicapp start [[-n|--name]] [name] [[-g|--resource-group]] [resource_group]`<br><b>Stop a logic app</b>`az logicapp stop [[-n|--name]] [name] [[-g|--resource-group]] [resource_group]`


title: TLDR
content:
<b>Install translation pairs for Spanish to English translation</b>`argospm install translate-es_en`<br><b>Translate some text from Spanish (es) to English (en) (Note: Only two letter language codes are supported)</b>`argos-translate --from-lang es --to-lang en [un texto corto]`<br><b>Translate a text file from English to Hindi</b>`cat [path/to/file.txt] | argos-translate --from-lang en --to-lang hi`<br><b>List all installed translation pairs</b>`argospm list`<br><b>Show translation pairs from English that are available to be installed</b>`argospm search --from-lang en`<br><b>Update installed language package pairs</b>`argospm update`<br><b>Translate from ar to ru (Note: This requires the translation pairs translate-ar_en and translate-en_ru to be installed)</b>`argos-translate --from-lang ar --to-lang ru [صورة تساوي أكثر من ألف كلمة]`


title: TLDR
content:
<b>Set cookies</b>`nhentai --cookie "csrftoken=[TOKEN]; sessionid=[ID]"`<br><b>Download a specific doujin</b>`nhentai --id [number]`<br><b>Download the first page of your favorites</b>`nhentai --favorites --download --delay 1`<br><b>Download specific pages of your favorites</b>`nhentai --favorites --pages [start_page]-[end_page] --download --delay 1`


title: TLDR
content:
<b>Start a new server instance serving the current directory</b>`filebrowser`<br><b>Start a new server instance serving a specific root directory</b>`filebrowser [[-r|--root]] [path/to/directory]`<br><b>Start an instance with different host address (defaults to 127.0.0.1) and port (defaults to 8080)</b>`filebrowser [[-a|--address]] [host] [[-p|--port]] [port] [[-r|--root]] [path/to/directory]`<br><b>Start an instance with a specified configuration file, storing the application database in a specific location (defaults to filebrowser.db on the current directory)</b>`filebrowser [[-c|--config]] [path/to/file] [[-d|--database]] [path/to/database.db] [[-r|--root]] [path/to/directory]`<br><b>Set up a different default first-time account username and password (both default to admin) when setting up a new instance</b>`filebrowser --username [username] --password [password] [[-r|--root]] [path/to/directory]`<br><b>Set up the maximum amount of image processors used when generating thumbnails (defaults to 4)</b>`filebrowser --img-processors [4] [[-r|--root]] [path/to/directory]`<br><b>Disable image thumbnails as well as the Command Runner feature, limiting access for hosted script files from being executed inside the app</b>`filebrowser --disable-exec --disable-thumbnails [[-r|--root]] [path/to/directory]`<br><b>Disable resizing of image previews as well as detecting file types by reading their headers</b>`filebrowser --disable-preview-resize --disable-type-detection-by-header [[-r|--root]] [path/to/directory]`


title: TLDR
content:
<b>Output commands</b>`yadm introspect commands`<br><b>Output configs</b>`yadm introspect configs`<br><b>Output switches for the main yadm command</b>`yadm introspect switches`<br><b>Output repo</b>`yadm introspect repo`


title: TLDR
content:
<b>List all installed boxes</b>`vagrant box list`<br><b>Add a new box</b>`vagrant box add [hashicorp/bionic64]`<br><b>Add a box from a custom URL</b>`vagrant box add [my-box] [https://example.com/my-box.box]`<br><b>Remove an installed box</b>`vagrant box remove [hashicorp/bionic64]`<br><b>Update all boxes that are in use in the current Vagrant environment</b>`vagrant box update`<br><b>Update a specific box</b>`vagrant box update --box [bento/debian-12]`<br><b>Check if there is a new version available for the box that you are using</b>`vagrant box outdated`<br><b>Clean up old versions of installed boxes</b>`vagrant box prune`


title: TLDR
content:
<b>Create a new dbx project in the current working directory</b>`dbx configure --profile [DEFAULT]`<br><b>Sync local files from the specified path to DBFS and watch for changes</b>`dbx sync dbfs --source [path/to/directory] --dest [path/to/remote_directory]`<br><b>Deploy the specified workflow to artifact storage</b>`dbx deploy [workflow_name]`<br><b>Launch the specified workflow after deploying it</b>`dbx launch [workflow_name]`


title: TLDR
content:
<b>Suspend the current shell (useful for when you are in nested shells like su)</b>`[bash] <Enter> suspend`<br><b>Continue from suspension if suspend was used in a non-nested shell (run this in a separate terminal)</b>`pkill -CONT [bash]`<br><b>Force suspension even if this would lock you out of the system</b>`suspend -f`


title: TLDR
content:
<b>Scaffold a new trigger, create, search, or resource</b>`zapier scaffold [trigger|search|create|resource] [noun]`<br><b>Specify a custom destination directory for the scaffolded files</b>`zapier scaffold [trigger|search|create|resource] [noun] [[-d|--dest]]=[path/to/directory]`<br><b>Overwrite existing files when scaffolding</b>`zapier scaffold [trigger|search|create|resource] [noun] [[-f|--force]]`<br><b>Exclude comments from the scaffolded files</b>`zapier scaffold [trigger|search|create|resource] [noun] --no-help`<br><b>Show extra debugging output</b>`zapier scaffold [[-d|--debug]]`


title: TLDR
content:
<b>Add a file or directory to a new or existing archive</b>`zpaq [[a|add]] [path/to/archive.zpaq] [path/to/file_or_directory]`<br><b>Create or add to an encrypted archive</b>`zpaq [[a|add]] -k[password] [path/to/archive.zpaq] [path/to/file_or_directory]`<br><b>Extract the most recent versions of files</b>`zpaq [[x|extract]] [path/to/archive.zpaq]`<br><b>List the archive contents</b>`zpaq [[l|list]] [path/to/archive.zpaq]`<br><b>Set the level of compression (higher means more compression but slower)</b>`zpaq [[a|add]] [path/to/archive.zpaq] -m[1|2|3|4|5] [path/to/file_or_directory]`<br><b>Extract the specified files from the archive that are not newer than the specified date</b>`zpaq [[x|extract]] [path/to/archive.zpaq] [path/in/archive/to/extract] -to [path/to/output] -until [YYYY-MM-DD]`


title: TLDR
content:
<b>Inspect the contents of a certificate</b>`step certificate inspect [path/to/certificate.crt]`<br><b>Create a root CA certificate and a key (append --no-password --insecure to skip private key password protection)</b>`step certificate create "[Example Root CA]" [path/to/root-ca.crt] [path/to/root-ca.key] --profile root-ca`<br><b>Generate a certificate for a specific hostname and sign it with the root CA (generating a CSR can be skipped for simplification)</b>`step certificate create [hostname.example.com] [path/to/hostname.crt] [path/to/hostname.key] --profile leaf --ca [path/to/root-ca.crt] --ca-key [path/to/root-ca.key]`<br><b>Verify a certificate chain</b>`step certificate verify [path/to/hostname.crt] --roots [path/to/root-ca.crt] --verbose`<br><b>Convert a PEM format certificate to DER and write it to disk</b>`step certificate format [path/to/certificate.pem] --out [path/to/certificate.der]`<br><b>Install or uninstall a root certificate in the system's default trust store</b>`step certificate [install|uninstall] [path/to/root-ca.crt]`<br><b>Create a RSA/EC private and public keypair (append --no-password --insecure to skip private key password protection)</b>`step crypto keypair [path/to/public_key] [path/to/private_key] --kty [RSA|EC]`<br><b>Display help for subcommands</b>`step [path|base64|certificate|completion|context|crl|crypto|oauth|ca|beta|ssh] --help`


title: TLDR
content:
<b>Start a REPL (interactive shell)</b>`bpython`<br><b>Execute a specific Python file</b>`bpython [path/to/file.py]`<br><b>Execute a specific Python file and start a REPL</b>`bpython [[-i|--interactive]] [path/to/file.py]`<br><b>Use the specified configuration file instead of the default configuration</b>`bpython --config [path/to/file.conf]`


title: TLDR
content:
<b>List the custom images under a resource group</b>`az image list [[-g|--resource-group]] [resource_group]`<br><b>Create a custom image from managed disks or snapshots</b>`az image create [[-g|--resource-group]] [resource_group] [[-n|--name]] [name] --os-type [windows|linux] --source [os_disk_source]`<br><b>Delete a custom image</b>`az image delete [[-n|--name]] [name] [[-g|--resource-group]] [resource_group]`<br><b>Show details of a custom image</b>`az image show [[-n|--name]] [name] [[-g|--resource-group]] [resource_group]`<br><b>Update custom images</b>`az image update [[-n|--name]] [name] [[-g|--resource-group]] [resource_group] --set [property=value]`


title: TLDR
content:
<b>Start minikube with a specific Kubernetes version</b>`minikube start --kubernetes-version [v1.24.0]`<br><b>Start minikube with specific resource allocations (e.g., memory and CPU)</b>`minikube start --memory [2048] --cpus [2]`<br><b>Start minikube with a specific driver (e.g., VirtualBox)</b>`minikube start --driver [virtualbox]`<br><b>Start minikube in the background (headless mode)</b>`minikube start --background`<br><b>Start minikube with custom add-ons (e.g., the metrics server)</b>`minikube start --addons [metrics-server]`


title: TLDR
content:
<b>Start an interactive setup</b>`mysql_secure_installation`<br><b>Use specific host and port</b>`mysql_secure_installation --host [host] --port [port]`<br><b>Display help</b>`mysql_secure_installation --help`


title: TLDR
content:
<b>Download an APK file to the specified directory</b>`apkeep [[-a|--app]] [com.example.application] [path/to/directory]`<br><b>List all available versions for download</b>`apkeep [[-a|--app]] [com.example.application] [[-l|--list-versions]] [path/to/directory]`<br><b>Specify a store to download from</b>`apkeep [[-a|--app]] [com.example.application] [[-d|--download-source]] [apk-pure|google-play|f-droid|huawei-app-gallery] [path/to/directory]`


title: TLDR
content:
<b>Choose a template interactively</b>`pulumi new`<br><b>Create a project from a specific template (e.g azure-python)</b>`pulumi new [provided-template]`<br><b>Create a project from a local file</b>`pulumi new [path/to/templates/aws-typescript]`<br><b>Create a project from a Git repository</b>`pulumi new [url]`<br><b>Use the specified secrets provider with the <pulumi.com> backend</b>`pulumi new --secrets-provider [passphrase]`


title: TLDR
content:
<b>View cached command locations for the current shell</b>`hash`<br><b>Clear the hash table</b>`hash -r`<br><b>Delete a specific command from the hash table</b>`hash -d [command]`<br><b>Print the full path of command</b>`hash -t [command]`<br><b>Display help</b>`hash --help`


title: TLDR
content:
<b>Copy an image from source to target</b>`crane copy [source] [target]`<br><b>Copy all tags</b>`crane copy [source] [target] [[-a|--all-tags]]`<br><b>Set the maximum number of concurrent copies, defaults to GOMAXPROCS</b>`crane copy [source] [target] [[-j|--jobs]] [int]`<br><b>Avoid overwriting existing tags in target</b>`crane copy [source] [target] [[-n|--no-clobber]]`<br><b>Display help</b>`crane copy [[-h|--help]]`


title: TLDR
content:
<b>Write tarball to stdout</b>`crane export [image_name] -`<br><b>Write tarball to file</b>`crane export [image_name] [path/to/tarball]`<br><b>Read image from stdin</b>`crane export - [path/to/file]`


title: TLDR
content:
<b>Execute a command until it succeeds</b>`until [command]; do :; done`<br><b>Wait for a systemd service to be active</b>`until systemctl is-active [[-q|--quiet]] [nginx]; do [echo "Waiting..."]; sleep 1; done; [echo "Launched!"]`


title: TLDR
content:
<b>Print input</b>`print "Hello" "World"`<br><b>Print separated by newline(s)</b>`print -l "Line1" "Line 2" "Line3"`<br><b>Print without trailing newline</b>`print -n "Hello"; print "World"`<br><b>Enable backslash escapes</b>`print -e "Line 1\nLine2"`<br><b>Print arguments as described by printf (for greater portability across shells, consider using the printf command instead)</b>`print -f "%s is %d years old.\n" "Alice" 30`


title: TLDR
content:
<b>List all bound commands and their hotkeys</b>`bind [-p|-P]`<br><b>Query a command for its hotkey</b>`bind -q [command]`<br><b>Bind a key</b>`bind -x '"[key_sequence]":[command]'`<br><b>List user defined bindings</b>`bind -X`<br><b>Display help</b>`help bind`


title: TLDR
content:
<b>Capture packets for default protocols (ICMP, TCP, UDP)</b>`sniffer.py`<br><b>Capture packets for specific protocols (e.g., ICMP, TCP)</b>`sniffer.py [protocol1 protocol2 ...]`<br><b>Capture packets for specific protocols (e.g., TCP)</b>`sniffer.py tcp`


title: TLDR
content:
<b>Unstar a public package from the default registry</b>`npm unstar [package_name]`<br><b>Unstar a package within a specific scope</b>`npm unstar @[scope]/[package_name]`<br><b>Unstar a package from a specific registry</b>`npm unstar [package_name] --registry [registry_url]`<br><b>Unstar a private package that requires authentication</b>`npm unstar [package_name] --auth-type [legacy|oauth|web|saml]`<br><b>Unstar a package by providing an OTP for two-factor authentication</b>`npm unstar [package_name] --otp [otp]`<br><b>Unstar a package with a specific logging level</b>`npm unstar [package_name] --loglevel [silent|error|warn|notice|http|timing|info|verbose|silly]`


title: TLDR
content:
<b>Start the Rails console</b>`rails console`<br><b>Start the Rails console and roll back all data modifications on exit</b>`rails console [[-s|--sandbox]]`<br><b>Start the Rails console on a specified environment</b>`rails console [[-e|--environment]] [dev|test|production|...]`<br><b>Display help</b>`rails console [[-h|--help]]`


title: TLDR
content:
<b>Build and serve a site</b>`hugo server`<br><b>Build and serve a site on a specified port number</b>`hugo server [[-p|--port]] [port_number]`<br><b>Build and serve a site while minifying supported output formats (HTML, XML, etc.)</b>`hugo server --minify`<br><b>Build and serve a site in the production environment with full re-renders while minifying supported formats</b>`hugo server [[-e|--environment]] [production] --disableFastRender --minify`<br><b>Display help</b>`hugo server [[-h|--help]]`


title: TLDR
content:
<b>Remove a package from the current project</b>`npm [[r|uninstall]] [package_name]`<br><b>Remove a package globally</b>`npm [[r|uninstall]] [[-g|--global]] [package_name]`<br><b>Remove multiple packages at once</b>`npm [[r|uninstall]] [package_name1 package_name2 ...]`


title: TLDR
content:
<b>Run the web server</b>`rails server`<br><b>Run the web server on a specified port</b>`rails server [[-p|--port]] [port_number]`<br><b>Run the web server on a specified IP address</b>`rails server [[-b|--binding]] [ip_address]`<br><b>Run the web server on a specified environment</b>`rails server [[-e|--environment]] [environment]`<br><b>Display help</b>`rails server [[-h|--help]]`


title: TLDR
content:
<b>Fetch the networking status</b>`snmpnetstat -v [version] -c [community] [ip]`<br><b>Display help</b>`snmpnetstat [[-h|--help]]`


title: TLDR
content:
<b>Start the prompt</b>`snmptest -v [version] -c [community] [ip]`<br><b>Display help</b>`snmptest [[-h|--help]]`


title: TLDR
content:
<b>Open Lazygit in the current repository</b>`lazygit`<br><b>Open Lazygit for a specific Git repository</b>`lazygit --path [path/to/repository]`<br><b>Start Lazygit with focus on a specific panel</b>`lazygit [status|branch|log|stash|...]`<br><b>Print the default Lazygit configuration</b>`lazygit --config`<br><b>Tail the Lazygit logs (useful with debug mode in another terminal)</b>`lazygit --logs`<br><b>Run Lazygit in debug mode</b>`lazygit --debug`<br><b>Print the configuration directory</b>`lazygit --print-config-dir`


title: TLDR
content:
<b>Skip to the next iteration</b>`while :; do continue; [echo "This will never be reached"]; done`<br><b>Skip to the next iteration from within a nested loop</b>`for i in [{1..3]}; do [echo $i]; while :; do continue 2; done; done`


title: TLDR
content:
<b>List all connected MicroPython devices</b>`mpremote connect list`<br><b>Open an interactive REPL session with a connected device</b>`mpremote connect [device]`<br><b>Run a local script on a connected device</b>`mpremote run [path/to/script.py]`<br><b>Mount a local directory to the device</b>`mpremote mount [path/to/directory]`<br><b>Install a mip package on the device</b>`mpremote mip install [package]`


title: TLDR
content:
<b>Evaluate a simple arithmetic expression</b>`let "[result = a + b]"`<br><b>Use post-increment and assignment in an expression</b>`let "[x++]"`<br><b>Use conditional operator in an expression</b>`let "[result = (x > 10) ? x : 0]"`<br><b>Display help</b>`let --help`


title: TLDR
content:
<b>Isolate variable names</b>`echo $[{HOME}work]`<br><b>Brace expand sequences</b>`echo [{1..3]} [{a..c]}[{dir1,dir2,dir3]}`<br><b>Check if variable is set before returning text</b>`echo $[{variable:+variable is set and contains $variable]}`<br><b>Set default values in case variable is unset</b>`echo $[{variable:-default]}`<br><b>Return variable length in characters</b>`echo $[{#variable]}`<br><b>Return a string slice</b>`echo $[{variable:3:7]}`<br><b>Recursively expand a variable</b>`echo $[{!variable]}`<br><b>Group command output together</b>`{ [command1; command2; ...] } | [another_command]`


title: TLDR
content:
<b>Flatten an image</b>`crane flatten`<br><b>Apply new tag to flattened image</b>`crane flatten [[-t|--tag]] [tag_name]`<br><b>Display help</b>`crane flatten [[-h|--help]]`


title: TLDR
content:
<b>Destroy all resources in the current stack</b>`pulumi destroy`<br><b>Destroy all resources in a specific stack</b>`pulumi destroy [[-s|--stack]] [stack]`<br><b>Automatically approve and destroy resources after previewing</b>`pulumi destroy [[-y|--yes]]`<br><b>Exclude protected resources from being destroyed</b>`pulumi destroy --exclude-protected`<br><b>Remove the stack and its configuration file after all resources in the stack are deleted</b>`pulumi destroy --remove`<br><b>Continue destroying the resources, even if an error is encountered</b>`pulumi destroy --continue-on-error`


title: TLDR
content:
<b>Delete a resource from the current stack's state</b>`pulumi state delete`<br><b>Move a resource from the current stack to another</b>`pulumi state move [resource_urn] --dest [stack_name]`<br><b>Rename a resource in the current stack's state</b>`pulumi state rename`<br><b>Repair an invalid state</b>`pulumi state repair`<br><b>Edit a stack's state in the editor specified by the EDITOR environment variable</b>`pulumi state edit --stack [stack_name]`<br><b>Display help</b>`pulumi state [[-h|--help]]`


title: TLDR
content:
<b>Show certificate information of a host</b>`cfssl certinfo -domain [www.google.com]`<br><b>Decode certificate information from a file</b>`cfssl certinfo -cert [path/to/certificate.pem]`<br><b>Scan host(s) for SSL/TLS issues</b>`cfssl scan [host1 host2 ...]`<br><b>Display help for a subcommand</b>`cfssl [genkey|gencsr|certinfo|sign|gencrl|ocspdump|ocsprefresh|ocspsign|ocspserve|scan|bundle|crl|print-defaults|revoke|gencert|serve|version|selfsign|info] -h`


title: TLDR
content:
<b>Start JupyterLab</b>`jupyter lab`<br><b>Open a specific notebook</b>`jupyter lab [path/to/notebook.ipynb]`<br><b>Start JupyterLab in a specific directory</b>`jupyter lab --notebook-dir [path/to/directory]`<br><b>Start JupyterLab in debug mode</b>`jupyter lab --debug`


title: TLDR
content:
<b>Set a value</b>`snmpset -v [version] -c [community] [ip] [oid] [value_type] [value]`<br><b>Display help</b>`snmpset [[-h|--help]]`


title: TLDR
content:
<b>Uninstall a package</b>`adb uninstall [com.example.app]`<br><b>Uninstall a package, but keep user data</b>`adb uninstall -k [com.example.app]`


title: TLDR
content:
<b>Search for a package by name</b>`npm [[s|search]] [package]`<br><b>Search for packages by a specific keyword</b>`npm [[s|search]] [keyword]`<br><b>Search for packages, including detailed information (e.g., description, author, version)</b>`npm [[s|search]] [package] --long`<br><b>Search for packages maintained by a specific author</b>`npm [[s|search]] --author [author]`<br><b>Search for packages with a specific organization</b>`npm [[s|search]] --scope [organization]`<br><b>Search for packages with a specific combination of terms</b>`npm [[s|search]] [term1 term2 ...]`


title: TLDR
content:
<b>Modify an image index</b>`crane index`<br><b>Modify an image index with subcommand</b>`crane index [subcommand]`<br><b>Display help</b>`crane index [[-h|--help]]`


title: TLDR
content:
<b>Add the latest version of a package</b>`uv add [package]`<br><b>Add multiple packages</b>`uv add [package1 package2 ...]`<br><b>Add a package with a version requirement</b>`uv add [package>=1.2.3]`<br><b>Add packages to an optional dependency group, which will be included when published</b>`uv add --optional [optional] [package1 package2 ...]`<br><b>Add packages to a local group, which will not be included when published</b>`uv add --group [group] [package1 package2 ...]`<br><b>Add packages to the dev group, shorthand for --group dev</b>`uv add --dev [package1 package2 ...]`<br><b>Add package as editable</b>`uv add --editable [path/to/package]/`<br><b>Enable an extra when installing package, may be provided multiple times</b>`uv add [package] --extra [extra_feature]`


title: TLDR
content:
<b>Convert the specified SPOT image to PGM format</b>`rlatopam [path/to/file] > [path/to/output.pam]`


title: TLDR
content:
<b>Convert an SVG file to Netpbm format</b>`svgtopam [path/to/file.svg] > [path/to/output.pam]`<br><b>Emit textual output describing the input image</b>`svgtopam [[-t|-trace]] [path/to/file.svg]`


title: TLDR
content:
<b>Open a new Ghostty window (not supported on macOS)</b>`ghostty`<br><b>Run a specific command in a new Ghostty window (not supported on macOS)</b>`ghostty -e [command]`<br><b>List all default and configured keybindings</b>`ghostty +list-keybinds`<br><b>List all actions (i.e. what can be triggered via keybindings)</b>`ghostty +list-actions`<br><b>Browse an interactive list of themes</b>`ghostty +list-themes`<br><b>Print the default configuration (including comments)</b>`ghostty +show-config --default --docs`


title: TLDR
content:
<b>Print a colorful table with the translation progress of a file</b>`pocount [path/to/file.po]`<br><b>Print translation progress of various files, one line per file</b>`pocount --short [translation_*.ts]`<br><b>Generate a CSV file with the translation progress of various files</b>`pocount --csv [translation_*.ts] > [path/to/translation_progress.csv]`


title: TLDR
content:
<b>Initialize repo to use Git Crypt</b>`yadm git-crypt init`<br><b>Share the repository using GPG</b>`yadm git-crypt add-gpg-user [user_id]`<br><b>After cloning a repository with encrypted files, unlock them</b>`yadm git-crypt unlock`<br><b>Export a symmetric secret key</b>`yadm git-crypt export-key [path/to/key_file]`


title: TLDR
content:
<b>Start SSO session and refresh access tokens. Requires setup using aws configure sso</b>`aws sso login`<br><b>End SSO session and clear cached access tokens</b>`aws sso logout`<br><b>List all AWS accounts accessible to the user</b>`aws sso list-accounts`<br><b>List all roles accessible to the user for a given AWS account</b>`aws sso list-account-roles --account-id [account] --access-token [token]`<br><b>Retrieve short-term credentials for a specific account</b>`aws get-role-credentials --account-id [account] --role-name [role] --access-token [token]`


title: TLDR
content:
<b>Add a user to a team in an organization</b>`npm team add [organization:team] [username]`<br><b>Remove a user from a team</b>`npm team rm [organization:team] [username]`<br><b>Create a new team in an organization</b>`npm team create [organization:team]`<br><b>Delete a team from an organization</b>`npm team destroy [organization:team]`<br><b>List all teams in an organization</b>`npm team ls [organization]`<br><b>List all users in a specific team</b>`npm team ls [organization:team]`


title: TLDR
content:
<b>Exit a function prematurely</b>`[func_name]() { [echo "This is reached"]; return; [echo "This is not"]; }`<br><b>Specify the function's return value</b>`[func_name]() { return [exit_code]; }`


title: TLDR
content:
<b>Display help for a subcommand</b>`gcrane help [command]`<br><b>Display help</b>`gcrane help [[-h|--help]]`


title: TLDR
content:
<b>Display information about the currently loaded program on a Pico</b>`picotool info`<br><b>Load a binary onto a Pico</b>`picotool load [path/to/binary]`<br><b>Convert an ELF or BIN file to UF2</b>`picotool uf2 convert [path/to/elf_or_bin] [path/to/output]`<br><b>Reboot a Pico</b>`picotool reboot`<br><b>List all known registers</b>`picotool otp list`<br><b>Display version</b>`picotool version`<br><b>Display help</b>`picotool help`


title: TLDR
content:
<b>Enter an interactive database session</b>`nxcdb`<br><b>Display the currently active workspace</b>`nxcdb --get-workspace`<br><b>Create a new workspace</b>`nxcdb --create-workspace [workspace_name]`<br><b>Activate the specified workspace</b>`nxcdb --set-workspace [workspace_name]`


title: TLDR
content:
<b>List all available goenv commands</b>`goenv commands`<br><b>Install a specific version of Golang</b>`goenv install [go_version]`<br><b>Use a specific version of Golang in the current project</b>`goenv local [go_version]`<br><b>Set the default Golang version</b>`goenv global [go_version]`<br><b>List all available Golang versions and highlight the default one</b>`goenv versions`<br><b>Uninstall a given Go version</b>`goenv uninstall [go_version]`<br><b>Run an executable with the selected Go version</b>`goenv exec go run [go_version]`


title: TLDR
content:
<b>Match input_file content with pattern file check_file</b>`FileCheck --input-file=[path/to/input_file] [path/to/check_file]`<br><b>Match input from the stdin with pattern file check_file</b>`echo "[some_text]" | FileCheck [path/to/check_file]`<br><b>Match with the specified custom check prefix (Note: The default prefix is CHECK)</b>`echo "[some_text]" | FileCheck --check-prefix=[prefix] [path/to/check_file]`<br><b>Print good directive pattern matches</b>`echo "[some_text]" | FileCheck -v [path/to/check_file]`<br><b>Input llvm_code.ll into llvm-as, then pipe the output into FileCheck to match</b>`llvm-as [path/to/llvm_code.ll] | FileCheck [path/to/check_file]`


title: TLDR
content:
<b>Execute crane auth subcommand</b>`crane auth [subcommand]`<br><b>Implement credential helper</b>`crane auth get [registry_address] [[-h|--help]]`<br><b>Log in to a registry</b>`crane auth login [registry_address] [[-h|--help]] [[-p|--password]] [password] [-password-stdin] [[-u|--username]] [username]`<br><b>Log out of a registry</b>`crane auth logout [registry_address] [[-h|--help]]`<br><b>Retrieve a token for a remote repository</b>`crane auth token [registry_address] [[-H|--header]] [[-h|--help]] [[-m|--mount]] [scope1 scope2 ...] --push`<br><b>Display help</b>`crane auth [[-h|--help]]`


title: TLDR
content:
<b>Extract archive, guessing the extraction tool from extension</b>`dtrx [path/to/file]`<br><b>Extract archive, overwrite any existing target output</b>`dtrx --overwrite [path/to/file]`<br><b>Extract archive, put everything into current directory</b>`dtrx --flat [path/to/file]`


title: TLDR
content:
<b>Get a SUI coin from the faucet associated with the active network</b>`sui client faucet`<br><b>Get a SUI coin for the address (accepts also an alias)</b>`sui client faucet --address [address]`<br><b>Get a SUI coin from custom faucet</b>`sui client faucet --url [custom-faucet-url]`


title: TLDR
content:
<b>Break out of a single loop</b>`while :; do break; done`<br><b>Break out of nested loops</b>`while :; do while :; do break 2; done; done`


title: TLDR
content:
<b>Display an image in the terminal</b>`img2sixel [path/to/image]`<br><b>Resize the image to the specified width and height before displaying it</b>`img2sixel [[-w|--width]] [number] [[-h|--height]] [number] [path/to/image]`


title: TLDR
content:
<b>Create an audiobook with the audio files in the input directory</b>`m4b-tool merge [path/to/input_directory] --output-file=[path/to/merged.m4b]`<br><b>Make chapters using the input files' names</b>`m4b-tool merge [path/to/input_directory] --output-file=[path/to/merged.m4b] --use-filenames-as-chapters`


title: TLDR
content:
<b>Star a public package from the default registry</b>`npm star [package_name]`<br><b>Star a package within a specific scope</b>`npm star @[scope]/[package_name]`<br><b>Star a package from a specific registry</b>`npm star [package_name] --registry [registry_url]`<br><b>Star a private package that requires authentication</b>`npm star [package_name] --auth-type [legacy|oauth|web|saml]`<br><b>Star a package by providing an OTP for two-factor authentication</b>`npm star [package_name] --otp [otp]`<br><b>Star a package with detailed logging</b>`npm star [package_name] --loglevel verbose`<br><b>List all your starred packages</b>`npm star --list`<br><b>List your starred packages from a specific registry</b>`npm star --list --registry [registry_url]`


title: TLDR
content:
<b>Scan a website for broken links</b>`lychee [https://example.com]`<br><b>Display a breakdown of error types</b>`lychee --format detailed [https://example.com]`<br><b>Limit the amount of connections to prevent DDOS protection</b>`lychee --max-concurrency [5] [links.txt]`<br><b>Check files in a directory structure for any broken URLs</b>`grep [[-r|--recursive]] "[pattern]" | lychee -`<br><b>Display help</b>`lychee --help`


title: TLDR
content:
<b>Enumerate all Active Directory users and their attributes</b>`GetADUsers.py -all -dc-ip [domain_controller_ip] [domain]/[username]:[password]`<br><b>Retrieve information only for a specific user</b>`GetADUsers.py -user [user] -dc-ip [domain_controller_ip] [domain]/[username]:[password]`<br><b>Extract user details using pass-the-hash authentication</b>`GetADUsers.py -all -dc-ip [domain_controller_ip] -hashes [LM_Hash]:[NT_Hash] [domain]/[username]`<br><b>Save output to a file</b>`GetADUsers.py -all -dc-ip [domain_controller_ip] [domain]/[username]:[password] > [path/to/output.txt]`


title: TLDR
content:
<b>Get the digest of an image</b>`crane digest [image_name]`<br><b>Print the full image reference by digest</b>`crane digest [image_name] --full-ref`<br><b>Specify path to tarball containing the image</b>`crane digest [image_name] --tarball [path/to/tarball]`<br><b>Display help</b>`crane digest [[-h|--help]]`


title: TLDR
content:
<b>List the tags</b>`crane ls [repository]`<br><b>Print the full image reference</b>`crane ls [repository] --full-ref`<br><b>Omit digest tags</b>`crane ls [[-o|--omit-digest-tags]]`<br><b>Display help</b>`crane ls [[-h|--help]]`


title: TLDR
content:
<b>Print the username of the currently logged in user</b>`pulumi whoami`<br><b>Print detailed information about the currently logged in user</b>`pulumi whoami [[-v|--verbose]]`<br><b>Print detailed information about the currently logged in user as JSON</b>`pulumi whoami [[-j|--json]]`<br><b>Display help</b>`pulumi whoami [[-h|--help]]`


title: TLDR
content:
<b>Delete an image reference from its registry</b>`crane delete [image_name]`<br><b>Display help</b>`crane delete [[-h|--help]]`


title: TLDR
content:
<b>Run a full speed test (download and upload)</b>`speedtest-rs`<br><b>Display a list of speedtest.net servers sorted by distance</b>`speedtest-rs --list`<br><b>Run a download test only</b>`speedtest-rs --no-upload`<br><b>Run an upload test only</b>`speedtest-rs --no-download`<br><b>Generate a shareable link to the test results image</b>`speedtest-rs --share`<br><b>Display basic output information only</b>`speedtest-rs --simple`


title: TLDR
content:
<b>Start a HTTP proxy (on the loopback network interface 127.0.0.1 and port 8888)</b>`proxify`<br><b>Start a HTTP proxy on a custom network interface and port (may require sudo for a port number lower than 1024)</b>`proxify [[-ha|-http-addr]] "[ip_address]:[port_number]"`<br><b>Specify output format and output file</b>`proxify [[-of|-output-format]] [jsonl|yaml] [[-o|-output]] [path/to/file]`<br><b>Display help</b>`proxify -h`


title: TLDR
content:
<b>Run pangolin on the specified FASTA file</b>`pangolin [path/to/file.fa]`<br><b>Use the specified analysis engine</b>`pangolin --analysis-mode [accurate|fast|pangolearn|usher]`


title: TLDR
content:
<b>Dump credentials from a Windows machine using a username and password</b>`secretsdump.py [domain]/[username]:[password]@[target]`<br><b>Dump hashes from a machine using pass-the-hash authentication</b>`secretsdump.py -hashes [LM_Hash]:[NT_Hash] [domain]/[username]@[target]`<br><b>Dump credentials from Active Directory's NTDS.dit file</b>`secretsdump.py -just-dc [domain]/[username]:[password]@[target]`<br><b>Extract credentials from a local SAM database using registry hives</b>`secretsdump.py -sam [path/to/SAM] -system [path/to/SYSTEM]`<br><b>Dump hashes from a machine without providing a password (if a valid authentication session exists, e.g. via Kerberos or NTLM SSO)</b>`secretsdump.py -no-pass [domain]/[username]@[target]`


title: TLDR
content:
<b>Rebase image</b>`crane rebase`<br><b>New base image to insert</b>`crane rebase --new_base [image_name]`<br><b>Old base image to remove</b>`crane rebase --old_base [image_name]`<br><b>Tag to apply to rebased image</b>`crane rebase [[-t|--tag]] [tag_name]`<br><b>Display help</b>`crane rebase [[-h|--help]]`


title: TLDR
content:
<b>List available network interfaces and select one to start capturing packets (requires sudo)</b>`sudo sniff.py`<br><b>Capture packets and save output to a file while displaying it on the terminal</b>`sudo sniff.py | sudo tee [path/to/output_file]`


title: TLDR
content:
<b>Convert object data from multiple JSON files to a CSV file with header (-oh) and double quote</b>`trdsql -ocsv -oh "SELECT * FROM [path/to/directory/*.json]" | sed 's/\([^,]*\)/"&"/g' > [path/to/file.csv]`<br><b>Interpret JSON list as a table and put objects inside as columns (path/to/file.json: {"list":[{"age":"26","name":"Tanaka"}]})</b>`trdsql "SELECT * FROM [path/to/file.json]::.list"`<br><b>Manipulate complex SQL query with data from multiple CSV files with first line is header (-ih)</b>`trdsql -icsv -ih "SELECT [column1,column2] FROM [path/to/file*.csv] WHERE column2 != '' ORDER BY column1 GROUP BY column1"`<br><b>Merge content of 2 CSV files to one CSV file</b>`trdsql "SELECT [column1,colum2] FROM [path/to/file1.csv] UNION SELECT [column1,column2] FROM [path/to/file2.csv]"`<br><b>Connect to PostgreSQL database</b>`trdsql -driver postgres -dsn "host=[hostname] port=[5433] dbname=[database_name]" "SELECT 1"`<br><b>Create table data to MySQL database from CSV file</b>`trdsql -driver mysql -dsn "[username]:[password]@[hostname]/[database]" -ih "CREATE TABLE [table] ([column1] int, [colum2] varchar(20)) AS SELECT [column3] AS [column1],[column2] FROM [path/to/header_file.csv]"`<br><b>Show data from compress log files</b>`trdsql -iltsv "SELECT * FROM [path/to/access.log.gz]"`


title: TLDR
content:
<b>Cut and rearrange fields</b>`echo "foo bar baz" | tuc [[-d|--delimiter]] '[ ]' [[-f|--fields]] [3,2,1]`<br><b>Replace the delimiter space with an arrow</b>`echo "foo bar baz" | tuc [[-d|--delimiter]] ' ' [[-r|--replace-delimiter]] ' ➡ '`<br><b>Keep a range of fields</b>`echo "foo bar    baz" | tuc [[-d|--delimiter]] ' ' [[-f|--fields]] [2:]`<br><b>Cut using regex</b>`echo "a,b, c" | tuc [[-e|--regex]] '[[, ]+]' [[-f|--fields]] [1,3]`<br><b>Emit JSON output</b>`echo "foo bar baz" | tuc [[-d|--delimiter]] '[ ]' --json`


title: TLDR
content:
<b>Define a function with the specified name</b>`function [func_name] { [echo "Function contents here"]; }`<br><b>Run a function named func_name</b>`func_name`<br><b>Define a function without the function keyword</b>`[func_name]() { [echo "Function contents here"]; }`<br><b>Display help</b>`help function`


title: TLDR
content:
<b>Convert a PPM image into an PJXL file</b>`ppmtopjxl [path/to/image.ppm] > [path/to/output.pjxl]`<br><b>Resize the input image</b>`ppmtopjxl [[-xsi|-xsize]] [10cm] [[-ysi|-ysize]] [5cm] [path/to/image.ppm] > [path/to/output.pjxl]`<br><b>Shift the input image</b>`ppmtopjxl [[-xsh|-xshift]] [10pt] [[-ysh|-yshift]] [5pt] [path/to/image.ppm] > [path/to/output.pjxl]`<br><b>Do not use the normal TIFF 4.0 compression method</b>`ppmtopjxl [[-n|-nopack]] [path/to/image.ppm] > [path/to/output.pjxl]`


title: TLDR
content:
<b>Convert a visual builder integration</b>`zapier convert [integration_id] [path/to/directory]`<br><b>Convert a visual builder integration with a specific version</b>`zapier convert [integration_id] [path/to/directory] [[-v|--version]]=[version]`<br><b>Show extra debugging output</b>`zapier convert --debug`


title: TLDR
content:
<b>Add a new user to an organization</b>`npm org set [organization_name] [username]`<br><b>Change a user's role in an organization</b>`npm org set [organization_name] [username] [developer|admin|owner]`<br><b>Remove a user from an organization</b>`npm org rm [organization_name] [username]`<br><b>List all users in an organization</b>`npm org ls [organization_name]`<br><b>List all users in an organization, output in JSON format</b>`npm org ls [organization_name] --json`<br><b>Display a user's role in an organization</b>`npm org ls [organization_name] [username]`


title: TLDR
content:
<b>Download the contents of a URL to a file using multiple threads (default behavior differs from wget)</b>`wget2 [https://example.com/resource]`<br><b>Limit the number of threads used for downloading (default is 5 threads)</b>`wget2 --max-threads [10] [https://example.com/resource]`<br><b>Download a single web page and all its resources (scripts, stylesheets, images, etc.)</b>`wget2 [[-p|--page-requisites]] [[-k|--convert-links]] [https://example.com/somepage.html]`<br><b>Mirror a website, but do not ascend to the parent directory (does not download embedded page elements)</b>`wget2 [[-m|--mirror]] [[-np|--no-parent]] [https://example.com/somepath/]`<br><b>Limit the download speed and the number of connection retries</b>`wget2 --limit-rate [300k] [[-t|--tries]] [100] [https://example.com/somepath/]`<br><b>Continue an incomplete download (behavior is consistent with wget)</b>`wget2 [[-c|--continue]] [https://example.com]`<br><b>Download all URLs stored in a text file to a specific directory</b>`wget2 [[-P|--directory-prefix]] [path/to/directory] [[-i|--input-file]] [URLs.txt]`<br><b>Download a file from an HTTP server using Basic Auth (also works for HTTPS)</b>`wget2 --user [username] --password [password] [https://example.com]`


title: TLDR
content:
<b>Request results from all the search engines</b>`onionsearch "[string]"`<br><b>Request search results from specific search engines</b>`onionsearch "[string]" --engines [tor66|deeplink|phobos|...]`<br><b>Exclude certain search engines when searching</b>`onionsearch "[string]" --exclude [candle|ahmia|...]`<br><b>Limit the number of pages to load per engine</b>`onionsearch "[stuxnet]" --engines [tor66|deeplink|phobos|...] --limit [3]`<br><b>List all supported search engines</b>`onionsearch --help | grep [[-A|--after-context]] 1 [[-i|--ignore-case]] "supported engines"`


title: TLDR
content:
<b>Start Shotcut</b>`shotcut`<br><b>Open audio/video files</b>`shotcut [path/to/file1 path/to/file2 ...]`<br><b>Start with a specific audio driver</b>`shotcut --SDL_AUDIODRIVER "[pulseaudio]"`<br><b>Start in fullscreen</b>`shotcut --fullscreen`<br><b>Start with GPU processing</b>`shotcut --gpu`


title: TLDR
content:
<b>Encode an audio file to MP3 using CBR 320 kbit/second</b>`lame -b 320 [path/to/file].wav [path/to/output].mp3`<br><b>Encode an audio file to MP3 using the V0 preset</b>`lame -V 0 [path/to/file].wav [path/to/output].mp3`<br><b>Encode an audio file to AAC</b>`lame [path/to/file].wav [path/to/output].aac`


title: TLDR
content:
<b>Simplify the specified source file and save the result to the specified output file</b>`latexpand [[-o|--output]] [path/to/output.tex] [path/to/file.tex]`<br><b>Do not remove comments</b>`latexpand --keep-comments [[-o|--output]] [path/to/output.tex] [path/to/file.tex]`<br><b>Do not expand \includes, \inputs etc.</b>`latexpand --keep-includes [[-o|--output]] [path/to/output.tex] [path/to/file.tex]`<br><b>Expand \usepackages as far as the corresponding STY files can be found</b>`latexpand --expand-usepackage [[-o|--output]] [path/to/output.tex] [path/to/file.tex]`<br><b>Inline the specified BBL file</b>`latexpand --expand-bbl [path/to/bibliography.bbl] [[-o|--output]] [path/to/output.tex] [path/to/file.tex]`


title: TLDR
content:
<b>Install dependencies listed in package.json</b>`npm [[i|install]]`<br><b>Download a specific version of a package and add it to the list of dependencies in package.json</b>`npm [[i|install]] [package_name]@[version]`<br><b>Download the latest version of a package and add it to the list of dev dependencies in package.json</b>`npm [[i|install]] [[-D|--save-dev]] [package_name]`<br><b>Download the latest version of a package and install it globally</b>`npm [[i|install]] [[-g|--global]] [package_name]`


title: TLDR
content:
<b>Initialize a database</b>`sudo mariadb-install-db --user [user] --basedir [/usr] --datadir [/var/lib/mysql]`<br><b>Display help</b>`mariadb-install-db --help`


title: TLDR
content:
<b>Pull remote image</b>`crane pull [image_name] [path/to/tarball]`<br><b>Preserve image reference used to pull as an annotation when used with --format=oci</b>`crane pull [image_name] [path/to/tarball] --annotate-ref`<br><b>Path to cache image layers</b>`crane pull [image_name] [path/to/tarball] [[-c|--cache_path]] [path/to/cache]`<br><b>Format in which to save images (default tarball)</b>`crane pull [image_name] [path/to/tarball] [-format] [format_name]`<br><b>Display help</b>`crane pull [[-h|--help]]`


title: TLDR
content:
<b>Fetch the values</b>`snmpstatus -v [version] -c [community] [ip]`<br><b>Display help</b>`snmpstatus [[-h|--help]]`


title: TLDR
content:
<b>Create a new Move project in the given folder</b>`sui move new [project_name]`<br><b>Test the Move project in the current directory</b>`sui move test`<br><b>Test with coverage and get a summary</b>`sui move test --coverage; sui move coverage summary`<br><b>Find which parts of your code are covered from tests (i.e. explain coverage results)</b>`sui move coverage source --module [module_name]`<br><b>Build the Move project in the current directory</b>`sui move build`<br><b>Build the Move project from the given path</b>`sui move build --path [path]`<br><b>Migrate to Move 2024 for the package at the provided path</b>`sui move migrate [path]`


title: TLDR
content:
<b>Run a script</b>`npm run [script_name]`<br><b>Pass arguments to a script</b>`npm run [script_name] -- [argument] [--option]`<br><b>Run a script named start</b>`npm start`<br><b>Run a script named stop</b>`npm stop`<br><b>Run a script named restart</b>`npm restart`<br><b>Run a script named test</b>`npm [[t|test]]`


title: TLDR
content:
<b>Enumerate users with Kerberos pre-authentication disabled (default anonymous enumeration)</b>`GetNPUsers.py [domain]/ -usersfile [path/to/userslist] -dc-ip [domain_controller_ip] -no-pass`<br><b>Perform AS-REP roasting and dump crackable hashes for offline cracking</b>`GetNPUsers.py [domain]/ -usersfile [path/to/userslist] -dc-ip [domain_controller_ip] -no-pass -request`<br><b>Authenticate with valid credentials (if anonymous binding is disabled)</b>`GetNPUsers.py [domain]/[username]:[password] -usersfile [path/to/userslist] -dc-ip [domain_controller_ip]`<br><b>Use pass-the-hash authentication instead of a password</b>`GetNPUsers.py [domain]/[username] -hashes [LM_Hash]:[NT_Hash] -usersfile [path/to/userslist] -dc-ip [domain_controller_ip]`<br><b>Save the output to a file for further analysis</b>`GetNPUsers.py [domain]/ -usersfile [path/to/userslist] -dc-ip [domain_controller_ip] -request > [path/to/output.txt]`


title: TLDR
content:
<b>Create a new stack</b>`pulumi stack init [stack_name]`<br><b>Show the stack state along with resource URNs</b>`pulumi stack [[-u|--show-urns]]`<br><b>List stacks in the current project</b>`pulumi stack ls`<br><b>List stacks across all projects</b>`pulumi stack ls [[-a|--all]]`<br><b>Select an active stack</b>`pulumi stack select [stack_name]`<br><b>Delete a stack</b>`pulumi stack rm [stack_name]`<br><b>Show stack outputs, including secrets, in plaintext</b>`pulumi stack output --show-secrets`<br><b>Export the stack state to a JSON file</b>`pulumi stack export --file [path/to/file.json]`


title: TLDR
content:
<b>Trace method invoke chain</b>`trace [class-pattern] [method-pattern]`<br><b>Trace method invoke chains and only display invoke information longer than 10 ms</b>`trace [class-pattern] [method-pattern] '#cost > [10]'`<br><b>Trace the invoke chain of multiple classes or multiple methods</b>`trace -E [class-pattern1]|[class-patter2] [method-pattern1]|[method-pattern2]|[method-pattern3]`<br><b>Track method invoke chains, only display invoke information that exceeds 10 ms, and exit after 5 times</b>`trace [class-pattern] [method-pattern] '#cost > [10]' -n 5`


title: TLDR
content:
<b>Convert a rectangular projection worldmap to Mercator projection</b>`pnmmercator [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Convert a Mercator projection worldmap to rectangular projection</b>`pnmmercator [[-i|-inverse]] [path/to/image.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Compress a PNG file (overwrites the file by default)</b>`oxipng [path/to/file.png]`<br><b>Compress a PNG file and save the output to a new file</b>`oxipng --out [path/to/output.png] [path/to/file.png]`<br><b>Compress all PNG files in the current directory using multiple threads</b>`oxipng "*.png"`<br><b>Compress a file with a set optimization level (default is 2)</b>`oxipng --opt [0|1|2|3|4|5|6|max] [path/to/file.png]`<br><b>Set the PNG interlacing type (0 removes interlacing, 1 applies Adam7 interlacing, keep preserves existing interlacing; default is 0)</b>`oxipng --interlace [0|1|keep] [path/to/file.png]`<br><b>Perform additional optimization on images with an alpha channel</b>`oxipng --alpha [path/to/file.png]`<br><b>Use the much slower but stronger Zopfli compressor with max optimization</b>`oxipng --zopfli --opt max [path/to/file.png]`<br><b>Strip all non-critical metadata chunks</b>`oxipng --strip all [path/to/file.png]`


title: TLDR
content:
<b>Create a Rails app named blog in the current directory</b>`rails new blog`<br><b>Create a Rails app with API-only configuration</b>`rails new [app_name] --api`<br><b>Create a Rails app with postgresql as the database</b>`rails new [app_name] [[-d|--database]] postgresql`<br><b>Create a Rails app without generating JavaScript files</b>`rails new [app_name] [[-J|--skip-javascript]]`<br><b>Display help</b>`rails new [[-h|--help]]`


title: TLDR
content:
<b>Request a single value from the SNMP agent</b>`snmpget -v [version] -c [community] [ip] [oid]`<br><b>Display the full Object Identifier (OID) path</b>`snmpget -v [version] -c [community] -O f [ip] [oid]`<br><b>Display help</b>`snmpget [[-h|--help]]`


title: TLDR
content:
<b>Find packages that are outdated in a project</b>`npm outdated`<br><b>Find packages that are outdated regardless of the current project</b>`npm outdated [[-a|--all]]`


title: TLDR
content:
<b>Display username of the currently logged-in user</b>`npm whoami`<br><b>Display username of the current user in the specific registry</b>`npm whoami --registry [registry_url]`


title: TLDR
content:
<b>Execute a Sui subcommand</b>`sui [subcommand]`<br><b>Build tools for a smart contract</b>`sui move [subcommand]`<br><b>Publish smart contracts, get object information, execute transactions and more</b>`sui client [subcommand]`<br><b>Start a local network</b>`sui start`<br><b>Update from source</b>`cargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui`


title: TLDR
content:
<b>Get the configuration of an image</b>`crane config [image_name]`<br><b>Display help</b>`crane config [[-h|--help]]`


title: TLDR
content:
<b>Generate a color wheel of type Ppmcirc</b>`ppmwheel [diameter] > [path/to/output.ppm]`<br><b>Generate a color wheel of type Hue-value</b>`ppmwheel [[-huev|-huevalue]] [diameter] > [path/to/output.ppm]`<br><b>Generate a color wheel of type Hue-saturation</b>`ppmwheel [[-hues|-huesaturation]] [diameter] > [path/to/output.ppm]`


title: TLDR
content:
<b>Validate an image</b>`crane validate`<br><b>Skip downloading/digesting layers</b>`crane validate --fast`<br><b>Name of remote image to validate</b>`crane validate --remote [image_name]`<br><b>Path to tarball to validate</b>`crane validate --tarball [path/to/tarball]`<br><b>Display help</b>`crane validate [[-h|--help]]`


title: TLDR
content:
<b>Print the list of builtins</b>`enable`<br><b>Disable a builtin (works in Bash only)</b>`enable -n [command]`


title: TLDR
content:
<b>Enumerate user accounts with an SPN and request their Kerberos TGS tickets</b>`GetUserSPNs.py [domain]/[username]:[password] -dc-ip [domain_controller_ip]`<br><b>Use pass-the-hash authentication</b>`GetUserSPNs.py [domain]/[username] -hashes [LM_Hash]:[NT_Hash] -dc-ip [domain_controller_ip]`<br><b>Save the output to a file</b>`GetUserSPNs.py [domain]/[username]:[password] -dc-ip [domain_controller_ip] -outputfile [path/to/output_file]`<br><b>Request only TGS tickets</b>`GetUserSPNs.py [domain]/[username]:[password] -dc-ip [domain_controller_ip] -request`<br><b>Request only TGS tickets using pass-the-hash authentication</b>`GetUserSPNs.py [domain]/[username] -dc-ip [domain_controller_ip] -hashes [LM_Hash]:[NT_Hash] -request`


title: TLDR
content:
<b>Open a specific URL or file</b>`microsoft-edge [https://example.com|path/to/file.html]`<br><b>Open in InPrivate mode</b>`microsoft-edge --inprivate [example.com]`<br><b>Open in a new window</b>`microsoft-edge --new-window [example.com]`<br><b>Open in application mode (without toolbars, URL bar, buttons, etc.)</b>`microsoft-edge --app=[https://example.com]`<br><b>Use a proxy server</b>`microsoft-edge --proxy-server="[socks5://hostname:66]" [example.com]`<br><b>Open with a custom profile directory</b>`microsoft-edge --user-data-dir=[path/to/directory]`<br><b>Open without CORS validation (useful to test an API)</b>`microsoft-edge --user-data-dir=[path/to/directory] --disable-web-security`<br><b>Open with a DevTools window for each tab opened</b>`microsoft-edge --auto-open-devtools-for-tabs`


title: TLDR
content:
<b>Pair with an Android device (address and pairing code can be found in developer options)</b>`adb pair [ip_address]:[port]`<br><b>Connect to an Android device (port will be different from pairing)</b>`adb connect [ip_address]:[port]`<br><b>Disconnect a device</b>`adb disconnect [ip_address]:[port]`


title: TLDR
content:
<b>Generate compile_commands.json by running a build command</b>`bear -- [make]`<br><b>Generate compilation database with a custom output file name</b>`bear --output [path/to/compile_commands.json] -- [make]`<br><b>Append results to an existing compile_commands.json file</b>`bear --append -- [make]`<br><b>Run in verbose mode to get detailed output</b>`bear --verbose -- [make]`<br><b>Force bear to use the preload method for command interception</b>`bear --force-preload -- [make]`


title: TLDR
content:
<b>Return all elements of class card</b>`cat [path/to/file.html] | htmlq '.card'`<br><b>Get the text content of the first paragraph</b>`cat [path/to/file.html] | htmlq --text 'p:first-of-type'`<br><b>Find all the links in a page</b>`cat [path/to/file.html] | htmlq --attribute href 'a'`<br><b>Remove all images and SVGs from a page</b>`cat [path/to/file.html] | htmlq --remove-nodes 'img' --remove-nodes 'svg'`<br><b>Pretty print and write the output to a file</b>`htmlq --pretty --filename [path/to/input.html] --output [path/to/output.html]`


title: TLDR
content:
<b>Convert the specified SPOT image to PGM format</b>`spottopgm [path/to/file.spot] > [path/to/output.pgm]`<br><b>Extract the specified color channel</b>`spottopgm -[1|2|3] [path/to/file.spot] > [path/to/output.pgm]`<br><b>Extract the specified rectangle from the input image</b>`spottopgm [first_col first_row last_col last_row] [path/to/file.spot] > [path/to/output.pgm]`


title: TLDR
content:
<b>Show the status of collected analytics</b>`zapier analytics`<br><b>Change how much information is collected</b>`zapier analytics [[-m|--mode]] [enabled|anonymous|disabled]`<br><b>Show extra debugging output</b>`zapier analytics [[-m|--mode]] [enabled|anonymous|disabled] [[-d|--debug]]`


title: TLDR
content:
<b>Display version</b>`npm version`<br><b>Bump the minor version</b>`npm version minor`<br><b>Set a specific version</b>`npm version [version]`<br><b>Bump the patch version without creating a Git tag</b>`npm version patch --no-git-tag-version`<br><b>Bump the major version with a custom commit message</b>`npm version major [[-m|--message]] "[Upgrade to %s for reasons]"`


title: TLDR
content:
<b>Push image based on a base image</b>`crane append [[-b|--base]] [image_name]`<br><b>Push image with appended layer from tarball</b>`crane append [[-f|--new_layer]] [layer_name1 layer_name2 ...]`<br><b>Push image with appended layer with new tag</b>`crane append [[-t|--new_tag]] [tag_name]`<br><b>Push resulting image to new tarball</b>`crane append [[-o|--output]] [path/to/tarball]`<br><b>Use empty base image of type OCI media instead of Docker</b>`crane append --oci-empty-base`<br><b>Annotate resulting image as being based on the base image</b>`crane append --set-base-image-annotations`<br><b>Display help</b>`crane append [[-h|--help]]`


title: TLDR
content:
<b>Check for security vulnerabilities in your current project</b>`composer audit`<br><b>Omit dev dependencies in the audit</b>`composer audit --no-dev`<br><b>Filter vulnerabilities by output format</b>`composer audit --format [table|plain|json|summary]`<br><b>Output audit results to a file in JSON format</b>`composer audit --format json > audit_report.json`<br><b>Verify whether a specific package in your project is affected by security issues</b>`composer audit [vendor]/[package]`


title: TLDR
content:
<b>Compile a file and output its executable</b>`v [path/to/file.v]`<br><b>Compile the current project or directory</b>`v .`<br><b>Compile a file and run it</b>`v run [path/to/file.v]`<br><b>Compile a file and run it, output its executable</b>`v crun [path/to/file.v]`<br><b>Re-compile on every modification to a file</b>`v watch [path/to/file.v]`<br><b>Re-run on every modification to a file</b>`v watch run [path/to/file.v]`<br><b>Open the v repl</b>`v repl`<br><b>Format a file and [w]rite to it</b>`v fmt -w [path/to/file.v]`


title: TLDR
content:
<b>Compose English phrase into C declaration, and create [c]ompilable output (include ; and {})</b>`cdecl -c [phrase]`<br><b>Explain C declaration in English</b>`cdecl explain [C_declaration]`<br><b>Cast a variable to another type</b>`cdecl cast [variable_name] to [type]`<br><b>Run in [i]nteractive mode</b>`cdecl -i`


title: TLDR
content:
<b>Push an integration to Zapier</b>`zapier push`<br><b>Disable smart file inclusion (will only include files required by index.js)</b>`zapier push --disable-dependency-detection`<br><b>Show extra debugging output</b>`zapier push [[-d|--debug]]`


title: TLDR
content:
<b>Search for valid credentials by trying out every combination in the specified lists of usernames and passwords</b>`nxc rdp [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt]`<br><b>Take a screenshot after waiting the for specified number of seconds</b>`nxc rdp [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --screenshot --screentime [10]`<br><b>Take a screenshot in the specified resolution</b>`nxc rdp [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --screenshot --res [1024x768]`<br><b>Take a screenshot of the RDP login prompt if Network Level Authentication is disabled</b>`nxc rdp [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --nla-screenshot`


title: TLDR
content:
<b>List available network interfaces</b>`tcpreplay --listnics`<br><b>Replay traffic to interface</b>`tcpreplay [[-i|--intf1]] [eth0] [traffic.pcap]`<br><b>Replay traffic to interface and stdout</b>`tcpreplay [[-i|--intf1]] [eth0] [[-v|--verbose]] [traffic.pcap]`<br><b>Replay traffic to interface as fast as possible</b>`tcpreplay [[-i|--intf1]] [eth0] [[-t|--topspeed]] [traffic.pcap]`<br><b>Replay traffic to interface at given Mbps</b>`tcpreplay [[-i|--intf1]] [eth0] [[-M|--mbps]] [10] [traffic.pcap]`<br><b>Replay traffic to interface several times</b>`tcpreplay [[-i|--intf1]] [eth0] [[-l|--loop]] [num_times] [traffic.pcap]`


title: TLDR
content:
<b>Download videos/images from the specified links to URL or ID's of posts</b>`bdfr download [path/to/output_directory] [[-l|--link]] [post_url]`<br><b>Download the maximum possible number (roughly 1000) of videos/images from a specified user</b>`bdfr download [path/to/output_directory] [[-u|--user]] [reddit_user] --submitted`<br><b>Download submission data (text, upvotes, comments, etc.) limited to 10 submissions for each subreddit (30 total)</b>`bdfr archive [path/to/output_directory] [[-s|--subreddit]] '[Python, all, mindustry]' [[-L|--limit]] 10`<br><b>Download videos/images from the subreddit r/Python sorted by top (default is hot) using time filter all, limited to 10 submissions</b>`bdfr download [path/to/output_directory] [[-s|--subreddit]] Python [[-S|--sort]] top [[-t|--time]] all [[-L|--limit]] 10`<br><b>Download the maximum possible number of both submission data and videos/images from subreddit r/Python skipping over submissions with mp4 or gif file extensions and creating hard links for duplicate files</b>`bdfr clone [path/to/output_directory] [[-s|--subreddit]] Python --skip mp4 --skip gif --make-hard-links`<br><b>Download saved posts of the authenticated user, naming each file according to a specified format. Avoid downloading duplicates and posts already present in the output directory</b>`bdfr download [path/to/output_directory] [[-u|--user]] me --saved --authenticate --file-scheme '[ {POSTID}_{TITLE}_{UPVOTES} ]' --no-dupes --search-existing`


title: TLDR
content:
<b>Check if an option is the first set option in the current context</b>`getopts [x] [opt]; echo $[opt]`<br><b>Check if an option is set in a string (specified option must be the first element of the string)</b>`getopts [x] [opt] "[string text]"; echo $[opt]`<br><b>Set an option to require an argument and print them</b>`getopts [x]: [opt]; echo $[opt] $OPTARG`<br><b>Check for multiple options</b>`while getopts [xyz] [opt]; do case $[opt] in x) [echo x is set];; y) [echo y is set];; z) [echo z is set];; esac; done`<br><b>Set getopts to silent mode and handle option errors</b>`while getopts :[x:] [opt]; do case $[opt] in x) ;; :) [echo "Argument required"];; ?) [echo "Invalid argument"] esac;; done`<br><b>Reset getopts</b>`OPTIND=1`


title: TLDR
content:
<b>Run the setup to configure fabric</b>`fabric [[-S|--setup]]`<br><b>List all available patterns</b>`fabric [[-l|--listpatterns]]`<br><b>Run a pattern with input from a file</b>`fabric < [path/to/input_file] [[-p|--pattern]] [pattern_name]`<br><b>Run a pattern on a YouTube video URL</b>`fabric [[-y|--youtube]] "[https://www.youtube.com/watch?v=video_id]" [[-p|--pattern]] [pattern_name]`<br><b>Chain patterns together by piping output from one to another</b>`fabric [[-p|--pattern]] [pattern1] | fabric [[-p|--pattern]] [pattern2]`<br><b>Run a custom user-defined pattern</b>`fabric [[-p|--pattern]] [custom_pattern_name]`<br><b>Run a pattern and save the output to a file</b>`fabric [[-p|--pattern]] [pattern_name] [[-o|--output]] [path/to/output_file]`<br><b>Run a pattern with the specified variables</b>`fabric [[-p|--pattern]] [pattern_name] [[-v|--variable]] "[variable_name]:[value]"`


title: TLDR
content:
<b>Show all data</b>`ntpctl -s [[a|all]]`<br><b>Show information about each peer</b>`ntpctl -s [[p|peers]]`<br><b>Show the status of peers and sensors, and whether the system clock is synced</b>`ntpctl -s [[s|status]]`<br><b>Show information about each sensor</b>`ntpctl -s [[S|Sensors]]`


title: TLDR
content:
<b>Deprecate a specific version of a package</b>`npm deprecate [package_name]@[version] "[deprecation_message]"`<br><b>Deprecate a range of versions of a package</b>`npm deprecate [package_name]@"<[version_range]" "[deprecation_message]"`<br><b>Un-deprecate a specific version of a package</b>`npm deprecate [package_name]@[version] ""`


title: TLDR
content:
<b>Run all Flexget tasks now</b>`flexget execute --now`<br><b>Start the Flexget daemon and daemonize its process</b>`flexget daemon start --daemonize`<br><b>List all series recorded in Flexget</b>`flexget series list`<br><b>Run a task from a configuration file</b>`flexget -c [path/to/config.yml] execute --task [task_name]`


title: TLDR
content:
<b>Check the architecture of a single target system</b>`getArch.py -target [target]`<br><b>Check the architecture of multiple targets from a file (one per line)</b>`getArch.py -targets [path/to/targets_file]`<br><b>Set a custom socket timeout (default is 2 seconds)</b>`getArch.py -target [target] -timeout [seconds]`<br><b>Enable debug mode for detailed output</b>`getArch.py -target [target] -debug`


title: TLDR
content:
<b>Connect to an MSSQL server using Windows authentication</b>`mssqlclient.py -windows-auth [domain]/[username]:[password]@[target]`<br><b>Connect using SQL server authentication</b>`mssqlclient.py [username]:[password]@[target]`<br><b>Connect using pass-the-hash authentication</b>`mssqlclient.py [domain]/[username]@[target] -hashes [LM_Hash]:[NT_Hash]`<br><b>Connect using Kerberos authentication (requires valid tickets)</b>`mssqlclient.py -k [domain]/[username]@[target]`<br><b>Execute a specific SQL command upon connection</b>`mssqlclient.py [username]:[password]@[target] -query "[SELECT user_name();]"`<br><b>Execute multiple SQL commands from a file</b>`mssqlclient.py [username]:[password]@[target] -file [path/to/sql_file.sql]`<br><b>Connect to a specific database instance (default is None)</b>`mssqlclient.py [username]:[password]@[target] -db [database_name]`<br><b>Display SQL queries before execution</b>`mssqlclient.py [username]:[password]@[target] -show`


title: TLDR
content:
<b>Fetch the disk space usage</b>`snmpdf -v [version] -c [community] [ip]`<br><b>Display help</b>`snmpdf [[-h|--help]]`


title: TLDR
content:
<b>Debug the dbt project and the connection to the database</b>`dbt debug`<br><b>Run all models of the project</b>`dbt run`<br><b>Run all tests of example_model</b>`dbt test --select example_model`<br><b>Build (load seeds, run models, snapshots, and tests associated with) example_model and its downstream dependents</b>`dbt build --select example_model+`<br><b>Build all models, except the ones with the tag not_now</b>`dbt build --exclude "tag:not_now"`<br><b>Build all models with tags one and two</b>`dbt build --select "tag:one,tag:two"`<br><b>Build all models with tags one or two</b>`dbt build --select "tag:one tag:two"`


title: TLDR
content:
<b>Open Lazydocker</b>`lazydocker`<br><b>Display the current default configuration</b>`lazydocker --config`<br><b>Run Lazydocker in debug mode</b>`lazydocker --debug`<br><b>Specify an alternate Docker Compose file</b>`lazydocker --file [path/to/docker-compose.yml]`<br><b>Display help</b>`lazydocker --help`<br><b>Display version</b>`lazydocker --version`


title: TLDR
content:
<b>Connect to a Zapier account</b>`zapier login`<br><b>Initialize a new Zapier integration with a project template</b>`zapier init [path/to/directory]`<br><b>Add a starting trigger, create, search, or resource to your integration</b>`zapier scaffold [trigger|create|search|resource] [name]`<br><b>Test an integration</b>`zapier test`<br><b>Build and upload an integration to Zapier</b>`zapier push`<br><b>Display help</b>`zapier help`<br><b>Display help for a specific command</b>`zapier help [command]`


title: TLDR
content:
<b>List packages for a user or scope</b>`npm access list packages [user|scope|scope:team] [package_name]`<br><b>List collaborators on a package</b>`npm access list collaborators [package_name] [username]`<br><b>Get status of a package</b>`npm access get status [package_name]`<br><b>Set package status (public or private)</b>`npm access set status [public|private] [package_name]`<br><b>Grant access to a package</b>`npm access grant [read-only|read-write] [scope:team] [package_name]`<br><b>Revoke access to a package</b>`npm access revoke [scope:team] [package_name]`<br><b>Configure two-factor authentication requirement</b>`npm access set mfa [none|publish|automation] [package_name]`


title: TLDR
content:
<b>Update or set a Git configuration value</b>`yadm gitconfig [key.inner-key] [value]`<br><b>Get a value from yadm's Git configuration</b>`yadm gitconfig --get [key]`<br><b>Unset a value in yadm's Git configuration</b>`yadm gitconfig --unset [key]`<br><b>List all values in yadm's Git configuration</b>`yadm gitconfig --list`


title: TLDR
content:
<b>Request the next value from the SNMP agent</b>`snmpbulkget -v [version] -c [community] [ip] [oid]`<br><b>Display the full Object Identifier (OID) path</b>`snmpbulkget -v [version] -c [community] -O f [ip] [oid]`<br><b>Display help</b>`snmpbulkget [[-h|--help]]`


title: TLDR
content:
<b>Clone an existing repository</b>`yadm clone [remote_repository_location]`<br><b>Clone an existing repository, then execute the bootstrap file</b>`yadm clone [remote_repository_location] --bootstrap`<br><b>Clone an existing repository and after cloning, do not execute the bootstrap file</b>`yadm clone [remote_repository_location] --no-bootstrap`<br><b>Change the worktree that yadm will use during cloning</b>`yadm clone [remote_repository_location] --w [worktree_file]`<br><b>Change the branch that yadm gets files from</b>`yadm clone [remote_repository_location] -b [branch]`<br><b>Override an existing repository local branch</b>`yadm clone [remote_repository_location] -f`


title: TLDR
content:
<b>Assemble assembly code file into object file with machine code</b>`llvm-mc --filetype=obj -o [path/to/output.o] [path/to/input.s]`<br><b>Disassemble object file with machine code into assembly code file</b>`llvm-mc --disassemble -o [path/to/output.s] [path/to/input.o]`<br><b>Compile LLVM bit code file into assembly code</b>`llvm-mc -o [path/to/output.s] [path/to/input.bc]`<br><b>Assemble assembly code from stdin and show encoding to stdout</b>`echo "[addl %eax, %ebx]" | llvm-mc -show-encoding -show-inst`<br><b>Disassemble machine code from stdin for specified triple</b>`echo "[0xCD 0x21]" | llvm-mc --disassemble -triple=[target_name]`


title: TLDR
content:
<b>Print the line and filename where the current function was called</b>`caller`<br><b>Print the line, function and filename where the current function was called</b>`caller 0`<br><b>Print the line, the function name and the filename of a function call n frames back</b>`caller [n]`


title: TLDR
content:
<b>Generate a skyline STL file for the current year and authenticated user</b>`gh skyline`<br><b>Generate a skyline for a specific user and year</b>`gh skyline [[-u|--user]] [username] [[-y|--year]] [year]`<br><b>Generate a skyline for a range of years</b>`gh skyline [[-u|--user]] [username] [[-y|--year]] [first_year]-[last_year]`<br><b>Generate a full skyline (from the user's join year to the current year)</b>`gh skyline [[-u|--user]] [username] [[-f|--full]]`<br><b>Enable debug logging</b>`gh skyline [[-d|--debug]]`<br><b>Generate a skyline and specify the output file path</b>`gh skyline [[-o|--output]] [path/to/output_file.stl]`<br><b>Open the GitHub profile for a specific user</b>`gh skyline [[-u|--user]] [username] [[-w|--web]]`<br><b>Display help</b>`gh skyline [[-h|--help]]`


title: TLDR
content:
<b>Run a command with environment variables from a .env file</b>`dotenvx run -- [command]`<br><b>Run a command with environment variables from a specific .env file</b>`dotenvx run -f [path/to/file.env] -- [command]`<br><b>Set an environment variable with encryption</b>`dotenvx set [key] [value]`<br><b>Set an environment variable without encryption</b>`dotenvx set [key] [value] --plain`<br><b>Return environment variables defined in a .env file</b>`dotenvx get`<br><b>Return the value of an environment variable defined in a .env file</b>`dotenvx get [key]`<br><b>Return all environment variables from .env files and OS</b>`dotenvx get --all`


title: TLDR
content:
<b>Report bugs for a specific package by opening the bug tracker for the specified package</b>`npm bugs [package_name]`<br><b>Open the bug tracker for the current package by searching for a package.json file and using its name</b>`npm bugs`<br><b>Configure the browser used to open URLs by setting your preferred browser for npm commands</b>`npm [[c|config]] set browser [browser_name]`<br><b>Control URL opening: set browser to true for the system URL opener, or false to print URLs in the terminal</b>`npm [[c|config]] set browser [true|false]`


title: TLDR
content:
<b>Upgrade yadm to the latest version</b>`yadm upgrade`<br><b>Force the upgrade regardless of changes</b>`yadm upgrade -f`


title: TLDR
content:
<b>List untagged images</b>`gcrane gc [repository]`<br><b>Whether to recurse through repositories</b>`gcrane gc [repository] [[-r|--recursive]]`<br><b>Display help</b>`gcrane gc [[-h|--help]]`


title: TLDR
content:
<b>Create a new Hatch project</b>`hatch new [project_name]`<br><b>Initialize Hatch for an existing project</b>`hatch new --init`<br><b>Build a Hatch project</b>`hatch build`<br><b>Remove build artifacts</b>`hatch clean`<br><b>Create a default environment with dependencies defined in the pyproject.toml file</b>`hatch env create`<br><b>Show environment dependencies as a table</b>`hatch dep show table`


title: TLDR
content:
<b>View information about the latest version of a package</b>`npm [[v|view]] [package]`<br><b>View information about a specific version of a package</b>`npm [[v|view]] [package]@[version]`<br><b>View all available versions of a package</b>`npm [[v|view]] [package] versions`<br><b>View the description of a package</b>`npm [[v|view]] [package] description`<br><b>View the dependencies of the latest version of a package</b>`npm [[v|view]] [package] dependencies`<br><b>View the repository URL of a package</b>`npm [[v|view]] [package] repository`<br><b>View the maintainers of a package</b>`npm [[v|view]] [package] maintainers`


title: TLDR
content:
<b>Compare the current stack's state with the state in the cloud provider and adopt any changes into the current stack</b>`pulumi refresh`<br><b>Refresh resources in the current stack and show the operation as a rich diff</b>`pulumi refresh --diff`<br><b>Refresh resources in the current stack and return an error if any changes occur during the refresh</b>`pulumi refresh --expect-no-changes`<br><b>Only show a preview of the refresh, but don't perform the refresh itself</b>`pulumi refresh --preview-only`<br><b>The name of the stack to operate on (defaults to the current stack)</b>`pulumi refresh [[-s|--stack]] [stack_name]`<br><b>Display help</b>`pulumi refresh [[-h|--help]]`


title: TLDR
content:
<b>Modify remote index</b>`crane index filter`<br><b>Specify the platform(s) to keep from base in the form os/arch/variant:osversion,platform</b>`crane index filter --platform [platform1 platform2 ...]`<br><b>Tag to apply to resulting image</b>`crane index filter [[-t|--tags]] [tag_name]`<br><b>Display help</b>`crane index filter [[-h|--help]]`


title: TLDR
content:
<b>Search for valid credentials by trying out every combination in the specified lists of usernames and passwords</b>`nxc vnc [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt]`<br><b>Avoid rate limiting through VNC-sleep</b>`nxc vnc [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt] --vnc-sleep [10]`<br><b>Take a screenshot on the remote system after waiting the specified amount of time</b>`nxc vnc [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --screenshot --screentime [10]`


title: TLDR
content:
<b>List all containers and virtual machines (both running and stopped)</b>`incus list`<br><b>Create a container from an image, with a custom name</b>`incus create [image] [container_name]`<br><b>Start or stop an existing container</b>`incus [start|stop] [container_name]`<br><b>Open a shell inside an already running container</b>`incus shell [container_name]`<br><b>Remove a stopped container</b>`incus delete [container_name]`<br><b>Pull an image from an image repository (remote) to local</b>`incus copy [remote]:[image] local:[custom_image_name]`<br><b>List all available images in the official images: remote</b>`incus image list images:`<br><b>List all images already downloaded to the local: remote</b>`incus image list local:`


title: TLDR
content:
<b>Tag remote image</b>`crane tag [image_name] [tag_name]`<br><b>Display help</b>`crane tag [[-h|--help]]`


title: TLDR
content:
<b>Login to a registry</b>`gcrane auth login [registry] [[-u|--username]] [user] [[-p|--password]] [password]`<br><b>List tags, manifests, and sub-repostiories</b>`gcrane ls [registry]/[project_id]`<br><b>Copy images from one registry to another</b>`gcrane cp [[-r|--recursive]] [source_registry]/[project_id]/[repository] [target_registry]/[project_id]/[repository]`<br><b>Print images that can be garbage collected</b>`gcrane gc [registry]/[project_id]/[repository]`<br><b>Delete images that can be garbage collected</b>`gcrane gc [registry]/[project_id]/[repository] | xargs [[-n|--max-args]] 1 gcrane delete`<br><b>List a specific registry with specific ID</b>`gcrane ls [gcr.io]/[my-project-id]`<br><b>Migrate all images from US registry to EU registry</b>`gcrane cp [[-r|--recursive]] [gcr.io]/[my-project-id]/[repository] [eu.gcr.io]/[my-project-id]/[repository]`


title: TLDR
content:
<b>Add a specific package to the cache</b>`npm cache add [package_name]`<br><b>Remove a specific package from the cache</b>`npm cache remove [package_name]`<br><b>Clear a specific cached item by key</b>`npm cache clean [key]`<br><b>Clear the entire npm cache</b>`npm cache clean --force`<br><b>List the contents of the npm cache</b>`npm cache ls`<br><b>Verify the integrity of the npm cache</b>`npm cache verify`<br><b>Show the cache path</b>`npm [[c|config]] get cache`<br><b>Change the cache path</b>`npm [[c|config]] set cache [path/to/directory]`


title: TLDR
content:
<b>Read the blob from a registry</b>`crane blob [blob_identifier]`<br><b>Display help</b>`crane blob [[-h|--help]]`


title: TLDR
content:
<b>Deduplicate packages in node_modules</b>`npm [[ddp|dedupe]]`<br><b>Follow package-lock.json or npm-shrinkwrap.json during deduplication</b>`npm [[ddp|dedupe]] --lock`<br><b>Run deduplication in strict mode</b>`npm [[ddp|dedupe]] --strict`<br><b>Skip optional/peer dependencies during deduplication</b>`npm [[ddp|dedupe]] --omit [optional|peer]`<br><b>Enable detailed logging for troubleshooting</b>`npm [[ddp|dedupe]] --loglevel verbose`<br><b>Limit deduplication to a specific package</b>`npm [[ddp|dedupe]] [package_name]`


title: TLDR
content:
<b>Open an about:blank page</b>`carbonyl`<br><b>Open a webpage</b>`carbonyl [https://example.com]`<br><b>Exit carbonyl</b>`<Ctrl c>`<br><b>Display help</b>`carbonyl [[-h|--help]]`


title: TLDR
content:
<b>Set a specific latitude and longitude</b>`idevicesetlocation [latitude] [longitude]`<br><b>Reset the simulated location</b>`idevicesetlocation reset`


title: TLDR
content:
<b>Open a file in editor</b>`o [path/to/file]`<br><b>Open a file as read-only</b>`o [[-m|-monitor]] [path/to/file]`<br><b>Save the file</b>`<Ctrl s>`<br><b>Quit Orbiton</b>`<Ctrl q>`<br><b>Display help</b>`o [[-h|--help]]`


title: TLDR
content:
<b>Combine three PGM images (representing red, green and blue color components) into one PPM image</b>`rgb3toppm [path/to/red_file.ppm] [path/to/green_file.ppm] [path/to/blue_file.ppm] > [path/to/output.ppm]`


title: TLDR
content:
<b>Send a message to the security topic</b>`ntfy pub security "[Front door has been opened.]"`<br><b>Send with a title, priority and tags</b>`ntfy publish --title="[Someone bought your item]" --priority=[high] --tags=[duck] [ebay] "[Someone just bought your item: Platypus Sculpture]"`<br><b>Send at 8:30am</b>`ntfy pub --at=8:30am [delayed_topic] "[Time for school, sleepyhead...]"`<br><b>Trigger a webhook</b>`ntfy trigger [my_webhook]`<br><b>Subscribe to a topic (<Ctrl c> to stop listening)</b>`ntfy sub [home_automation]`<br><b>Display help</b>`ntfy --help`


title: TLDR
content:
<b>Pipe stdout to stdin</b>`[command] | [command]`<br><b>Pipe both stdout and stderr to stdin</b>`[command] |& [command]`


title: TLDR
content:
<b>List all environments</b>`pulumi env ls`<br><b>Create an environment</b>`pulumi env init [environment_name]`<br><b>Set a value in an environment</b>`pulumi env set [environment_name] [key] [value]`<br><b>Edit an environment definition</b>`pulumi env edit [environment_name]`<br><b>Delete a value from an environment</b>`pulumi env rm [environment_name] [key]`<br><b>Delete an environment entirely</b>`pulumi env rm [environment_name]`<br><b>Display help</b>`pulumi env [[-h|--help]]`


title: TLDR
content:
<b>Add a new user as a maintainer of a package</b>`npm owner add [username] [package_name]`<br><b>Remove a user from a package's owner list</b>`npm owner rm [username] [package_name]`<br><b>List all owners of a package</b>`npm owner ls [package_name]`


title: TLDR
content:
<b>Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors</b>`vagrant validate`<br><b>Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options</b>`vagrant validate [[-p|--ignore-provider]] [docker|hypervlibvirt|parallels|qemu|virtualbox|vmware_desktop]`


title: TLDR
content:
<b>Push local image to remote registry</b>`crane push [path/to/tarball] [image_name]`<br><b>Path to file with list of published image references</b>`crane push [path/to/tarball] [image_name] --image-refs [path/to/file]`<br><b>Push a collection of images as a single index (required if path has multiple images)</b>`crane push [path/to/tarball] [image_name] --index`<br><b>Display help</b>`crane push [[-h|--help]]`


title: TLDR
content:
<b>Serve a registry implementation</b>`crane registry serve`<br><b>Address to listen on</b>`crane registry serve --address [address_name]`<br><b>Path to a directory where blobs will be stored</b>`crane registry serve --disk [path/to/store_directory]`<br><b>Display help for crane registry</b>`crane registry [[-h|--help]]`<br><b>Display help for crane registry serve</b>`crane registry serve [[-h|--help]]`


title: TLDR
content:
<b>Print information about the Pulumi environment</b>`pulumi about`<br><b>Print information about the Pulumi environment in JSON format</b>`pulumi about [[-j|--json]]`<br><b>Print information about the Pulumi environment of a specific stack</b>`pulumi about [[-s|--stack]] [stack_name]`<br><b>Display help</b>`pulumi about [[-h|--help]]`


title: TLDR
content:
<b>Start a new Wezterm process and create a window</b>`wezterm`<br><b>Establish an ssh session in a new Wezterm window</b>`wezterm ssh [user]@[host]:[port]`<br><b>Connect to the multiplexer (wezterm-mux-server)</b>`wezterm connect [domain_name]`<br><b>Output an image to the terminal</b>`wezterm imgcat [path/to/image]`<br><b>Record a terminal session as an asciicast (by default recordings are saved to /tmp)</b>`wezterm record`<br><b>Replay an asciicast terminal session</b>`wezterm replay [path/to/cast_file]`<br><b>Specify the configuration file to use (overrides the normal configuration file resolution)</b>`wezterm --config-file [path/to/config_file]`<br><b>Display help</b>`wezterm help`


title: TLDR
content:
<b>Initialize a new Zapier integration</b>`zapier init [path/to/directory]`<br><b>Initialize a new Zapier integration with a specific template</b>`zapier init [path/to/directory] [[-t|--template]] [basic-auth|callback|custom-auth|digest-auth|dynamic-dropdown|files|minimal|oauth1-trello|oauth2|search-or-create|session-auth|typescript]`<br><b>Show extra debugging output</b>`zapier init [[-d|--debug]]`


title: TLDR
content:
<b>Log in to a registry (non-persistent on Linux; persistent on Windows/macOS)</b>`podman login [registry.example.org]`<br><b>Log in to a registry persistently on Linux</b>`podman login --authfile $HOME/.config/containers/auth.json [registry.example.org]`<br><b>Log in to an insecure (HTTP) registry</b>`podman login --tls-verify=false [registry.example.org]`


title: TLDR
content:
<b>Observe the first parameter and return value of method, and expand the nested attributes of the object to 4 levels</b>`watch [class-pattern] [method-pattern] '[{ params[0],returnObj ]}' -x 4`<br><b>When the value of the first parameter of the method is 5, the second parameter and return value are output, and the object is expanded 4 layers</b>`watch [class-pattern] [method-pattern] '[{ params[1],returnObj ]}' '["5".equals(params[0])]' -x 4`<br><b>When the method returns or an exception occurs, observe the count property of the second parameter</b>`watch [class-pattern] [method-pattern] '[{ params[1].count ]}' -e -s`


title: TLDR
content:
<b>Get the manifest</b>`crane manifest [image_name]`<br><b>Display help</b>`crane manifest [[-h|--help]]`


title: TLDR
content:
<b>Start a new project or work with an existing code base</b>`aider --model [model_name] --api-key [your_api_key]`<br><b>Add new features or test cases to specific files</b>`aider [path/to/file1 path/to/file2 ...]`<br><b>Describe a bug and let aider fix it</b>`aider [path/to/file] --describe "[bug_description]"`<br><b>Refactor code in a specific file</b>`aider [path/to/file] --refactor`<br><b>Update documentation</b>`aider [path/to/file] --update-docs`<br><b>Display help</b>`aider --help`


title: TLDR
content:
<b>Scan websites/targets for web technologies</b>`whatweb [website1 website2 ...]`<br><b>Read targets/websites from a file</b>`whatweb [[-i|--input-file]] [targets_file]`<br><b>Scan a website/target in verbose mode</b>`whatweb [[-v|--verbose]] [example.com]`<br><b>Run an aggressive scan on a website</b>`whatweb [[-a|--aggression]] 3 [example.com]`<br><b>Scan a network and suppress errors</b>`whatweb --no-errors [192.168.0.0/24]`<br><b>List plugins</b>`whatweb [[-l|--list-plugins]]`<br><b>List plugin details</b>`whatweb [[-I|--info-plugins]] [plugin_name]`


title: TLDR
content:
<b>Run a specified test case</b>`lit [path/to/test_file.test]`<br><b>Run all test cases in a specified directory</b>`lit [path/to/test_suite]`<br><b>Run all test cases and check the wall time for each cases, then report to summary output</b>`lit [path/to/test_suite] --time-tests`<br><b>Run individual tests with Valgrind (memory check and memory leak test)</b>`lit [path/to/test_file.test] --vg --vg-leak --vg-args=[args_to_valgrind]`


title: TLDR
content:
<b>Print all versions of direct dependencies in the current project to stdout</b>`npm [[ls|list]]`<br><b>Print all installed packages including peer dependencies</b>`npm [[ls|list]] [[-a|--all]]`<br><b>Print all globally installed packages</b>`npm [[ls|list]] [[-g|--global]]`<br><b>Print dependencies with extended information</b>`npm [[ls|list]] [[-l|--long]]`<br><b>Print dependencies in parseable format</b>`npm [[ls|list]] [[-p|--parseable]]`<br><b>Print dependencies in JSON format</b>`npm [[ls|list]] --json`


title: TLDR
content:
<b>Append manifest to a remote index</b>`crane index append`<br><b>Reference to manifests to append to the base index</b>`crane index append [[-m|--manifest]] [manifest_name1 manifest_name2 ...]`<br><b>Tag to apply to resulting image</b>`crane index append [[-t|--tag]] [tag_name]`<br><b>Empty base index will have Docker media types instead of OCI</b>`crane index append --docker-empty-base`<br><b>Append each of its children rather than the index itself (defaults true)</b>`crane index append --flatten`<br><b>Display help</b>`crane index append [[-h|--help]]`


title: TLDR
content:
<b>Install packages and plugins</b>`pulumi install`<br><b>Install packages and plugins but skip dependencies</b>`pulumi install --no-dependencies`<br><b>Install packages and reinstall existing plugins</b>`pulumi install --reinstall`


title: TLDR
content:
<b>Generate a changelog from all commits in a Git repository and save it to CHANGELOG.md</b>`git cliff > [CHANGELOG.md]`<br><b>Generate a changelog from commits starting from the latest tag and print it to stdout</b>`git cliff [[-l|--latest]]`<br><b>Generate a changelog from commits that belong to the current tag (use git checkout on a tag before this)</b>`git cliff --current`<br><b>Generate a changelog from commits that do not belong to a tag</b>`git cliff [[-u|--unreleased]]`<br><b>Write the default config file to cliff.toml in the current directory</b>`git cliff [[-i|--init]]`


title: TLDR
content:
<b>Search for valid credentials by trying out every combination in the specified lists of usernames and passwords</b>`nxc wmi [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt]`<br><b>Authenticate via local authentication (as opposed to authenticating to the domain)</b>`nxc wmi [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --local-auth`<br><b>Issue the specified WMI query</b>`nxc wmi [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --wmi [wmi_query]`<br><b>Execute the specified command on the targeted host</b>`nxc wmi [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] -x [command]`


title: TLDR
content:
<b>Log out of a specific cloud backend</b>`pulumi logout [url]`<br><b>Log out of all backends simultaneously</b>`pulumi logout --all`<br><b>Log out of using local mode</b>`pulumi logout [[-l|--local]]`<br><b>Display help</b>`pulumi logout [[-h|--help]]`


title: TLDR
content:
<b>Request the next value from the SNMP agent</b>`snmpgetnext -v [version] -c [community] [ip] [oid]`<br><b>Display the full Object Identifier (OID) path</b>`snmpgetnext -v [version] -c [community] -O f [ip] [oid]`<br><b>Display help</b>`snmpgetnext [[-h|--help]]`


title: TLDR
content:
<b>Interactively input lines into an array</b>`readarray [array_name]`<br><b>Read lines from a file and insert them in an array</b>`readarray < [path/to/file.txt] [array_name]`<br><b>Remove trailing deliminators (newline by default)</b>`readarray < [path/to/file.txt] -t [array_name]`<br><b>Copy at most n lines</b>`readarray < [path/to/file.txt] -n [n] [array_name]`<br><b>Display help</b>`help mapfile`


title: TLDR
content:
<b>Print CPU usage. First line is current shell CPU usage for User and System. Second is all child processes</b>`times`


title: TLDR
content:
<b>Override the yadm directory. yadm stores its configurations relative to this directory</b>`yadm --yadm-dir`<br><b>Override the yadm data directory: yadm stores its data relative to this directory</b>`yadm --yadm-data`<br><b>Override the location of the yadm repository</b>`yadm --yadm-repo`<br><b>Override the location of the yadm configuration file</b>`yadm --yadm-config`<br><b>Override the location of the yadm encryption configuration</b>`yadm --yadm-encrypt`<br><b>Override the location of the yadm encrypted files archive</b>`yadm --yadm-archive`<br><b>Override the location of the yadm bootstrap program</b>`yadm --yadm-bootstrap`


title: TLDR
content:
<b>Draw on the specified PPM image by executing the supplied script</b>`ppmdraw -script '[setpos 50 50; text_here "hello!"; ]' [path/to/image.pnm] > [path/to/output.pnm]`<br><b>Draw on the specified PPM image by executing the script in the specified file</b>`ppmdraw -scriptfile [path/to/script] [path/to/image.pnm] > [path/to/output.pnm]`


title: TLDR
content:
<b>Detect the version of a remote NFS server</b>`nxc nfs [192.168.178.0/24]`<br><b>List the available NFS shares</b>`nxc nfs [192.168.178.2] --shares`<br><b>Enumerate the exposed shares recursively to the specified depth</b>`nxc nfs [192.168.178.2] --enum-shares [5]`<br><b>Download the specified remote file</b>`nxc nfs [192.168.178.2] --get-file [path/to/remote_file] [path/to/local_file]`<br><b>Upload the specified local file to the remote share</b>`nxc nfs [192.168.178.2] --put-file [path/to/local_file] [path/to/remote_file]`


title: TLDR
content:
<b>Show iterations per second and use stdout afterwards</b>`[seq 10000000] | tqdm | [command]`<br><b>Create a progress bar</b>`[seq 10000000] | tqdm --total [10000000] | [command]`<br><b>Create an archive out of a directory and use the file count of that directory to create a progress bar</b>`zip [[-r|--recurse-paths]] [path/to/archive.zip] [path/to/directory] | tqdm --total $(find [path/to/directory] | wc [[-l|--lines]]) --unit files --null`<br><b>Create an archive with tar and create a progress bar (system agnostic, GNU tar uses stdout while BSD tar uses stderr)</b>`tar vzcf [path/to/archive.tar.gz] [path/to/directory] 2>&1 | tqdm --total $(find [path/to/directory] | wc [[-l|--lines]]) --unit files --null`


title: TLDR
content:
<b>Collect all data using default collection methods (includes groups, sessions, and trusts)</b>`bloodhound-python --username [username] --password [password] --domain [domain]`<br><b>Collect data using Kerberos authentication without requiring a plaintext password</b>`bloodhound-python --collectionmethod [All] --kerberos --domain [domain]`<br><b>Authenticate using NTLM hashes instead of a password</b>`bloodhound-python --collectionmethod [All] --username [username] --hashes [LM:NTLM] --domain [domain]`<br><b>Specify a custom name server for DNS queries</b>`bloodhound-python --collectionmethod [All] --username [username] --password [password] --domain [domain] --nameserver [nameserver]`<br><b>Save the output files as a compressed ZIP archive</b>`bloodhound-python --collectionmethod [All] --username [username] --password [password] --domain [domain] --zip`


title: TLDR
content:
<b>Redirect stdout to a file</b>`[command] > [path/to/file]`<br><b>Append to a file</b>`[command] >> [path/to/file]`<br><b>Redirect both stdout and stderr to a file</b>`[command] &> [path/to/file]`<br><b>Redirect stderr to /dev/null to keep the terminal output clean</b>`[command] 2> /dev/null`<br><b>Clear the file contents or create a new empty file</b>`> [path/to/file]`<br><b>Redirect stderr to stdout for piping them together</b>`[command1] 2>&1 | [command2]`<br><b>Open a persistent file descriptor</b>`exec [3]>[path/to/file]`<br><b>Write to a custom file descriptor</b>`[echo text] >&[3]`


title: TLDR
content:
<b>Start Arthas</b>`java -jar [path/to/arthas-boot.jar]`<br><b>Reconnect Arthas (default port used by Arthas is 3658)</b>`telnet localhost [port_number]`<br><b>Exit the current Arthas client without affecting other clients. equals exit、logout、q command</b>`[exit|quit|logout|q]`<br><b>Terminate the Arthas server, all the Arthas clients connecting to this server will be disconnected</b>`stop`


title: TLDR
content:
<b>List all available modules</b>`nettacker --show-all-modules`<br><b>Run a port scan on targets</b>`nettacker [[-m|--modules]] port_scan [[-i|--targets]] [192.168.0.1/24,owasp.org,scanme.org,...]`<br><b>Run a port scan on specific ports and targets listed in a file (newline separated)</b>`nettacker [[-m|--modules]] port_scan [[-g|--ports]] [22,80,443,...] [[-l|--targets-list]] [path/to/targets.txt]`<br><b>Run ping test before scan and then run multiple scan types on target</b>`nettacker --ping-before-scan [[-m|--modules]] [port_scan,subdomain_scan,waf_scan,...] [[-g|--ports]] [80,443] [[-i|--targets]] [owasp.org]`


title: TLDR
content:
<b>Show all configuration settings</b>`npm [[c|config]] list`<br><b>List all configuration settings as JSON</b>`npm [[c|config]] list --json`<br><b>Get the value of a specific configuration key</b>`npm [[c|config]] get [key]`<br><b>Set a configuration key to a specific value</b>`npm [[c|config]] set [key] [value]`<br><b>Delete a configuration key</b>`npm [[c|config]] delete [key]`<br><b>Edit the global npm configuration file in the default editor</b>`npm [[c|config]] edit`<br><b>Attempt to repair invalid configuration items</b>`npm [[c|config]] fix`


title: TLDR
content:
<b>Create a build</b>`zapier build`<br><b>Disable smart file inclusion (will only include files required by index.js)</b>`zapier build --disable-dependency-detection`<br><b>Show extra debugging output</b>`zapier build [[-d|--debug]]`


title: TLDR
content:
<b>Search for a specific topic in all installed sources</b>`wikiman [search_term]`<br><b>Search for a topic in a specific [s]ource</b>`wikiman -s [source] [search_term]`<br><b>Search for a topic in two or more specific [s]ources</b>`wikiman -s [source1,source2,...] [search_term]`<br><b>List existing [S]ources</b>`wikiman -S`<br><b>Display [h]elp</b>`wikiman -h`


title: TLDR
content:
<b>Create a managed disk</b>`az disk create [[-g|--resource-group]] [resource_group] [[-n|--name]] [disk_name] [[-z|--size-gb]][size_in_gb]`<br><b>List managed disks in a resource group</b>`az disk list [[-g|--resource-group]] [resource_group]`<br><b>Delete a managed disk</b>`az disk delete [[-g|--resource-group]] [resource_group] [[-n|--name]] [disk_name]`<br><b>Grant read or write access to a managed disk (for export)</b>`az disk grant-access [[-g|--resource-group]] [resource_group] [[-n|--name]] [disk_name] [[--access|--access-level]] [Read|Write] --duration-in-seconds [seconds]`<br><b>Update disk size</b>`az disk update [[-g|--resource-group]] [resource_group] [[-n|--name]] [disk_name] [[-z|--size-gb]] [new_size_in_gb]`


title: TLDR
content:
<b>Read from file and view in less</b>`tspin [path/to/application.log]`<br><b>Read from another command and print to stdout</b>`journalctl [[-b|--boot]] [[-f|--follow]] | tspin`<br><b>Read from file and print to stdout</b>`tspin [path/to/application.log] [[-p|--print]]`<br><b>Read from stdin and print to stdout</b>`echo "2021-01-01 12:00:00 [INFO] This is a log message" | tspin`


title: TLDR
content:
<b>Search for valid credentials by trying out every combination in the specified lists of usernames and passwords</b>`nxc mssql [192.168.178.2] [[-u|--username]] [path/to/usernames.txt] [[-p|--password]] [path/to/passwords.txt]`<br><b>Execute the specified SQL query on the target server</b>`nxc mssql [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] [[-q|--query]] '[SELECT * FROM sys.databases;]'`<br><b>Execute the specified shell command on the target server through MSSQL</b>`nxc mssql [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] -x [whoami]`<br><b>Execute the specified PowerShell command on the target server through MSSQL without retrieving output</b>`nxc mssql [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] -X [whoami] --no-output`<br><b>Download a remote file from the target server and store it in the specified location</b>`nxc mssql [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --get-file [C:\path\to\remote_file] [path/to/local_file]`<br><b>Upload a local file to the specified location on the target server</b>`nxc mssql [192.168.178.2] [[-u|--username]] [username] [[-p|--password]] [password] --put-file [path/to/local_file] [C:\path\to\remote_file]`


title: TLDR
content:
<b>Encrypt files listed in the designated encrypt file</b>`yadm encrypt`<br><b>Create the necessary files and folders for encryption</b>`touch [path/to/encrypt_file] && mkdir [path/to/archive_folder]`


title: TLDR
content:
<b>Initialize a new package with prompts</b>`npm init`<br><b>Initialize a new package with default values</b>`npm init [[-y|--yes]]`<br><b>Initialize a new package using a specific initializer</b>`npm init [create-react-app] [my-app]`


title: TLDR
content:
<b>Transform an image to strips that can be cut out and glues onto a sphere</b>`ppmglobe [number_of_strips] [path/to/image.ppm] > [path/to/output.ppm]`<br><b>Use the specified color for the areas between the strips</b>`ppmglobe [[-b|-background]] [red] [number_of_strips] [path/to/image.ppm] > [path/to/output.ppm]`


title: TLDR
content:
<b>List the tags</b>`gcrane ls [repository]`<br><b>Format response from the registry as JSON</b>`gcrane ls [repository] --json`<br><b>Whether to recurse through repositories</b>`gcrane ls [repository] [[-r|--recursive]]`<br><b>Display help</b>`gcrane ls [[-h|--help]]`


title: TLDR
content:
<b>Log in to a registry</b>`crane auth login [registry] [[-u|--username]] [user] [[-p|--password]] [password]`<br><b>List the repos in a registry</b>`crane catalog [registry] --full-ref`<br><b>List the tags in a repository</b>`crane ls [repository] [[-o|--omit-digest-tags]]`<br><b>Pull remote images by reference and store their contents locally</b>`crane pull [image] [tarball]`<br><b>Push local image contents to a remote registry</b>`crane push [path/to/directory_or_tarball] [image]`<br><b>Efficiently tag a remote image</b>`crane tag [image] [tag]`<br><b>Efficiently copy a remote image from src to dst while retaining the digest value</b>`crane copy src dst [[-a|--all-tags]]`<br><b>Delete an image reference from its registry</b>`crane delete [image]`


title: TLDR
content:
<b>Cancel a stack's currently running update, if any</b>`pulumi cancel [stack_name]`<br><b>Skip confirmation prompts, and proceed with cancellation anyway</b>`pulumi cancel [[-y|--yes]]`<br><b>Display help</b>`pulumi cancel [[-h|--help]]`


title: TLDR
content:
<b>Scan the project's dependencies for known vulnerabilities</b>`npm audit`<br><b>Automatically fix vulnerabilities in the project's dependencies</b>`npm audit fix`<br><b>Force an automatic fix to dependencies with vulnerabilities</b>`npm audit fix [[-f|--force]]`<br><b>Update the lock file without modifying the node_modules directory</b>`npm audit fix --package-lock-only`<br><b>Perform a dry run. Simulate the fix process without making any changes</b>`npm audit fix --dry-run`<br><b>Output audit results in JSON format</b>`npm audit --json`<br><b>Configure the audit to only fail on vulnerabilities above a specified severity</b>`npm audit --audit-level [info|low|moderate|high|critical]`


title: TLDR
content:
<b>Convert a PPM image into an Apple volume label image</b>`ppmtoapplevol [path/to/image.ppm] > [path/to/output]`


title: TLDR
content:
<b>List nodes in the swarm</b>`docker node ls`<br><b>List tasks running on one or more nodes, defaults to the current node</b>`docker node ps [node1 node2 node3 ...]`<br><b>Display detailed information on one or more nodes</b>`docker node inspect [node1 node2 node3 ...]`<br><b>Promote one or more nodes to manager in the swarm</b>`docker node promote [node1 node2 node3 ...]`<br><b>Demote one or more nodes from manager in the swarm</b>`docker node demote [node1 node2 node3 ...]`<br><b>Remove one or more nodes from the swarm</b>`docker node rm [node1 node2 node3 ...]`<br><b>Update metadata about a node, such as its availability, labels, or roles</b>`docker node update --[availability|role|label-add|...] [active|worker|...] [node1]`


title: TLDR
content:
<b>Display statistics for the Git repository in the current working directory</b>`onefetch`<br><b>Display statistics for the Git repository in the specified directory</b>`onefetch [path/to/directory]`<br><b>Ignore commits made by bots</b>`onefetch --no-bots`<br><b>Ignore merge commits</b>`onefetch --no-merges`<br><b>Don't print the ASCII art of the language logo</b>`onefetch --no-art`<br><b>Show n authors, languages, or file churns (default: 3, 6, and 3 respectively)</b>`onefetch --number-of-[authors|languages|file-churns] [n]`<br><b>Ignore the specified files and directories</b>`onefetch [[-e|--exclude]] [path/to/file_or_directory|regex]`<br><b>Only detect languages from the specified categories (default: programming and markup)</b>`onefetch [[-T|--type]] [programming|markup|prose|data]`


title: TLDR
content:
<b>Log out of the registry user account</b>`npm logout`<br><b>Log out using a custom registry</b>`npm logout --registry [registry_url]`


title: TLDR
content:
<b>Convert a Netpbm image or a stream of Netpbm images to SRF format</b>`pamtosrf [path/to/file.pam] > [path/to/output.srf]`


title: TLDR
content:
<b>List all the plugins currently installed</b>`vagrant plugin list`<br><b>Install a plugin from remote repositories, usually RubyGems</b>`vagrant plugin install [vagrant_vbguest]`<br><b>Install a plugin from a local file source</b>`vagrant plugin install [path/to/my_plugin.gem]`<br><b>Update all installed plugins to their latest version</b>`vagrant plugin update`<br><b>Update a plugin to the latest version</b>`vagrant plugin update [vagrant_vbguest]`<br><b>Uninstall a specific plugin</b>`vagrant plugin uninstall [vagrant_vbguest]`


title: TLDR
content:
<b>Execute</b>`yadm init`<br><b>Override the worktree</b>`yadm init -w [path/to/worktree_folder]`<br><b>Overwrite an existing repository</b>`yadm init -f [path/to/local_repository]`


title: TLDR
content:
<b>Create a new authentication token</b>`npm token create`<br><b>List all tokens associated with an account</b>`npm token list`<br><b>Delete a specific token using its token ID</b>`npm token revoke [token_id]`<br><b>Create a token with read-only access</b>`npm token create --read-only`<br><b>Create a token with publish access</b>`npm token create --publish`<br><b>Automatically configure an npm token in your global .npmrc file when you log in</b>`npm login`<br><b>Remove a token from the global configuration</b>`npm token revoke [token_id]`


title: TLDR
content:
<b>View current configuration in JSON format</b>`pulumi config [[-j|--json]]`<br><b>View configuration for a specified stack</b>`pulumi config [[-s|--stack]] [stack_name]`<br><b>Get the value of a configuration key</b>`pulumi config get [key]`<br><b>Remove a configuration value</b>`pulumi config rm [key]`<br><b>Set a value for a configuration key from a file</b>`cat [path/to/file] | pulumi config set [key]`<br><b>Set a secret value (e.g. API key) for a configuration key and store/display as ciphertext</b>`pulumi config set --secret [key] [S3cr37_value]`<br><b>Remove multiple configuration values from a specified configuration file</b>`pulumi config --config-file [path/to/file] rm-all [key1 key2 ...]`


title: TLDR
content:
<b>Install project dependencies from package-lock.json or npm-shrinkwrap.json</b>`npm ci`<br><b>Install project dependencies but skip the specified dependency type</b>`npm ci --omit [dev|optional|peer]`<br><b>Install project dependencies without running any pre-/post-scripts defined in package.json</b>`npm ci --ignore-scripts`


title: TLDR
content:
<b>Create a new address with the ED25519 scheme</b>`sui client new-address ed25519 [address-alias]`<br><b>Create a new testnet environment with an RPC URL and alias</b>`sui client new-env --rpc https://fullnode.testnet.sui.io:443 --alias testnet`<br><b>Switch to the address of your choice (accepts also an alias)</b>`sui client switch --address [address-alias]`<br><b>Switch to the given environment</b>`sui client switch --env [env-alias]`<br><b>Publish a smart contract</b>`sui client publish [package-path]`<br><b>Interact with the Sui faucet</b>`sui client faucet [subcommand]`<br><b>List the gas coins for the given address (accepts also an alias)</b>`sui client gas [address]`<br><b>Create, sign, and execute programmable transaction blocks</b>`sui client ptb [options] [subcommand]`


title: TLDR
content:
<b>Basic usage with default parameters</b>`sudo trip [example.com]`<br><b>Trace without requiring elevated privileges (supported platforms only)</b>`trip [example.com] --unprivileged`<br><b>Trace using IPv6 only</b>`sudo trip [example.com] --ipv6`<br><b>Trace using the udp protocol</b>`sudo trip [example.com] --protocol [udp]`<br><b>Use custom destination port 443 for tcp tracing</b>`sudo trip [example.com] --protocol [tcp] --target-port [443]`<br><b>Use custom source port 5000 for udp tracing</b>`sudo trip [example.com] --protocol [udp] --source-port [5000]`


title: TLDR
content:
<b>Reboot the device normally</b>`adb reboot`<br><b>Reboot the device into bootloader mode</b>`adb reboot bootloader`<br><b>Reboot the device into recovery mode</b>`adb reboot recovery`<br><b>Reboot the device into fastboot mode</b>`adb reboot fastboot`


title: TLDR
content:
<b>Explain a CIDR range</b>`cidr explain [10.0.0.0/16]`<br><b>Check whether an address belongs to a CIDR range</b>`cidr contains [10.0.0.0/16] [10.0.14.5]`<br><b>Get a count of all addresses in a CIDR range</b>`cidr count [10.0.0.0/16]`<br><b>Check whether two CIDR ranges overlap</b>`cidr overlaps [10.0.0.0/16] [10.0.14.0/22]`<br><b>Divide a CIDR range into a specific number of networks</b>`cidr divide [10.0.0.0/16] [9]`


title: TLDR
content:
<b>Analyze a file, showing both macro code and analysis results</b>`olevba [path/to/file]`<br><b>Recursively analyze all supported files in a directory</b>`olevba -r [path/to/directory]`<br><b>Provide a password for encrypted Microsoft Office files (may be repeated)</b>`olevba [[-p|--password]] [password] [path/to/encrypted_file]`<br><b>Display only analysis results, without showing macro source code</b>`olevba [[-a|--analysis]] [path/to/file]`<br><b>Display only macro source code</b>`olevba [[-c|--code]] [path/to/file]`<br><b>Show obfuscated strings and their decoded content</b>`olevba --decode [path/to/file]`


title: TLDR
content:
<b>Wait for a deployment to become available</b>`kubectl wait --for condition=available deployment/[deployment_name]`<br><b>Wait for all pods with a certain [l]abel to be ready</b>`kubectl wait --for condition=ready pod [[-l|--selector]] [label_key]=[label_value]`<br><b>Wait for a pod to be deleted</b>`kubectl wait --for delete pod [pod_name]`<br><b>Wait for a job to complete, within 120 seconds (if the condition isn't met on time, the exit status will be unsuccessful)</b>`kubectl wait --for condition=complete job/[job_name] --timeout 120s`


title: TLDR
content:
<b>Run all available tests</b>`vitest run`<br><b>Run the test suites from the given files</b>`vitest run [path/to/file1 path/to/file2 ...]`<br><b>Run the test suites from files within the current and subdirectories, whose paths match the given regex</b>`vitest run [regex1] [regex2]`<br><b>Run the tests whose names match the given regex</b>`vitest run --testNamePattern [regex]`<br><b>Watch files for changes and automatically re-run related tests</b>`vitest`<br><b>Run tests with coverage</b>`vitest run --coverage`<br><b>Run all tests but stops immediately after the first test failure</b>`vitest run --bail=1`<br><b>Display help</b>`vitest --help`


title: TLDR
content:
<b>Update all packages in the current project</b>`npm [[up|update]]`<br><b>Update a specific package in the current project</b>`npm [[up|update]] [package]`<br><b>Update a package globally</b>`npm [[up|update]] [[-g|--global]] [package]`<br><b>Update multiple packages at once</b>`npm [[up|update]] [package1 package2 ...]`


title: TLDR
content:
<b>Download a specific anime</b>`animdl download [anime_title]`<br><b>Download a specific anime by specifying an episode range</b>`animdl download [anime_title] [[-r|--range]] [start_episode]-[end_episode]`<br><b>Download a specific anime by specifying a download directory</b>`animdl download [anime_title] [[-d|--download-dir]] [path/to/download_directory]`<br><b>Grab the stream URL for a specific anime</b>`animdl grab [anime_title]`<br><b>Display the upcoming anime schedule for the next week</b>`animdl schedule`<br><b>Search a specific anime</b>`animdl search [anime_title]`<br><b>Stream a specific anime</b>`animdl stream [anime_title]`<br><b>Stream the latest episode of a specific anime</b>`animdl stream [anime_title] [[-s|--special]] latest`


title: TLDR
content:
<b>Display path to the local node_modules directory</b>`npm root`<br><b>Display path to the global node_modules directory</b>`npm root [[-g|--global]]`


title: TLDR
content:
<b>Compile a device tree source .dts file into a binary device tree blob .dtb file</b>`dtc -I dts -O dtb -o [path/to/output_file.dtb] [path/to/input_file.dts]`<br><b>Compile a device tree source .dts file into a binary device tree blob overlay .dtbo file</b>`dtc -@ -I dts -O dtb -o [path/to/output_file.dtbo] [path/to/input_file.dts]`<br><b>Decompile a device tree blob .dtb file into a readable device tree source .dts file</b>`dtc -I dtb -O dts -o [path/to/output_file.dts] [path/to/input_file.dtb]`<br><b>Decompile the current device tree from the system into a readable device tree source .dts file</b>`dtc -I fs -O dts /proc/device-tree`


title: TLDR
content:
<b>New annotations to set (default [])</b>`crane mutate [[-a|--annotation]]/[[-l|--label]] [annotation/label]`<br><b>Path to tarball/command/entrypoint/environment variable/exposed-ports to append to image</b>`crane mutate [--append]/[--cmd]/[--entrypoint]/[[-e|--env]]/[--exposed-ports] [var1 var2 ...]`<br><b>Path to new tarball of resulting image</b>`crane mutate [[-o|--output]] [path/to/tarball]`<br><b>Repository in the form os/arch/variant:osversion,platform to push mutated image</b>`crane mutate --set-platform [platform_name]`<br><b>New tag reference to apply to mutated image</b>`crane mutate [[-t|--tag]] [tag_name]`<br><b>New user to set</b>`crane mutate [[-u|--user]] [username]`<br><b>New working dir to set</b>`crane mutate [[-w|--workdir]] [path/to/work_directory]`<br><b>Display help</b>`crane mutate [[-h|--help]]`


title: TLDR
content:
<b>Set the symmetric cipher to utilize for encryption</b>`yadm transcrypt --cipher=[cipher]`<br><b>Pass the password to derive the key from</b>`yadm transcrypt --password=[password]`<br><b>Assume yes and accept defaults for non-specified options</b>`yadm transcrypt --yes`<br><b>Display the current repository's cipher and password</b>`yadm transcrypt --display`<br><b>Re -encrypt all encrypted files using new credentials</b>`yadm transcrypt --rekey`


title: TLDR
content:
<b>Copy an image from source to target</b>`gcrane [[cp|copy]] [source] [target]`<br><b>Set the maximum number of concurrent copies, defaults to 20</b>`gcrane copy [source] [target] [[-j|--jobs]] [nr_of_copies]`<br><b>Whether to recurse through repositories</b>`gcrane copy [source] [target] [[-r|--recursive]]`<br><b>Display help</b>`gcrane copy [[-h|--help]]`


title: TLDR
content:
<b>Add a default route using gateway forwarding</b>`sudo ip [[r|route]] [[a|add]] default via [gateway_ip]`<br><b>Add a default route using ethX</b>`sudo ip [[r|route]] [[a|add]] default dev [ethX]`<br><b>Add a static route</b>`sudo ip [[r|route]] [[a|add]] [destination_ip] via [gateway_ip] dev [ethX]`<br><b>Add a route to a specific routing table</b>`sudo ip [[r|route]] [[a|add]] [destination_ip] dev [ethX] [[t|table]] [ip]`


title: TLDR
content:
<b>Fill the console</b>`hollywood`<br><b>Exit hollywood</b>`<Ctrl c><Ctrl c>`<br><b>Display help</b>`hollywood [[-h|--help]]`


title: TLDR
content:
<b>Start the lldp daemon</b>`systemctl start lldpd`<br><b>Display collected neighbor data</b>`sudo lldpctl`<br><b>Display help</b>`lldpctl [[-h|--help]]`


title: TLDR
content:
<b>Run a command</b>`, [command -with -flags]`<br><b>Add a command to a child shell</b>`, [[-s|--shell]] [command]`<br><b>Clear the cache</b>`, [[-e|--empty-cache]]`


title: TLDR
content:
<b>Bring the current job to front</b>`%`<br><b>Bring the previous job to front</b>`%-`<br><b>Bring the job number n to front</b>`%[n]`<br><b>Bring a job whose command starts with string to front</b>`%[string]`<br><b>Bring a job whose command contains string to front</b>`%?[string]`<br><b>Resume a suspended job</b>`%[1] &`


title: TLDR
content:
<b>Print a variable</b>`echo $[VARIABLE]`<br><b>Run variable contents as a command</b>`$[VARIABLE]`<br><b>Print the exit status of the previous command</b>`echo $?`<br><b>Print a random number between 0 and 32767</b>`echo $RANDOM`<br><b>Print one of the prompt strings</b>`echo $[PS0|PS1|PS2|PS3|PS4]`<br><b>Expand with the output of command and run it. Same as enclosing command in backtics</b>`$([command])`<br><b>List how many arguments the current context has</b>`echo $#`<br><b>Print out a Bash array</b>`echo $[{array_name[@]]}`


title: TLDR
content:
<b>List all repositories in a Docker registry</b>`dockdiver -url [https://example.com] -list`<br><b>Dump a specific repository to the default output directory (docker_dump)</b>`dockdiver -url [https://example.com] -dump [repository_name]`<br><b>Dump all repositories with basic authentication</b>`dockdiver -url [https://example.com] -dump-all -username [username] -password [password]`<br><b>Dump a repository with a rate limit and a custom port (the default port is 5000)</b>`dockdiver -url [https://example.com] -dump [repository_name] -port [port] -rate [requests_per_second] -dir [path/to/output_directory]`<br><b>Dump all repositories with bearer token for authorization</b>`dockdiver -url [https://example.com] -dump-all -bearer [bearer_token]`<br><b>Add custom headers as JSON (e.g., '{"X-Custom": "Value"}')</b>`dockdiver -url [https://example.com] -list -headers '[{"X-Custom": "Value"]}'`


title: TLDR
content:
<b>Execute a BusyBox function</b>`busybox [ls|rm|mkdir|cat|...] [args]`<br><b>Display help and a list of functions</b>`busybox --help`


title: TLDR
content:
<b>Open IPMI shell on the local hardware</b>`sudo ipmitool shell`<br><b>Open IPMI shell on a remote host</b>`ipmitool -H [ip_address] -U [user_name] shell`


title: DESCRIPTION
content:
The character `,` is not a standalone command in standard Linux systems. It functions primarily as a sequence operator within shell scripting and command execution. It allows you to execute multiple commands sequentially on a single line.  The commands are executed one after the other, regardless of the success or failure of the preceding command. The exit status of the entire sequence is the exit status of the *last* command executed.  It is a key component in building more complex scripts. It can combine commands to perform multiple operations in a concise manner. It contrasts with other operators like `&&` or `||` which control execution flow based on the success or failure of commands.


title: CAVEATS
content:
The exit status of the entire sequence is the exit status of the *last* command executed, so errors in earlier commands might be masked.


title: EXAMPLES
content:
<b>Example 1:</b> Execute `pwd` and then `ls -l` irrespective of `pwd` success <br><I>pwd , ls -l</I> <br><br><b>Example 2:</b> Create a directory, change into it, and then list its contents.  Errors during `mkdir` will not prevent `cd` and `ls` from running. <br><I>mkdir mydir , cd mydir , ls</I>


title: TLDR
content:
<b>Create or edit notebooks by starting a marimo server</b>`marimo edit`<br><b>Start a marimo server on a specific port without launching a browser</b>`marimo edit [[-p|--port]] [port_number] --headless`<br><b>Edit a specific notebook</b>`marimo edit [path/to/notebook.py]`<br><b>Run a marimo notebook as an app in read-only mode</b>`marimo run [path/to/notebook.py]`<br><b>Start an interactive tutorial to learn marimo</b>`marimo tutorial [intro|components|dataflow|io]`<br><b>View command-specific help</b>`marimo [edit|run|tutorial|config|new|...] --help`


title: TLDR
content:
<b>Sync files in a directory from local to a bucket</b>`aws s3 sync [path/to/directory] s3://[bucket_name]/[path/to/remote_location]`<br><b>Sync files in a directory from a bucket to local</b>`aws s3 sync s3://[bucket_name]/[path/to/remote_location] [path/to/directory]`<br><b>Sync objects between two buckets</b>`aws s3 sync s3://[bucket_source_name]/[path/to/remote_location] s3://[bucket_target_name]/[path/to/remote_location]`<br><b>Sync local files to S3 while excluding specific files or directories</b>`aws s3 sync [path/to/directory] s3://[bucket_name]/[path/to/remote_location] --exclude [path/to/file] --exclude [path/to/directory]/*`<br><b>Sync objects between buckets and delete destination files not in source</b>`aws s3 sync s3://[bucket_source_name]/[path/to/remote_location] s3://[bucket_target_name]/[path/to/remote_location] --delete`<br><b>Sync to S3 with advanced options (set ACL and storage class)</b>`aws s3 sync [path/to/local_directory] s3://[bucket_name]/[path/to/remote_location] --acl [private|public-read] --storage-class [STANDARD_IA|GLACIER]`<br><b>Sync files to S3 and skip unchanged ones (compare size and modification time)</b>`aws s3 sync [path/to/directory] s3://[bucket_name]/[path/to/remote_location] --size-only`<br><b>Display help</b>`aws s3 sync help`


title: TLDR
content:
<b>With no additional arguments, output will display all outputs for the root module</b>`tofu output`<br><b>Output only a value with specific name</b>`tofu output [name]`<br><b>Convert the output value to a raw string (useful for shell scripts)</b>`tofu output -raw`<br><b>Format the outputs as a JSON object, with a key per output (useful with jq)</b>`tofu output -json`


title: TLDR
content:
<b>List available images</b>`openstack image list [--private|--shared|--all]`<br><b>Display image details</b>`openstack image show --human-readable [image_id]`<br><b>Create/upload an image</b>`openstack image create --file [path/to/file] [--private|--shared|--all] [image_name]`<br><b>Delete image(s)</b>`openstack image delete [image_id1 image_id2 ...]`<br><b>Save an image locally</b>`openstack image save --file [filename] [image_id]`


title: TLDR
content:
<b>Connect to a specific MariaDB database</b>`mariadb [db_name]`<br><b>Connect to a specific MariaDB database using username and password</b>`mariadb --user [user_name] --password [your_password] [db_name]`<br><b>Show warnings after every statement in interactive and batch mode</b>`mariadb --show-warning`<br><b>Display less verbose outputs (can be used multiple times to produce less output)</b>`mariadb [-s|-ss|-sss|--silent]`<br><b>Execute SQL statements from a script file</b>`mariadb < [path/to/script.sql] [db_name] > [path/to/output.tab]`<br><b>Check memory and open file usage at exit</b>`mariadb --debug-check`<br><b>Connect using a socket file for local connections</b>`mariadb [[-S|--socket]] [path/to/socket_name]`<br><b>Display help</b>`mariadb [[-?|--help]]`


title: TLDR
content:
<b>Display a selectable menu of contexts</b>`kubie ctx`<br><b>Switch current shell to the given context</b>`kubie ctx [context]`<br><b>Switch current shell to the given namespace</b>`kubie ns [namespace]`<br><b>Switch current shell to the given context and namespace</b>`kubie ctx [context] -n [namespace]`<br><b>Execute a command in the given context and namespace, without spawning a shell</b>`kubie exec [context] [namespace] [command]`<br><b>Check the Kubernetes configuration files for issues</b>`kubie lint`


title: TLDR
content:
<b>List servers</b>`openstack server list`<br><b>Start server(s)</b>`openstack server start [instance_id1 instance_id2 ...]`<br><b>Stop server</b>`openstack server stop [instance_id1 instance_id2 ...]`<br><b>Create new server</b>`openstack server create --image [image_id] --flavor [flavor_id] --network [network_id] --wait [server_name]`<br><b>Delete server(s)</b>`openstack server delete [instance_id1 instance_id2 ...]`<br><b>Migrate server to different host</b>`openstack server migrate --live [host_hostname] [--shared-migration|--block-migration] --wait [instance_id]`<br><b>Perform a soft or hard reset to the server</b>`openstack server reboot [--soft|--hard] --wait [instance_id]`


title: TLDR
content:
<b>Login to PropelAuth using an API Key generated from <https://auth.propelauth.com/api_keys/personal></b>`propelauth login`<br><b>Set the default PropelAuth Project for the CLI. If no default project is set, the system will prompt for selecting a Project each time certain commands are run</b>`propelauth set-default-project`<br><b>Install PropelAuth authentication in an application. If no directory is provided, the current directory is used</b>`propelauth setup [[-f|--framework]] [path/to/directory]`<br><b>Log the CLI out of PropelAuth</b>`propelauth logout`


title: TLDR
content:
<b>Display a description of a particular command</b>`openstack help [command_name]`<br><b>Get help for Identity v3</b>`openstack --os-identity-api-version 3 --help`<br><b>Display help</b>`openstack --help`


title: TLDR
content:
<b>Brute force ssh login with rate limit and timeout options (successful login will show login banner or something similar)</b>`patator ssh_login host=[ip_or_host] user=FILE0 password=FILE1 0=[path/to/users.txt] 1=[path/to/passwords.txt] --rate_limit=[seconds] --timeout=[seconds] -x ignore:mesg='Authentication failed.'`<br><b>Brute force encrypted zip file</b>`patator unzip_pass zipfile=[path/to/file.zip] password=FILE0 0=[path/to/passwords.txt] -x ignore:code!=0`<br><b>Brute force http basic auth (payload file userpass.txt should be in the format username:password)</b>`patator http_fuzz url=[http://host:port] auth_type=basic user_pass=COMBO00:COMBO01 0=[path/to/userpass.txt] -x ignore:code=401`<br><b>Brute force FTP/FTPS login</b>`patator ftp_login host=[ip_or_host] user=FILE0 password=FILE1 0=[path/to/users.txt] 1=[path/to/passwords.txt] tls=[0|1] -x ignore:mesg='Login incorrect.' -x ignore,reset,retry:code=500`<br><b>List all available modules</b>`patator --help`<br><b>Display help for a particular module</b>`patator [module_name] --help`


title: TLDR
content:
<b>Generate and show the execution plan in the currently directory</b>`tofu plan`<br><b>Show a plan to destroy all remote objects that currently exist</b>`tofu plan -destroy`<br><b>Show a plan to update the Tofu state and output values</b>`tofu plan -refresh-only`<br><b>Specify values for input variables</b>`tofu plan -var '[name1]=[value1]' -var '[name2]=[value2]'`<br><b>Focus Tofu's attention on only a subset of resources</b>`tofu plan -target [resource_type.resource_name[instance index]]`<br><b>Output a plan as JSON</b>`tofu plan -json`<br><b>Write a plan to a specific file</b>`tofu plan -no-color > [path/to/file]`


title: TLDR
content:
<b>Encrypt a Kubernetes secret from a YAML file into a SealedSecret (default JSON output)</b>`kubeseal < [secret.yaml] > [sealedsecret.json]`<br><b>Encrypt a secret, outputting it in YAML or JSON format, using a bearer token for API authentication</b>`kubeseal < [secret.yaml] [[-o|--format]] [yaml|json] --token [my-bearer-token] > [sealedsecret.yaml]`<br><b>Seal a secret using a specific controller namespace of sealed-secrets controller and name</b>`kubeseal < [secret.yaml] --controller-namespace [controller-namespace] --controller-name [controller-name] > [sealedsecret.yaml]`<br><b>Encrypt a raw secret value from a file with a specified name and scope</b>`kubeseal --raw --from-file [path/to/secret.txt] --name [my-secret] --scope [strict|namespace-wide|cluster-wide] > [sealedsecret.yaml]`<br><b>Fetch the controller's public certificate for offline sealing with basic auth</b>`kubeseal --fetch-cert --username [username] --password [password] > [cert.pem]`<br><b>Seal a secret offline using a fetched certificate</b>`kubeseal < [secret.yaml] --cert [cert.pem] > [sealedsecret.yaml]`<br><b>Merge a secret into an existing SealedSecret file in-place</b>`kubeseal < [secret.yaml] --merge-into [sealedsecret.yaml]`<br><b>Validate a SealedSecret without applying it</b>`kubeseal < [sealedsecret.yaml] --validate`


title: TLDR
content:
<b>Initialize a new or existing OpenTofu configuration</b>`tofu init`<br><b>Verify that the configuration files are syntactically valid</b>`tofu validate`<br><b>Format configuration according to OpenTofu language style conventions</b>`tofu fmt`<br><b>Generate and show an execution plan</b>`tofu plan`<br><b>Build or change infrastructure</b>`tofu apply`<br><b>Destroy Tofu-managed infrastructure</b>`tofu destroy`


title: TLDR
content:
<b>List volumes</b>`openstack volume list --all-projects`<br><b>Show volume details</b>`openstack volume show [volume_id]`<br><b>Create new volume</b>`openstack volume create --size [size_in_GB] --image [image_id] --snapshot [snapshot_id] [--bootable|--non-bootable] [volume_name]`<br><b>Delete volumes(s)</b>`openstack volume delete [volume_id1 volume_id2 ...]`<br><b>Migrate volume to a new host</b>`openstack volume migrate --host [host_hostname] [instance_id]`<br><b>Set volume properties</b>`openstack volume set --name [volume_new_name] --size [volume_new_size] [--attached|--detached] [--bootable|--non-bootable] [volume_id]`


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


title: TLDR
content:
<b>List all managed services for the current user</b>`brew services`<br><b>List more information about all managed services</b>`brew services info --all`<br><b>Start a service immediately and register it to launch at login (or boot)</b>`brew services start [formula]`<br><b>Stop the service immediately and unregister it from launching at login (or boot)</b>`brew services stop [formula]`<br><b>Stop (if necessary) and start the service immediately and register it to launch at login (or boot)</b>`brew services restart [formula]`<br><b>Remove all unused services</b>`brew services cleanup`


title: TLDR
content:
<b>Scan a subnet or full IPv4 space for a specific TCP port (default: 80)</b>`zmap [SUBNETS] [[-p|--target-ports]] [port]`<br><b>Scan specific ports or port ranges across a subnet</b>`zmap [[-p|--target-ports]] [port1,port2-port3,...] [SUBNETS]`<br><b>Output results to a CSV file with custom fields</b>`zmap [[-o|--output-file]] [path/to/output_file.csv] [[-f|--output-fields]] "[saddr,daddr,sport,dport]" [SUBNETS]`<br><b>Limit the scan rate to a specific number of packets per second</b>`zmap [[-r|--rate]] [packets_per_second] [SUBNETS]`<br><b>Perform a dry run without sending packets</b>`zmap [[-d|--dryrun]] [SUBNETS]`<br><b>Exclude subnets using a blocklist file in CIDR notation</b>`zmap [[-b|--blocklist-file]] [path/to/blocklist.txt] [SUBNETS]`<br><b>Set a specific source IP for scan packets</b>`zmap [[-S|--source-ip]] [source_ip] [SUBNETS]`<br><b>Cap the number/percentage of targets to probe (e.g. 1000 IP/port pairs)</b>`zmap [[-n|--max-targets]] [1000] [SUBNETS] [[-p|--target-ports]] [port1,port2-port3]`


title: TLDR
content:
<b>View the current branch</b>`steamos-select-branch -c`<br><b>List all available branches</b>`steamos-select-branch -l`<br><b>Switch to the beta branch</b>`steamos-select-branch beta`<br><b>Switch back to the stable release</b>`steamos-select-branch stable`<br><b>Switch to the bleeding edge branch</b>`steamos-select-branch main`


title: TLDR
content:
<b>Stop a service from running on boot</b>`systemctl disable [unit]`<br><b>Stop a service from running on boot and stop its current execution</b>`systemctl disable [unit] --now`<br><b>Stop a user service from running on login</b>`systemctl disable [unit] --user`


title: TLDR
content:
<b>Run qmake build</b>`sfdk qmake`<br><b>Run shadow qmake build in a specified project</b>`sfdk qmake [project]`<br><b>Run build with extra qmake arguments</b>`sfdk qmake -- [arguments]`<br><b>Run shadow qmake build with extra qmake arguments</b>`sfdk qmake [project] [arguments]`


title: TLDR
content:
<b>Generate qmltypes files</b>`sfdk qmltypes`<br><b>Generate qmltypes files without deploying them (usually to emulator)</b>`sfdk qmltypes --no-deploy`<br><b>Generate qmltypes files without restoring the emulator after deployment</b>`sfdk qmltypes --no-restore-emulator`<br><b>Generate qmltypes files and restore the emulator after deployment even on failure</b>`sfdk qmltypes --restore-emulator`<br><b>Generate qmltypes files without reverting changes which only include removal of statements with sdk-make-qmltypes:keep in comments</b>`sfdk qmltypes --no-keep`


title: TLDR
content:
<b>View documentation for the for keyword</b>`tldr for`<br><b>View documentation for the while keyword</b>`tldr while`<br><b>View documentation for the select keyword</b>`tldr select`<br><b>View documentation for the until keyword</b>`tldr until`


title: TLDR
content:
<b>Start the build engine</b>`sfdk engine start`<br><b>Stop the build engine</b>`sfdk engine stop`<br><b>Show the build engine status</b>`sfdk engine status`<br><b>Set an engine property</b>`sfdk engine set [property]=[value]`<br><b>Show the engine properties</b>`sfdk engine show`<br><b>Execute a command on the build engine</b>`sfdk engine exec [command]`<br><b>Start an interactive shell on the build engine</b>`sfdk engine exec`


title: TLDR
content:
<b>Start an emulator</b>`sfdk emulator start [name]`<br><b>Stop an emulator</b>`sfdk emulator stop [name]`<br><b>Display emulator status</b>`sfdk emulator status [name]`<br><b>Display the installed emulators</b>`sfdk emulator list`


title: TLDR
content:
<b>Show all fake data providers along with examples</b>`faker`<br><b>Generate fake data of a specific type</b>`faker [name|address|passport_full|credit_card_full|phone_number|email|company|date_time|user_name|password|job|...]`<br><b>Generate a number of fake addresses from a specific country (use localectl list-locales | cut --delimiter . --fields 1 to get list of locales)</b>`faker [[-r|--repeat]] [number] [[-l|--lang]] [de_DE|de_CH|...] address`<br><b>Generate a number of cities in a specific country and output them to a file (use localectl list-locales | cut --delimiter . --fields 1 to get list of locales)</b>`faker [[-r|--repeat]] [number] [[-l|--lang]] [en_AU|en_US|...] city -o [path/to/file.txt]`<br><b>Generate a number of random HTTP user-agents showing verbose output</b>`faker [[-r|--repeat]] [number] [[-v|--verbose]] user_agent`<br><b>Generate a number of domain names and separate each using a specific separator</b>`faker [[-r|--repeat]] [number] [[-s|--sep]] '[,]' domain_name`


title: TLDR
content:
<b>Recover a private key from a public key file</b>`RsaCtfTool.py --publickey [path/to/key.pub] --private`<br><b>Decrypt a file using a public key</b>`RsaCtfTool.py --publickey [path/to/key.pub] --decryptfile [path/to/ciphered_file]`<br><b>Decrypt a specific ciphertext string</b>`RsaCtfTool.py --publickey [path/to/key.pub] --decrypt "[ciphertext]"`<br><b>Dump RSA key components (e.g., modulus, exponent) from a key file</b>`RsaCtfTool.py --dumpkey --key [path/to/key.pub]`<br><b>Run a specific attack (e.g., Fermat factorization) to recover the private key</b>`RsaCtfTool.py --publickey [path/to/key.pub] --private --attack fermat`<br><b>Generate a public key from modulus (n) and exponent (e)</b>`RsaCtfTool.py --createpub -n [modulus] -e [exponent]`<br><b>Attempt all available attacks to recover the private key</b>`RsaCtfTool.py --publickey [path/to/key.pub] --private --attack all`


title: TLDR
content:
<b>Show a model properties</b>`sfdk emulator device-model-show [model]`<br><b>Display available device models</b>`sfdk emulator device-model-list`


title: TLDR
content:
<b>Display test suites</b>`sfdk check --list-suites`<br><b>Run all or essential test suites</b>`sfdk check`<br><b>Add testing level to the check</b>`sfdk check [[-l|--levels]] +[level]`<br><b>Remove testing level from the check</b>`sfdk check [[-l|--levels]] -[level]`<br><b>Add testing suite to the check</b>`sfdk check [[-s|--suites]] +[suite]`<br><b>Remove testing suite from the check</b>`sfdk check [[-s|--suites]] -[suite]`


title: TLDR
content:
<b>Initialize a new project of the given type</b>`sfdk init [[-t|--type]] [type]`<br><b>Initialize a new project with a specified builder</b>`sfdk init [[-t|--type]] [type] [[-b|--builder]] [builder]`<br><b>Initialize a new project ignoring non-empty directory</b>`sfdk init [[-t|--type]] [type] --force`<br><b>List available project types</b>`sfdk init [[-l|--list-types]]`


title: TLDR
content:
<b>Run cmake</b>`sfdk cmake`<br><b>Run cmake in specified project directory</b>`sfdk cmake [project]`<br><b>Run cmake with extra arguments</b>`sfdk cmake -- [arguments]`<br><b>Run cmake build in current directory</b>`sfdk cmake --build .`<br><b>Run cmake build in current directory with extra cmake arguments</b>`sfdk cmake --build . [cmake-arguments]`<br><b>Run cmake build in current directory with extra build tool arguments</b>`sfdk cmake --build . -- [build-tool-arguments]`


title: TLDR
content:
<b>Show user logged in to copr</b>`copr-cli whoami`<br><b>Build a local spec file on copr</b>`copr-cli build [repository] [path/to/spec_file]`<br><b>Check status of builds</b>`copr-cli list-builds [repository]`<br><b>Trigger a copr build of a spec-file from public (Git) repository</b>`copr-cli buildscm [repository] --clone-url [https://git.example.org/repo] --spec [spec_file_name]`


title: TLDR
content:
<b>Initialize the current directory as the build directory</b>`sfdk build-init`<br><b>Initialize the specified directory as the build directory</b>`sfdk build-init [directory]`


title: TLDR
content:
<b>Generate compilation database</b>`sfdk compiledb`<br><b>Generate compilation database with extra make arguments</b>`sfdk compiledb [arguments]`


title: TLDR
content:
<b>Launch interactive shell in the build engine</b>`sfdk build-shell`<br><b>Run a specified command in the build shell</b>`sfdk build-shell [command]`<br><b>Launch interactive shell in the build engine in maintenance mode, when inspecting or modifying the build environment</b>`sfdk build-shell --maintain`


title: TLDR
content:
<b>Save source modifications as patches</b>`sfdk scrape`<br><b>Preview the list of commits to be scrapped</b>`sfdk scrape [[-n|--dry-run]]`<br><b>Scrape while preserving the original patches file names</b>`sfdk scrape --stable`<br><b>Scrape while saving patches to a specified output directory</b>`sfdk scrape [[-o|--output-dir]] [directory]`<br><b>Scrape without removing commits from submodules after creating patches</b>`sfdk scrape --keep`


title: TLDR
content:
<b>Undeploy using a specified method (pkcon, rpm, rsync, sdk or zypper)</b>`sfdk undeploy --[method]`<br><b>Preview undeploy without applying the changes</b>`sfdk undeploy --[method] [[-n|--dry-run]]`<br><b>Undeploy files in glob pattern package*</b>`sfdk undeploy --[method] "+package*"`<br><b>Undeploy all files excluding ignore*</b>`sfdk undeploy --[method] "-ignore*"`


title: TLDR
content:
<b>Create a package</b>`sfdk package`<br><b>Create a package without executing the check section in RPM SPEC file</b>`sfdk package --no-check`<br><b>Create and sign a package</b>`sfdk package --sign`


title: TLDR
content:
<b>Set a property</b>`sfdk emulator set [name] [property]=[value]`<br><b>Show emulator properties</b>`sfdk emulator show [name]`


title: TLDR
content:
<b>Display the installed emulators</b>`sfdk emulator list`<br><b>Start an emulator</b>`sfdk emulator start [name]`<br><b>Stop an emulator</b>`sfdk emulator stop [name]`<br><b>Display emulator status</b>`sfdk emulator status [name]`<br><b>Run an interactive shell on an emulator</b>`sfdk emulator exec [emulator]`<br><b>Execute a command on an emulator</b>`sfdk emulator exec [emulator] [command]`<br><b>Set a property</b>`sfdk emulator set [name] [property]=[value]`<br><b>Show emulator properties</b>`sfdk emulator show [name]`


title: TLDR
content:
<b>Deploy using a specified method (pkcon, rsync, sdk, zypper, zypper-dup or manual)</b>`sfdk deploy --[method]`<br><b>Preview deploy without applying the changes</b>`sfdk deploy --[method] [[-n|--dry-run]]`<br><b>Deploy files in glob pattern package*</b>`sfdk deploy --[method] "+package*"`<br><b>Deploy all files excluding ignore*</b>`sfdk deploy --[method] "-ignore*"`<br><b>Undeploy using a specified method (pkcon, rpm, rsync, sdk or zypper)</b>`sfdk undeploy --[method]`


title: TLDR
content:
<b>Show configuration in all scopes</b>`sfdk config --show`<br><b>Set a configuration value</b>`sfdk config [name]=[value]`<br><b>Mask an option as empty</b>`sfdk config [name]=`<br><b>Mask an option as empty without pushing it at the inner scope</b>`sfdk config [name]`<br><b>Clear option value</b>`sfdk --drop [name]`<br><b>Run subcommand in specified scope (global, session or command)</b>`sfdk config --[scope] [subcommand]`


title: TLDR
content:
<b>Execute a subcommand</b>`sfdk [subcommand]`<br><b>Execute a subcommand on a custom working directory</b>`git -C [path/to/directory] [subcommand]`<br><b>Execute a subcommand with a given configuration set</b>`git -c '[name]=[value]' [subcommand]`<br><b>Display help</b>`sfdk [[-h|--help]]`<br><b>Display help for specific topic (building, testing, maintaining, ide, all)</b>`sfdk --help-[topic]`<br><b>Display version</b>`sfdk --version`


title: TLDR
content:
<b>Install an emulator</b>`sfdk emulator install [name]`<br><b>Remove an emulator</b>`sfdk emulator remove [name]`<br><b>Display the available emulators</b>`sfdk emulator list [[-a|--available]]`<br><b>Display the installed emulators</b>`sfdk emulator list`


title: TLDR
content:
<b>Display the registered devices</b>`sfdk device list`<br><b>Execute a command on a device by name or index</b>`sfdk device exec [device-name-or-idx] [command]`<br><b>Run an interactive shell on a device by name or index</b>`sfdk device exec [device-name-or-idx]`


title: TLDR
content:
<b>Run a subcommand refreshing the cache</b>`sfdk build-requires --refresh [subcommand]`<br><b>Run a subcommand without refreshing the cache</b>`sfdk build-requires --no-refresh [subcommand]`<br><b>Install or update the build-time dependencies</b>`sfdk build-requires pull`<br><b>Install or update the build-time dependencies, omitting all extra ones</b>`sfdk build-requires reset`<br><b>Show the difference between current and clean build environments</b>`sfdk build-requires diff`


title: TLDR
content:
<b>Execute a command on an emulator</b>`sfdk emulator exec [emulator] [command]`<br><b>Run an interactive shell on an emulator</b>`sfdk emulator exec [emulator]`


title: TLDR
content:
<b>Generate an initramfs with the features specified in /etc/mkinitfs/mkinitfs.conf</b>`mkinitfs`<br><b>Use a different configuration file</b>`mkinitfs -c [path/to/config]`<br><b>Compress the initramfs using the specified compression algorithm (default: gzip)</b>`mkinitfs -C [gzip|xz|zstd|lz4|none]`<br><b>List files that will be included in the initramfs image</b>`mkinitfs -l`<br><b>List all available features</b>`mkinitfs -L`


title: TLDR
content:
<b>Flash an ISO to a drive</b>`caligula burn [path/to/image.iso]`<br><b>Flash an ISO to a drive without entering the hash interactively</b>`caligula burn [path/to/image.iso] [[-s|--hash]] [hash]`


title: TLDR
content:
<b>Replace a search string with a replacement string in filenames</b>`rnm -ss [old] -rs [new] [path/to/directory]`<br><b>Use a fixed (literal) search and replace string instead of regex</b>`rnm -ssf [old] -rs [new] [path/to/files]`<br><b>Add an auto-incremented index to filenames starting from 1</b>`rnm -i 1 -inc 1 -rs [_] [path/to/files]`<br><b>Rename files using a list of new names from a text file</b>`rnm -ns/f [path/to/names.txt] [path/to/files]`<br><b>Rename only files (ignoring directories and links)</b>`rnm -fo -ss [pattern] -rs [replacement] [path/to/files]`<br><b>Sort input files by modification time before renaming</b>`rnm -s/mt -ss [pattern] -rs [replacement] [path/to/files]`<br><b>Run a simulation without making actual changes</b>`rnm -sim -ss [pattern] -rs [replacement] [path/to/files]`<br><b>Undo the last renaming operation</b>`rnm -u`


title: TLDR
content:
<b>Connect to an MSRPC interface using a string binding (e.g., ncacn_ip_tcp:host[port])</b>`rpcmap.py [stringbinding]`<br><b>Bruteforce UUIDs even if the MGMT interface is available</b>`rpcmap.py -brute-uuids [stringbinding]`<br><b>Bruteforce operation numbers (opnums) for discovered UUIDs</b>`rpcmap.py -brute-opnums [stringbinding]`<br><b>Bruteforce major versions of found UUIDs</b>`rpcmap.py -brute-versions [stringbinding]`<br><b>Specify a target IP address manually</b>`rpcmap.py -target-ip [ip_address] [stringbinding]`<br><b>Authenticate to the RPC interface with username and password</b>`rpcmap.py -auth-rpc [domain]/[username]:[password] [stringbinding]`<br><b>Authenticate using NTLM hashes for RPC</b>`rpcmap.py -hashes-rpc [LMHASH:NTHASH] [stringbinding]`<br><b>Enable debug output for verbose information</b>`rpcmap.py -debug [stringbinding]`


title: TLDR
content:
<b>Dump RPC endpoints using username and password</b>`rpcdump.py [domain]/[username]:[password]@[target]`<br><b>Dump RPC endpoints using NTLM hashes</b>`rpcdump.py -hashes [LMHASH]:[NTHASH] [domain]/[username]:[password]@[target]`<br><b>Specify a target IP address explicitly (useful if the target name is a NetBIOS name)</b>`rpcdump.py -target-ip [target_ip] [domain]/[username]:[password]@[target]`<br><b>Connect to a specific port (default is 135 for RPC Endpoint Mapper)</b>`rpcdump.py -port [port_number] [domain]/[username]:[password]@[target]`<br><b>Enable debug output</b>`rpcdump.py -debug [domain]/[username]:[password]@[target]`


title: TLDR
content:
<b>Run the initial setup</b>`znc [[-c|--makeconf]]`<br><b>Start the IRC bouncer daemon</b>`znc`<br><b>Setup znc for systemd</b>`sudo [[-u|--user]] znc znc [[-c|--makeconf]] [[-d|--datadir]] /var/lib/znc`<br><b>Enable znc to start on boot and start it now</b>`systemctl enable znc --now`


title: TLDR
content:
<b>Start the tool</b>`recon-ng`<br><b>Create a workspace</b>`workspaces create [workspace_name]`<br><b>Search the marketplace for modules used to accomplish different reconnaissance tasks</b>`marketplace search`<br><b>Install all available modules (some may need API keys to function completely)</b>`marketplace install all`<br><b>Load the profiler module. It is used to scan the web for profiles matching the target, scrape them, and store them</b>`modules load profiler`<br><b>Insert the target's username. After entering this command, enter the desired username of the search and leave the rest of the options blank</b>`db insert profiles`<br><b>Run the current module</b>`run`


title: TLDR
content:
<b>Safely delete specific files or folders</b>`gomi [path/to/file1 path/to/file2 path/to/folder1 path/to/folder2 ...]`<br><b>Open an interactive menu to restore one or more files</b>`gomi [[-b|--restore]]`<br><b>Remove files that have been in the trashcan longer than the specified time ([d]ay, [w]eek, [m]onth, [y]ear)</b>`gomi --prune [1d|1w|1m|1y|...]`<br><b>Remove orphaned .trashinfo files</b>`gomi --prune [orphans]`


title: TLDR
content:
<b>List detected problems</b>`abrt-cli list`<br><b>Show details of a specific problem</b>`abrt-cli info [problem_id]`<br><b>Remove a crash report</b>`abrt-cli remove [problem_id]`<br><b>Report a problem to the configured bug tracker (e.g. Bugzilla)</b>`abrt-cli report [problem_id]`<br><b>Monitor a log file and trigger a program when a match is found</b>`abrt-watch-log -F [error_string] [/var/log/myapp.log] [notify-send "Crash detected"]`<br><b>Generate a report for debugging manually</b>`abrt-cli report [[-a|--analyze]] [problem_id]`


title: TLDR
content:
<b>List all kernel files</b>`sudo eclean-kernel [[-l|--list-kernels]]`<br><b>Remove all kernels except for the two newest ones</b>`sudo eclean-kernel [[-n|--num]] 2`<br><b>Remove all kernels except for the two newest ones and ask before removal</b>`sudo eclean-kernel [[-a|--all]] [[-n|--num]] 2`


title: TLDR
content:
<b>List all ARP rules in the filter table</b>`sudo arptables [[-L|--list]]`<br><b>Append a rule to drop ARP packets from a specific IP address</b>`sudo arptables [[-A|--append]] INPUT [[-s|--source-ip]] [192.168.0.1] [[-j|--jump]] DROP`<br><b>Delete a specific rule from the INPUT chain by its rule number</b>`sudo arptables [[-D|--delete]] INPUT [rule_number]`<br><b>Flush all rules in the filter table</b>`sudo arptables [[-F|--flush]]`<br><b>Set the default policy of the OUTPUT chain to ACCEPT</b>`sudo arptables [[-P|--policy]] OUTPUT ACCEPT`<br><b>Save the current ARP rules to a file</b>`sudo arptables-save > [path/to/file]`


title: TLDR
content:
<b>List all available fonts using the default font directory</b>`figlist`<br><b>List fonts from a custom directory</b>`figlist -d [path/to/directory]`<br><b>Search for a font by keyword</b>`figlist -d [path/to/directory] | grep [keyword]`<br><b>Count the total number of available fonts in a specified directory</b>`figlist -d [path/to/directory] | wc [[-l|--lines]]`


title: TLDR
content:
<b>Ping an IPv6 host from a specified source IPv6 address</b>`ping6.py [source_ipv6] [destination_ipv6]`<br><b>Ping 2001:db8::2 from 2001:db8::1</b>`ping6.py 2001:db8::1 2001:db8::2`


title: TLDR
content:
<b>Check a font file for formatting errors</b>`chkfont [path/to/font.flf]`<br><b>Check all .flf font files in a directory</b>`chkfont [path/to/fonts]/*.flf`


title: TLDR
content:
<b>Lint a specific playbook and a role directory</b>`ansible-lint [path/to/playbook_file] [path/to/role_directory]`<br><b>Lint a playbook while excluding specific rules</b>`ansible-lint [[-x|--exclude-rules]] [rule1,rule2,...] [path/to/playbook_file]`<br><b>Lint a playbook in offline mode and format output as PEP8</b>`ansible-lint [[-o|--offline]] [[-p|--parseable]] [path/to/playbook_file]`<br><b>Lint a playbook using a custom rules directory</b>`ansible-lint [[-r|--rules]] [path/to/custom_rules_directory] [path/to/playbook_file]`<br><b>Lint all Ansible content recursively in a given directory</b>`ansible-lint [path/to/project_directory]`


title: TLDR
content:
<b>Ping a host from a specified source IPv4 address</b>`ping.py [source_ipv4] [destination_ipv4]`<br><b>Ping 192.168.1.100 from 192.168.1.10</b>`ping.py 192.168.1.10 192.168.1.100`


title: TLDR
content:
<b>Run a utility with arguments</b>`coreutils [util] [util_options]`<br><b>List files in [l]ong format</b>`coreutils ls -l`<br><b>Display help for ls</b>`coreutils ls --help`


title: TLDR
content:
<b>Automatically compute sunset/sunrise times based on the specified location</b>`wlsunset -l [latitude] -L [longitude]`<br><b>Manually set the sunset/sunrise times (time format: HH:MM)</b>`wlsunset -s [sunset_time] -S [sunrise_time]`<br><b>Set the high and low temperatures (default: high - 6500, low - 4000)</b>`wlsunset -T [high_temp] -t [low_temp]`<br><b>Set the animation time to n seconds (only applicable when using manual sunset/sunrise times)</b>`wlsunset -d [n] -s [sunset_time] -S [sunrise_time]`<br><b>Set the gamma (default: 1.0)</b>`wlsunset -g [gamma_value]`


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


title: TLDR
content:
<b>Check MQTT login credentials for a target (MQTT broker's hostname)</b>`mqtt_check.py [domain]/[username]:[password]@[targetName]`<br><b>Specify a custom client ID for authentication</b>`mqtt_check.py -client-id [client_id] [domain]/[username]:[password]@[targetName]`<br><b>Enable SSL for the connection</b>`mqtt_check.py -ssl [domain]/[username]:[password]@[targetName]`<br><b>Connect to a specific port (default is 1883)</b>`mqtt_check.py -port [port] [domain]/[username]:[password]@[targetName]`<br><b>Enable debug output</b>`mqtt_check.py -debug [domain]/[username]:[password]@[targetName]`<br><b>Display help</b>`mqtt_check.py --help`


title: TLDR
content:
<b>Start sway</b>`sway`<br><b>View documentation for i3 (sway uses the same default keybindings)</b>`tldr i3`


title: TLDR
content:
<b>Convert command output to JSON via pipe</b>`[ifconfig] | jc [--ifconfig]`<br><b>Convert command output to JSON via magic syntax</b>`jc [ifconfig]`<br><b>Output pretty JSON via pipe</b>`[ifconfig] | jc [--ifconfig] [[-p|--pretty]]`<br><b>Output pretty JSON via magic syntax</b>`jc [[-p|--pretty]] [ifconfig]`


title: TLDR
content:
<b>Create a two-frame animation</b>`webpmux -frame [path/to/frame1.webp] +[500] -frame [path/to/frame2.webp] +[500] -loop [0] -o [path/to/output.webp]`


title: TLDR
content:
<b>Convert an image into ASCII</b>`ascii-image-converter [path/to/image|URL]`<br><b>Colorize the output</b>`ascii-image-converter [[-C|--color]] [path/to/image|URL]`<br><b>Create a tresholded image using braille (if the image is barely visible, try changing the terminal font)</b>`ascii-image-converter [[-b|--braille]] [path/to/image|URL]`<br><b>Create a dithered image using braille (if the image is barely visible, try changing the terminal font)</b>`ascii-image-converter [[-b|--braille]] --dither [path/to/image|URL]`<br><b>Display the image with negative colors</b>`ascii-image-converter [[-Cn|--color --negative]] [path/to/image|URL]`<br><b>Use a wider range of characters to display an image (may improve image accuracy)</b>`ascii-image-converter [[-c|--complex]] [path/to/image|URL]`


title: TLDR
content:
<b>Open the settings GUI</b>`systemsettings`<br><b>List all possible KCM modules for systemsettings</b>`systemsettings --list`<br><b>Display help</b>`systemsettings [[-h|--help]]`


title: TLDR
content:
<b>Download image in tarball format from a url via pull</b>`sudo importctl pull-tar [URL] [path/to/directory]`<br><b>Pull or download from a remote source that is either raw or qcow2 file, and stores it as a raw file</b>`sudo importctl pull-raw [https://example.com/source.ext] [name] --class=[machine|portable|sysext|confext]`<br><b>Import a raw disk image into the image directory that is possibly compressed with xz, gzip, or bzip2</b>`importctl import-raw [path/to/file.ext] [name] --class=[machine|portable|sysext|confext]`<br><b>Export a container image as tarball into current working directory</b>`importctl export-tar --class=[machine|portable|sysext|confext] [name] [path/to/file.ext]`


title: TLDR
content:
<b>Run command as root</b>`pkexec [command]`<br><b>Switch user to root</b>`pkexec`<br><b>Run command as a specific user</b>`pkexec --user [username] [command]`


title: TLDR
content:
<b>Change the terminal font</b>`setfont [font].gz`<br><b>Change the terminal font by specifying a path</b>`setfont /usr/share/kbd/[mapping]/[font.ext]`<br><b>Double font size</b>`setfont [[-d|--double]]`<br><b>Reset to the default font</b>`setfont`


title: TLDR
content:
<b>Open the GUI</b>`kinfocenter`<br><b>List all possible KCM modules for kinfocenter</b>`kinfocenter --list`<br><b>Display help</b>`kinfocenter [[-h|--help]]`


title: TLDR
content:
<b>Start an RDP server with a username and password</b>`krdpserver [[-u|--username]] [user_name] [[-p|--password]] [password]`<br><b>Share a specific monitor marked by its index</b>`krdpserver [[-u|--username]] [user_name] [[-p|--password]] [password] --monitor [n]`


title: TLDR
content:
<b>List compiled locales</b>`localedef --list-archive`<br><b>Display help</b>`localedef [[-?|--help]]`


title: TLDR
content:
<b>Display the current access control list</b>`xhost`<br><b>Allow a specific host to connect to the X server</b>`xhost +[hostname]`<br><b>Deny a specific host from connecting to the X server</b>`xhost -[hostname]`<br><b>Allow all hosts to connect (disable access control - insecure)</b>`xhost +`<br><b>Deny all hosts except those explicitly allowed (enable access control)</b>`xhost -`<br><b>Remove a specific user or address using a family prefix (like inet:hostname or si:localuser:username)</b>`xhost -[family:name]`


title: TLDR
content:
<b>Generate locales</b>`locale-gen`<br><b>Do not delete undefined locales</b>`locale-gen --keep-existing`


title: TLDR
content:
<b>Hunt for secrets using custom regexes and output results in JSON</b>`cat [path/to/urls.txt] | cariddi -s -sf [path/to/custom_secrets.txt] -json`<br><b>Hunt for juicy endpoints with high concurrency and timeout with plain output results</b>`cat [path/to/urls.txt] | cariddi -e -c [250] -t [15] -plain`<br><b>Crawl with debug mode and store HTTP responses and output results in txt file</b>`cat [path/to/urls.txt] | cariddi -debug -sr -ot [path/to/debug_output.txt]`<br><b>Perform an intensive crawl with a proxy and random user agent and output results in html file</b>`cat [path/to/urls.txt] | cariddi -intensive -proxy [http://127.0.0.1:8080] -rua -oh [path/to/intensive_crawl.html]`<br><b>Hunt for errors and useful information with a custom delay and use .cariddi_cache folder as cache</b>`cat [path/to/urls.txt] | cariddi -err -info -d [3] -cache`<br><b>Show example uses</b>`cariddi -examples`


title: TLDR
content:
<b>Open an NTFS volume for exploration (e.g., C:\.\\ or /dev/disk1s1)</b>`ntfs-read.py [volume]`<br><b>Extract a specific file from an NTFS volume (e.g., \windows\system32\config\sam)</b>`ntfs-read.py -extract [\windows\system32\config\sam] [volume]`<br><b>Enable debug output</b>`ntfs-read.py -debug [volume]`<br><b>Display help</b>`ntfs-read.py --help`


title: TLDR
content:
<b>Create a CPIO archive from the current directory</b>`create-image [[-o|--output]] [path/to/output.cpio]`<br><b>Display help</b>`create-image [[-h|--help]]`


title: TLDR
content:
<b>Run a program with gamescope on the terminal</b>`gamescope -- [program]`<br><b>Run a game with gamescope through Steam</b>`gamescope -- %command%`<br><b>Upscale a 720p game to 1440p with integer scaling</b>`gamescope [[-h|--nested-height]] 720 [[-H|--output-height]] 1440 [[-S|--scaler]] integer -- %command%`<br><b>Limit a vsynced game to 30 FPS</b>`gamescope [[-r|--nested-refresh]] 30 -- %command%`<br><b>Launch Steam in Big Picture Mode and integrate with gamescope</b>`gamescope [[-e|--steam]] -- /usr/bin/steam -tenfoot`<br><b>Specify which display to prefer</b>`gamescope [[-O|--prefer-output]] [HDMI-A-1,DP-3,...] -- [program]`<br><b>Toggle fullscreen</b>`<Super f>`<br><b>Display help</b>`gamescope --help`


title: TLDR
content:
<b>Lint for REUSE compliance for the current project (version control aware)</b>`reuse lint`<br><b>Lint for REUSE compliance from the specified directory</b>`reuse --root [path/to/directory] lint`<br><b>Add copyright statement to file</b>`reuse annotate [[-c|--copyright]] "[your_name] <[your_email]>" --fallback-dot-license [path/to/file]`<br><b>Add license information to file</b>`reuse annotate [[-l|--license]] [spdx_identifier] --fallback-dot-license [path/to/file]`<br><b>Download a license by its SPDX identifier and place it in the LICENSES directory</b>`reuse download [spdx-identifier]`<br><b>Download all missing licenses detected in the project</b>`reuse download --all`


title: TLDR
content:
<b>Build a Nix expression</b>`nix-build '<nixpkgs>' [[-A|--attr]] [firefox]`<br><b>Build a sandboxed Nix expression (on non-NixOS)</b>`nix-build '<nixpkgs>' [[-A|--attr]] [firefox] --option sandbox true`


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 nix 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>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>List all cached and available Assetnote wordlists</b>`kiterunner wordlist list`<br><b>List wordlists with JSON output</b>`kiterunner wordlist list [[-o|--output]] [json]`<br><b>List wordlists with verbose debug output</b>`kiterunner wordlist list [[-v|--verbose]] [debug]`<br><b>Save a specific Assetnote wordlist by alias</b>`kiterunner wordlist save [apiroutes-210328]`<br><b>Save a specific Assetnote wordlist by full filename</b>`kiterunner wordlist save [path/to/httparchive_apiroutes_2024_05_28.txt]`<br><b>Save multiple wordlists by alias</b>`kiterunner wordlist save [apiroutes-210328,aspx-210328]`<br><b>Save a wordlist with quiet mode to suppress output</b>`kiterunner wordlist save [apiroutes-210328] [[-q|--quiet]]`


title: TLDR
content:
<b>Start with nix expression in shell.nix or default.nix in the current directory</b>`nix-shell`<br><b>Run shell command in non-interactive shell and exit</b>`nix-shell --run "[command] [argument1 argument2 ...]"`<br><b>Start with expression in default.nix in the current directory</b>`nix-shell [default.nix]`<br><b>Start with packages loaded from nixpkgs</b>`nix-shell [[-p|--packages]] [package1 package2 ...]`<br><b>Start with packages loaded from specific nixpkgs revision</b>`nix-shell [[-p|--packages]] [package1 package2 ...] [[-I|--include]] nixpkgs=[https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz]`<br><b>Evaluate rest of file in specific interpreter, for use in #!-scripts (see <https://nixos.org/manual/nix/stable/#use-as-a-interpreter>)</b>`nix-shell -i [interpreter] [[-p|--packages]] [package1 package2 ...]`


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 update [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>Infer the root directory of the project containing the specified directory, and watch its files and sub-folders for changes</b>`watchman watch-project [path/to/directory]`<br><b>Add a trigger to run a command when files with a specified filename pattern in a watched directory change</b>`watchman -- trigger [path/to/watched_directory] [trigger_name] '[pattern]' -- [command]`<br><b>List all watched directories</b>`watchman watch-list`<br><b>Delete a watch on a directory and its associated triggers</b>`watchman watch-del [path/to/watched_directory]`<br><b>Delete all watched directories and triggers</b>`watchman watch-del-all`<br><b>List all triggers on a watched directory</b>`watchman trigger-list [path/to/watched_directory]`<br><b>Delete a trigger from a watched directory</b>`watchman trigger-del [path/to/watched_directory] [trigger_name]`<br><b>Temporarily stop watchman, until the next time you call a watchman command</b>`watchman shutdown-server`


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>View documentation for bruteforcing API paths and web endpoints</b>`tldr kiterunner brute`<br><b>View documentation for concurrently scanning hosts with kitebuilder wordlists</b>`tldr kiterunner scan`<br><b>View documentation for manipulating kitebuilder schemas</b>`tldr kiterunner kb`<br><b>View documentation for managing cached and remote wordlists</b>`tldr kiterunner wordlist`


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/[checksum-package-version.ext]`<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>Bruteforce a target with an Assetnote wordlist (e.g., first 20,000 API routes)</b>`kiterunner brute [https://example.com] [[-A|--assetnote-wordlist]] [apiroutes-210328:20000]`<br><b>Bruteforce a target with a custom wordlist</b>`kiterunner brute [https://example.com] [[-w|--wordlist]] [path/to/wordlist.txt]`<br><b>Bruteforce using a dirsearch-style wordlist with extension substitution</b>`kiterunner brute [https://example.com] [[-w|--wordlist]] [path/to/dirsearch.txt] [[-D|--dirsearch-compat]] [[-e|--extensions]] [json,txt]`<br><b>Bruteforce with specific file extensions appended and output in JSON format</b>`kiterunner brute [https://example.com] [[-w|--wordlist]] [path/to/wordlist.txt] [[-e|--extensions]] [aspx,ashx] [[-o|--output]] [json]`<br><b>Bruteforce a list of targets from a file with custom concurrency settings for performance</b>`kiterunner brute [path/to/targets.txt] [[-w|--wordlist]] [path/to/wordlist.txt] [[-x|--max-connection-per-host]] [5] [[-j|--max-parallel-hosts]] [100]`<br><b>Bruteforce and ignore specific content length responses</b>`kiterunner brute [https://example.com] [[-w|--wordlist]] [path/to/wordlist.txt] --ignore-length [100-105]`<br><b>Bruteforce with custom HTTP headers</b>`kiterunner brute [https://example.com] [[-w|--wordlist]] [path/to/wordlist.txt] [[-H|--header]] "[Authorization: Bearer token]"`<br><b>Bruteforce a list of targets from a file with fail status code filtering</b>`kiterunner brute [path/to/targets.txt] [[-w|--wordlist]] [path/to/wordlist.txt] --fail-status-codes [400,401,404]`


title: TLDR
content:
<b>Create the database specified in the DATABASE_URL environment variable</b>`sqlx database create`<br><b>Drop the specified database</b>`sqlx database drop [[-D|--database-url]] [database_url]`<br><b>Create a new pair of up and down migration files with the given description in the "migrations" directory</b>`sqlx migrate add -r [migration_description]`<br><b>Run all pending migrations for the specified database</b>`sqlx migrate run [[-D|--database-url]] [database_url]`<br><b>Revert the latest migration for the specified database</b>`sqlx migrate revert [[-D|--database-url]] [database_url]`


title: TLDR
content:
<b>Collect garbage, such as removing unused paths</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 (must be unused)</b>`nix-store --delete /nix/store/[checksum-package-version.ext]`<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>Calculate the total size of a certain store path with all the dependencies</b>`du [[-cLsh|--total --dereference --summarize --human-readable]] $(nix-store [[-q|--query]] --references /nix/store/[checksum-package-version.ext])`<br><b>Show all dependents of a particular store path</b>`nix-store [[-q|--query]] --referrers /nix/store/[checksum-package-version.ext]`


title: TLDR
content:
<b>Check hidden parameters in a URL query</b>`x8 [[-u|--url]] [https://example.com/] [[-w|--wordlist]] [path/to/wordlist.txt]`<br><b>Check parameters with a custom query injection point (%s)</b>`x8 [[-u|--url]] [https://example.com/?something=1%26%s] [[-w|--wordlist]] [path/to/wordlist.txt]`<br><b>Send parameters via POST body with JSON format</b>`x8 [[-u|--url]] [https://example.com/] [[-X|--method]] [POST] [[-b|--body]] '[{"x":{%s\}\]}' [[-w|--wordlist]] [path/to/wordlist.txt]`<br><b>Check parameters with a custom template (%k for key, %v for value)</b>`x8 [[-u|--url]] [https://example.com/] [[-P|--param-template]] [user[%k]=%v] [[-w|--wordlist]] [path/to/wordlist.txt]`<br><b>Encode parameters for special characters in queries</b>`x8 [[-u|--url]] [https://example.com/?path=..%2faction.php%3f%s%23] --encode [[-w|--wordlist]] [path/to/wordlist.txt]`<br><b>Discover hidden headers for a URL</b>`x8 [[-u|--url]] [https://example.com/] --headers [[-w|--wordlist]] [path/to/headers.txt]`<br><b>Check multiple URLs in parallel with high concurrency and verify found parameters</b>`x8 [[-u|--url]] [https://example.com/] [https://4rt.one/] [[-W|--workers]] [0] -c [3] --verify`<br><b>Save request and response data for found parameters to a directory</b>`x8 [[-u|--url]] [https://example.com/] [[-w|--wordlist]] [path/to/wordlist.txt] --save-responses [path/to/output_directory]`


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/[checksum-package-version.ext]`<br><b>List a contents of the store path, on a remote store</b>`nix store --store [https://cache.nixos.org] ls /nix/store/[checksum-package-version.ext]`<br><b>Show the differences in versions between two store paths, with their respective dependencies</b>`nix store diff-closures /nix/store/[checksum-package-version.ext] /nix/store/[checksum-package-version.ext]`


title: TLDR
content:
<b>Scan a target with an Assetnote wordlist (e.g., first 5000 API routes)</b>`kiterunner scan [https://example.com] [[-A|--assetnote-wordlist]] [apiroutes-210228:5000]`<br><b>Scan a target with a kitebuilder wordlist</b>`kiterunner scan [https://example.com] [[-w|--kitebuilder-list]] [path/to/wordlist.kite]`<br><b>Scan multiple hosts from a file with a kitebuilder wordlist</b>`kiterunner scan [path/to/hosts.txt] [[-w|--kitebuilder-list]] [path/to/wordlist.kite]`<br><b>Scan with an Assetnote wordlist and JSON output</b>`kiterunner scan [https://example.com] [[-A|--assetnote-wordlist]] [apiroutes-210228:5000] -o [json]`<br><b>Scan with custom concurrency settings for performance</b>`kiterunner scan [https://example.com] [[-w|--kitebuilder-list]] [path/to/wordlist.kite] [[-x|--max-connection-per-host]] [5] [[-j|--max-parallel-hosts]] [100]`<br><b>Scan with a wordlist as a normal wordlist, disabling depth scanning</b>`kiterunner scan [https://example.com] [[-w|--kitebuilder-list]] [path/to/rafter.txt] [[-d|--preflight-depth]] [0]`<br><b>Scan with custom headers and ignore specific content length responses</b>`kiterunner scan [https://example.com] [[-w|--kitebuilder-list]] [path/to/wordlist.kite] [[-H|--header]] "[Authorization: Bearer token]" --ignore-length [100-105]`<br><b>Perform a full kitebuilder scan without phase scanning</b>`kiterunner scan [https://example.com] [[-w|--kitebuilder-list]] [path/to/wordlist.kite] --kitebuilder-full-scan`


title: TLDR
content:
<b>Compile a kitebuilder schema from JSON to a kite file</b>`kiterunner kb compile [path/to/wordlist.json] [path/to/wordlist.kite]`<br><b>Convert a kite file to a text wordlist</b>`kiterunner kb convert [path/to/wordlist.kite] [path/to/wordlist.txt]`<br><b>Convert a text wordlist to a kite file</b>`kiterunner kb convert [path/to/wordlist.txt] [path/to/wordlist.kite]`<br><b>Convert a kite file to a JSON schema</b>`kiterunner kb convert [path/to/wordlist.kite] [path/to/wordlist.json]`<br><b>Parse a kitebuilder schema and output prettified JSON data</b>`kiterunner kb parse [path/to/wordlist.json] [[-o|--output]] [json]`<br><b>Parse a kite file and output prettified text data</b>`kiterunner kb parse [path/to/wordlist.kite] [[-o|--output]] [text]`<br><b>Replay a specific request from a kitebuilder schema output</b>`kiterunner kb replay [[-w|--kitebuilder-list]] [path/to/wordlist.kite] "[request_output]"`<br><b>Replay a request through a proxy for inspection</b>`kiterunner kb replay [[-w|--kitebuilder-list]] [path/to/wordlist.kite] [[-p|--proxy]] [http://localhost:8080] "[request_output]"`


title: TLDR
content:
<b>Start and enable the keyd service</b>`systemctl enable keyd --now`<br><b>Display keypress information</b>`sudo keyd monitor`<br><b>Reset bindings and reload the configuration files in /etc/keyd</b>`sudo keyd reload`<br><b>List all valid key names</b>`keyd list-keys`<br><b>Create a temporary binding</b>`sudo keyd bind "[pressed_key] = [output_key]"`


title: TLDR
content:
<b>Set a memory block offline</b>`sudo chmem [[-b|--block]] [[-d|--disable]] [block_number]`<br><b>Set a memory block online</b>`sudo chmem [[-b|--block]] [[-e|--enable]] [block_number]`<br><b>Set a memory range offline using hexadecimal addresses</b>`sudo chmem [[-d|--disable]] 0x[start_address]-0x[end_address]`<br><b>Set a memory range online using hexadecimal addresses</b>`sudo chmem [[-e|--enable]] 0x[start_address]-0x[end_address]`<br><b>Set memory online and assign it to a specific zone (e.g., Movable)</b>`sudo chmem [[-e|--enable]] 0x[start_address] [[-z|--zone]] [Movable]`<br><b>Display help</b>`chmem [[-h|--help]]`


title: TLDR
content:
<b>Get a list of possible flags/colors</b>`blahaj --flags`<br><b>Print a shark (blahaj) with default trans colors</b>`blahaj [[-s|--shark]]`<br><b>Print a random flag with a 2x size multiplier</b>`blahaj [[-f|--flag]] [[-r|--random]] [[-m|--multiplier]] 2`<br><b>Print the result of a text-producing command with lesbian colors</b>`[cowsay "Hello, world"] | blahaj [[-c|--colors]] lesbian`<br><b>Print text and color by individual character</b>`echo "[Hello, world]" | blahaj [[-i|--individual]]`<br><b>Print contents of a text document, coloring the background instead of text, by word</b>`blahaj [[-w|--words]] [[-b|--background]] [path/to/file]`


title: TLDR
content:
<b>Print the fifth column (a.k.a. field) in a space-separated file</b>`gawk '{print $5}' [path/to/file]`<br><b>Print the second column of the lines containing "foo" in a space-separated file</b>`gawk '/[foo]/ {print $2}' [path/to/file]`<br><b>Print the last column of each line in a file, using a comma (instead of space) as a field separator</b>`gawk [[-F|--field-separator]] ',' '{print $NF}' [path/to/file]`<br><b>Sum the values in the first column of a file and print the total</b>`gawk '{s+=$1} END {print s}' [path/to/file]`<br><b>Print every third line starting from the first line</b>`gawk 'NR%3==1' [path/to/file]`<br><b>Print different values based on conditions</b>`gawk '{if ($1 == "foo") print "Exact match foo"; else if ($1 ~ "bar") print "Partial match bar"; else print "Baz"}' [path/to/file]`<br><b>Print all the lines which the 10th column value is between a min and a max</b>`gawk '($10 >= [min_value] && $10 <= [max_value])'`<br><b>Print table of users with UID >=1000 with header and formatted output, using colon as separator (%-20s mean: 20 left-align string characters, %6s means: 6 right-align string characters)</b>`gawk 'BEGIN {FS=":";printf "%-20s %6s %25s\n", "Name", "UID", "Shell"} $4 >= 1000 {printf "%-20s %6d %25s\n", $1, $4, $7}' /etc/passwd`


title: TLDR
content:
<b>Print a sprite of a given pokemon</b>`pokeget [pokemon_name]`<br><b>Print Mr. Mime (note the use of - instead of spaces)</b>`pokeget mr-mime`<br><b>Print Mega Gengar</b>`pokeget gengar [[-m|--mega]]`<br><b>Print a random shiny Pokemon</b>`pokeget random [[-s|--shiny]]`<br><b>Print Alolan Meowth, without printing the Pokemon's name</b>`pokeget meowth [[-a|--alolan]] --hide-name`<br><b>Print a random Pokemon with 1/4096 chance to be shiny</b>`((RANDOM%4096 == 0)) && pokeget random --shiny || pokeget random`


title: TLDR
content:
<b>Lookup CIDR ranges for an ASN</b>`asnmap [[-a|-asn]] [AS5650] -silent`<br><b>Lookup CIDR ranges for an IP address</b>`asnmap [[-i|-ip]] [100.19.12.21] -silent`<br><b>Lookup CIDR ranges for a domain</b>`asnmap [[-d|-domain]] [example.com] -silent`<br><b>Lookup CIDR ranges for an organization</b>`asnmap -org [GOOGLE] -silent`<br><b>Lookup CIDR ranges from a file of targets</b>`asnmap [[-f|-file]] [targets.txt] -silent`<br><b>Output results in JSON format</b>`asnmap [[-d|-domain]] [facebook.com] [[-j|-json]] -silent`<br><b>Output results in CSV format</b>`asnmap [[-a|-asn]] [AS394161] [[-c|-csv]] -silent`<br><b>Update asnmap to the latest version</b>`asnmap [[-up|-update]]`


title: TLDR
content:
<b>Open DBeaver</b>`dbeaver`<br><b>Open DBeaver connecting to a specific database</b>`dbeaver [[-con|--connect]] [database]`<br><b>Force the creation of a new instance</b>`dbeaver --newInstance`<br><b>Stop the running instance</b>`dbeaver --quit`<br><b>Close all tabs within DBeaver</b>`dbeaver --closeTabs`<br><b>Bring DBeaver to the top of applications</b>`dbeaver --bringToFront`<br><b>Display help</b>`dbeaver --help`


title: SYNOPSIS
content:
The "!" character is used in various forms for history expansion:<br><br><b>Event Specifiers:</b><br><I>!!</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Re-execute the last command.<br><I>!string</I> &nbsp; &nbsp; &nbsp; Re-execute the most recent command starting with 'string'.<br><I>!?string?</I> &nbsp; Re-execute the most recent command containing 'string'.<br><I>!-n</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Re-execute the n-th command back from the current command.<br><I>!n</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Re-execute command number n from history.<br><br><b>Word Designators (used after an event specifier, e.g., !command:$):</b><br><I>:0</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The command word (0th argument).<br><I>:n</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The n-th argument.<br><I>:$</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The last argument.<br><I>:*</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; All arguments (excluding the command word).<br><I>:^</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The first argument.<br><br><b>Modifiers (used after event specifier and optional word designator, e.g., !command:s/old/new/):</b><br><I>:h</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Remove a trailing pathname component (head).<br><I>:t</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Remove all leading pathname components (tail).<br><I>:r</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Remove a filename suffix.<br><I>:e</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Remove all but the filename suffix.<br><I>:p</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Print the expanded command but do not execute it.<br><I>:s/old/new/</I> &nbsp; Substitute 'old' with 'new' in the event line.<br><I>:g</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Apply the subsequent modifier globally.<br><I>:&</I> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Repeat the previous substitution.


title: PARAMETERS
content:
<b>!!</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Re-executes the last command.<br><br><b>!string</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Re-executes the most recent command starting with 'string'.<br><br><b>!?string?</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Re-executes the most recent command containing 'string'.<br><br><b>!-n</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Re-executes the Nth command back in history.<br><br><b>!n</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Re-executes command number N from history.<br><br><b>!cmd:0</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Refers to the command word (0th argument) of the specified history event 'cmd'.<br><br><b>!cmd:n</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Refers to the Nth argument of the specified history event 'cmd'.<br><br><b>!cmd:$</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Refers to the last argument of the specified history event 'cmd'.<br><br><b>!cmd:*</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Refers to all arguments of the specified history event 'cmd' (excluding the command itself).<br><br><b>!cmd:s/old/new/</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Performs a substitution, replacing the first occurrence of 'old' with 'new' in the selected history event.<br><br>


title: DESCRIPTION
content:
The "!" character in Linux, primarily within interactive shells like Bash, is a powerful feature for <B>history expansion</B>. It allows users to quickly reference, modify, and re-execute commands from their shell's history list without retyping them. This significantly enhances productivity and reduces errors. When the shell encounters an unescaped '!' (unless it's part of an assignment or certain other contexts), it attempts to replace it with a command or argument from the history buffer. This expansion happens before the command is executed, effectively substituting the history reference with the actual command string. Common uses include re-running the last command, referencing specific arguments from previous commands, or searching history for commands containing a specific string.


title: CAVEATS
content:
<I>Shell Specific</I>: The "!" history expansion is a feature of interactive shells (like Bash, Zsh, Tcsh) and not a standalone executable Linux command. Its behavior can vary slightly between shells.<br><I>Escaping</I>: The "!" character needs to be escaped with a backslash (<I>\!</I>) or enclosed in single quotes (<I>'!'</I>) if it is intended as a literal character, not for history expansion.<br><I>Security</I>: When using history expansion, ensure you understand what command will be executed, especially with <I>!string</I> or <I>!?string?</I>, to avoid unintended actions or potential security risks if your history file contains sensitive or malicious commands.<br><I>Non-interactive use</I>: History expansion is typically disabled in non-interactive shell scripts to prevent unexpected behavior. It can be toggled with <I>set -H</I> or <I>set +H</I>.<br><I>Ambiguity</I>: Using <I>!</I> as part of a variable assignment (e.g., <I>VAR=!value</I>) might not trigger history expansion depending on shell options (e.g., <I>histverify</I>).


title: DISABLING HISTORY EXPANSION
content:
History expansion can be temporarily disabled for the current command by preceding the "!" with a backslash (<I>\!</I>, e.g., <I>echo \!foo</I>). To disable it for the entire session, you can use <I>set +H</I> (or <I>set +o histexpand</I>). To re-enable it, use <I>set -H</I> (or <I>set -o histexpand</I>).


title: LOGICAL NOT OPERATOR
content:
While distinct from history expansion, "!" also serves as a logical NOT operator in shell conditional expressions. For instance, <I>if ! grep -q "pattern" file; then ...</I> means "if grep does NOT find the pattern...". This usage is common in shell scripting but does not involve history modification.


title: BANG PATHNAME EXPANSION (ZSH)
content:
In Zsh, "!" can be used for pathname expansion, similar to globbing, to match filenames that do <I>not</I> match a pattern (e.g., <I>rm *~</I> removes files not ending with <I>~</I>). This is specific to Zsh and not part of Bash's history expansion.


title: HISTORY
content:
History expansion, often referred to as "bang history", originated in the <I>C shell (csh)</I> developed by Bill Joy in the late 1970s. It was designed to address the common need to recall and modify previously executed commands. Given its immense utility, this feature was later adopted and significantly expanded upon in the <I>TENEX C shell (tcsh)</I> and subsequently integrated into the <I>GNU Bourne-Again SHell (Bash)</I> during its development in the late 1980s and early 1990s. Bash's implementation closely mirrors the C shell's syntax but includes additional modifiers and functionalities, making it a staple for interactive shell users.


title: SYNOPSIS
content:
The dollar sign (<b>$</b>) is not a command with a traditional synopsis. Its usage is context-dependent and follows various patterns:<br><br><b>$</b><I>VARIABLE_NAME</I><br><b>$</b><I>SPECIAL_PARAMETER</I><br><b>$</b>(<I>COMMAND</I>)<br><b>${</b><I>PARAMETER_EXPANSION_SYNTAX</I><b>}</b><br><br>As a prompt indicator: <I>user@host</I>:~<b>$</b><br>In regular expressions: <I>pattern</I><b>$</b>


title: PARAMETERS
content:
<b><b>$</b><I>VARIABLE</I></b><br>&nbsp;&nbsp;&nbsp;&nbsp;Expands to the value of the shell variable or environment variable named <I>VARIABLE</I> (e.g., <b>$HOME</b>, <b>$PATH</b>).<br><br><b><b>$0</b>, <b>$1</b>, <b>$2</b>, ...</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Positional parameters where <b>$0</b> is the name of the script/shell function, and <b>$1</b>, <b>$2</b>, etc., are the command-line arguments passed to it.<br><br><b><b>$?</b></b><br>&nbsp;&nbsp;&nbsp;&nbsp;Expands to the exit status of the most recently executed foreground pipeline (0 for success, non-zero for failure).<br><br><b><b>$$</b></b><br>&nbsp;&nbsp;&nbsp;&nbsp;Expands to the process ID (PID) of the shell itself.<br><br><b><b>$!</b></b><br>&nbsp;&nbsp;&nbsp;&nbsp;Expands to the process ID (PID) of the most recently executed background command.<br><br><b><b>$#</b></b><br>&nbsp;&nbsp;&nbsp;&nbsp;Expands to the number of positional parameters passed to the shell or script.<br><br><b><b>$*</b></b><br>&nbsp;&nbsp;&nbsp;&nbsp;Expands to all positional parameters as a single word (when unquoted), or as a single argument containing all positional parameters separated by the first character of <b>IFS</b> (when quoted as <b>"$*"</b>).<br><br><b><b>$@</b></b><br>&nbsp;&nbsp;&nbsp;&nbsp;Expands to all positional parameters. When quoted as <b>"$@"</b>, each parameter expands as a separate word, preserving arguments containing whitespace or special characters. This is generally preferred over <b>"$*"</b>.<br><br><b><b>$(</b><I>command</I><b>)</b></b><br>&nbsp;&nbsp;&nbsp;&nbsp;Command substitution; the expression is replaced by the standard output of <I>command</I>. This is the modern and preferred syntax over backticks (`<I>command</I>`).<br><br><b><b>${</b><I>parameter</I><b>}</b></b><br>&nbsp;&nbsp;&nbsp;&nbsp;General form for parameter expansion. The braces are used to delimit the parameter name from surrounding text (e.g., <b>${VAR}suffix</b>) or to perform complex expansions like substring manipulation, default value assignment (e.g., <b>${VAR:-default}</b>), and pattern removal.<br><br><b><b>$</b> (in RegEx)</b><br>&nbsp;&nbsp;&nbsp;&nbsp;In regular expressions (e.g., with <b>grep</b>, <b>sed</b>, <b>awk</b>), the <b>$</b> character matches the end of a line. For example, <b>pattern$</b> matches lines ending with 'pattern'.<br><br><b><b>$</b><I>N</I> (in <b>awk</b>)</b><br>&nbsp;&nbsp;&nbsp;&nbsp;In <b>awk</b>, <b>$</b><I>N</I> refers to the Nth field of the current input record. For example, <b>$1</b> is the first field, <b>$2</b> is the second field, and <b>$0</b> refers to the entire current record.<br><br>


title: DESCRIPTION
content:
The dollar sign (<b>$</b>) is a fundamental and highly versatile special character in the Linux shell environment, serving multiple distinct purposes. Crucially, it is <b>not a command</b> itself, but rather an operator or indicator whose meaning is heavily dependent on its context.<br><br>Its most common use is for <i>variable expansion</i>, where <b>$</b><I>VARIABLE_NAME</I> retrieves and substitutes the value of a defined shell or environment variable (e.g., <b>$HOME</b>, <b>$PATH</b>). It also denotes various <i>special shell parameters</i>, such as <b>$?</b> (exit status of the last command), <b>$$</b> (current shell's process ID), and <b>$#</b> (number of positional parameters passed to a script).<br><br>Beyond simple variable access, <b>$</b> facilitates advanced <i>parameter expansion</i> using brace syntax (e.g., <b>${VAR:-default}</b>), allowing for default values, substring manipulation, and more. It's also integral to <i>command substitution</i> (e.g., <b>$(ls -l)</b>), where the output of a command replaces the expression. In the context of <i>regular expressions</i> (used by commands like <b>grep</b>, <b>sed</b>), <b>$</b> acts as an anchor, matching the end of a line. Lastly, it frequently appears as the default <i>shell prompt indicator</i> for non-root users, signifying readiness for command input.


title: CAVEATS
content:
The behavior of <b>$</b> is highly context-dependent, which can lead to confusion. Proper quoting (single quotes <b>'...'</b> vs. double quotes <b>"..."</b>) is crucial; single quotes suppress all expansions, while double quotes allow variable and command substitution but prevent globbing and word splitting.<br><br>The older backtick (<b>`command`</b>) syntax for command substitution is deprecated in favor of <b>$(command)</b>, as it's less prone to nesting issues and easier to read.<br><br>In regular expressions, <b>$</b> needs to be escaped (e.g., <b>\$</b>) if you intend to match the literal dollar sign character, as it otherwise serves as an end-of-line anchor.


title: <I>SHELL PROMPT INDICATOR</I>
content:
The <b>$</b> character is commonly seen as the default prompt symbol for non-root users in many Linux and Unix-like systems (e.g., <b>user@hostname:~$</b>). It indicates that the shell is ready to accept commands. The root user typically has a different prompt symbol, usually <b>#</b>.


title: <I>DIFFERENCE BETWEEN <B>$VAR</B> AND <B>${VAR}</B></I>
content:
While <b>$VAR</b> works for simple variable expansion, <b>${VAR}</b> is often preferred. The braces are necessary when the variable name is immediately followed by characters that could be interpreted as part of the variable name itself. For example, to append 'suffix' to a variable <b>VAR</b>, you must use <b>${VAR}suffix</b>, as <b>$VARsuffix</b> would look for a variable named 'VARsuffix'.


title: HISTORY
content:
The usage of <b>$</b> for variable expansion and special parameters dates back to the very early Unix shells, particularly the Bourne shell (<b>sh</b>) in the late 1970s. Its fundamental role in shell scripting has been carried forward and expanded upon in subsequent shells like <b>ksh</b> (Korn shell), <b>bash</b> (GNU Bourne-Again Shell), and <b>zsh</b> (Z Shell). The parameter expansion syntax (e.g., <b>${VAR:-default}</b>) and <b>$(command)</b> for command substitution were introduced to provide more robust and less ambiguous ways to handle shell programming constructs, becoming standard in POSIX-compliant shells.


title: SYNOPSIS
content:
In shell job control, the '%' symbol is used as a prefix for a <I>job identifier</I> (jobspec). It is not invoked as a command itself but rather as an argument to commands like <I>fg</I>, <I>bg</I>, or <I>kill</I>.<br><br><b><I>%[jobspec]</I></b><br><b><I>%%</I></b> or <b><I>%+</I></b> (current job)<br><b><I>%-</I></b> (previous job)


title: PARAMETERS
content:
<b>jobspec</b><br>&nbsp;&nbsp;&nbsp;&nbsp;An identifier for a background job. Can be a job number (e.g., <I>1</I>, <I>2</I>), a string (e.g., <I>%string</I> to refer to a job whose command line contains 'string'), <I>+</I> or <I>%%</I> for the current (most recently stopped or backgrounded) job, or <I>-</I> for the previous job.<br><br><b>+ or %%</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Refers to the current job (the one most recently stopped or put into the background).<br><br><b>-</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Refers to the previous job (the one before the current job).<br><br><b>string</b><br>&nbsp;&nbsp;&nbsp;&nbsp;Refers to a job whose command line contains the specified <I>string</I>.<br><br>


title: DESCRIPTION
content:
The '%' character in Linux is not a standalone command but a multifaceted symbol primarily used for <I>job control</I> within shell environments like Bash, Zsh, and Csh. It serves as a prefix to identify or manipulate background processes. Beyond job control, '%' also functions as a special character in various other contexts: as a <I>wildcard</I> or <I>pattern matching</I> character in some applications (e.g., <I>make</I> rules), as a <I>format specifier</I> in functions like <I>printf</I>, and within text editors like <I>vi</I> or <I>vim</I> for navigating matching parentheses or brackets. Its interpretation is highly dependent on the specific context in which it is used.


title: CAVEATS
content:
The '%' symbol is not a standalone executable command. Its behavior and meaning are entirely context-dependent. Attempting to execute '%' directly in a shell will result in a 'command not found' error. Its primary 'command-like' utility is within shell job control. In other contexts (like <I>printf</I>, <I>make</I>, <I>vi</I>), it has entirely different, specific meanings.


title: OTHER CONTEXTUAL USES
content:
<ul><li><b><I>printf Format Specifiers</I></b>: In programming languages and utilities like <I>printf</I> or <I>sprintf</I>, '%' introduces a format specifier (e.g., <I>%d</I> for integer, <I>%s</I> for string, <I>%%</I> for a literal percent sign).</li><li><b><I>vi/Vim Navigation</I></b>: In the <I>vi</I> and <I>vim</I> text editors, pressing '%' when the cursor is on an opening or closing parenthesis, bracket, or brace will jump to its matching counterpart.</li><li><b><I>Make Pattern Rules</I></b>: In <I>Makefile</I>s, '%' is used in pattern rules (e.g., <I>%.o: %.c</I>) to match any non-empty string, enabling generic rules for compiling files.</li><li><b><I>URL Encoding</I></b>: In web contexts, '%' is used for URL encoding (e.g., <I>%20</I> for a space character).</li><li><b><I>SQL LIKE Operator</I></b>: In SQL, '%' is a wildcard character used with the <I>LIKE</I> operator to match zero or more characters in string patterns.</li></ul>


title: HISTORY
content:
Job control features, including the use of '%' for job identification, were originally introduced in the C Shell (<I>csh</I>) by Bill Joy in the late 1970s, significantly enhancing interactive shell usage by allowing users to manage multiple concurrent tasks. These concepts were later adopted and expanded upon by other popular shells, such as <I>bash</I> and <I>zsh</I>, becoming a standard part of the Unix/Linux command-line experience.


