From 0b27d7dda42dc0dc9f148269d30cda691e22b6e8 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sun, 29 Jun 2025 00:23:20 +0000 Subject: [PATCH] Update cheatsheets --- tldr/argocd | 2 +- tldr/argocd-app | 2 +- tldr/assimp | 2 +- tldr/avo | 2 +- tldr/bitcoin-cli | 2 +- tldr/cabal | 2 +- tldr/cake | 2 +- tldr/clockwork-cli | 2 +- tldr/dotnet | 2 +- tldr/ern | 2 +- tldr/ex | 2 +- tldr/fluxctl | 2 +- tldr/flyctl | 2 +- tldr/go | 2 +- tldr/go-bug | 2 +- tldr/go-build | 2 +- tldr/go-clean | 2 +- tldr/go-doc | 2 +- tldr/go-env | 2 +- tldr/go-fix | 2 +- tldr/go-generate | 2 +- tldr/go-list | 2 +- tldr/go-mod | 2 +- tldr/go-version | 2 +- tldr/gofmt | 2 +- tldr/goimports | 2 +- tldr/gst-launch-1.0 | 4 ++++ tldr/hangups | 2 +- tldr/hsd-cli | 2 +- tldr/hsw-cli | 2 +- tldr/http-server-upload | 2 +- tldr/httpflow | 2 +- tldr/hugo | 4 ++-- tldr/hugo-server | 6 +++--- tldr/ia | 2 +- tldr/ibmcloud | 2 +- tldr/immich-cli | 4 ++-- tldr/ivpn | 2 +- tldr/jello | 2 +- tldr/jrnl | 2 +- tldr/keepassxc-cli | 2 +- tldr/khal | 2 +- tldr/kubeadm | 2 +- tldr/laravel-zero | 2 +- tldr/ldapsearch | 14 +++++++------- tldr/linkchecker | 2 +- tldr/linux/a2disconf | 2 +- tldr/linux/a2dismod | 2 +- tldr/linux/a2dissite | 2 +- tldr/linux/a2enconf | 2 +- tldr/linux/a2enmod | 2 +- tldr/linux/a2ensite | 2 +- tldr/linux/aa-complain | 2 +- tldr/linux/aa-enforce | 2 +- tldr/linux/abroot | 2 +- tldr/linux/add-apt-repository | 6 +++--- tldr/linux/alien | 8 ++++---- tldr/linux/alpine | 2 +- tldr/linux/apt | 26 +++++++++++++------------- tldr/linux/apt-add-repository | 19 +++---------------- tldr/linux/ark | 6 +++--- tldr/linux/auracle | 2 +- tldr/linux/caffeine | 4 ++-- tldr/linux/caja | 6 +++--- tldr/linux/calcurse | 4 ++-- tldr/linux/cbatticon | 10 +++++----- tldr/linux/cgclassify | 4 ++-- tldr/linux/cgcreate | 4 ++-- tldr/linux/cgexec | 2 +- tldr/linux/chattr | 6 +++--- tldr/linux/check-dfsg-status | 4 ++-- tldr/linux/check-language-support | 2 +- tldr/linux/chntpw | 2 +- tldr/linux/cloud-init | 2 +- tldr/linux/coredumpctl | 4 ++-- tldr/linux/cpulimit | 14 +++++++------- tldr/linux/crond | 2 +- tldr/linux/cryptsetup-open | 4 ++-- tldr/linux/e2freefrag | 2 +- tldr/linux/e2fsck | 2 +- tldr/linux/e2image | 2 +- tldr/linux/e2undo | 2 +- tldr/linux/eclean | 4 ++-- tldr/linux/euse | 10 +++++----- tldr/linux/exiqgrep | 4 ++-- tldr/linux/expect | 2 +- tldr/linux/export | 2 +- tldr/linux/extrace | 4 ++-- tldr/linux/fakeroot | 2 +- tldr/linux/flameshot | 2 +- tldr/linux/fprintd-verify | 2 +- tldr/linux/fsck | 2 +- tldr/linux/fuser | 10 +++++----- tldr/linux/gdebi | 8 ++++---- tldr/linux/gnome-screenshot | 12 ++++++------ tldr/linux/growpart | 2 +- tldr/linux/grub-bios-setup | 4 ++-- tldr/linux/gummy | 10 +++++----- tldr/linux/gzexe | 2 +- tldr/linux/hlint | 2 +- tldr/linux/homectl | 2 +- tldr/linux/id3v2 | 8 ++++---- tldr/linux/img2txt | 10 +++++----- tldr/linux/inotifywait | 14 +++++++------- tldr/linux/instaloader | 12 ++++++------ tldr/linux/ipcmk | 8 ++++---- tldr/linux/resolvectl | 2 +- tldr/linux/udevadm | 8 ++++---- tldr/linux/vlock | 29 +++++++++++++++++++++++++++++ tldr/lumen | 2 +- tldr/lwp-request | 2 +- tldr/mail | 2 +- tldr/meshlabserver | 2 +- tldr/nano | 2 +- tldr/nms | 2 +- tldr/notmuch | 2 +- tldr/ouch | 2 +- tldr/pulumi-org | 29 +++++++++++++++++++++++++++++ 118 files changed, 277 insertions(+), 228 deletions(-) create mode 100644 tldr/linux/vlock create mode 100644 tldr/pulumi-org diff --git a/tldr/argocd b/tldr/argocd index 7f22c990..8f55684f 100644 --- a/tldr/argocd +++ b/tldr/argocd @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # argocd -> Command-line interface to control a Argo CD server. +> Interface to control an Argo CD server. > Some subcommands such as `app` have their own usage documentation. > More information: . diff --git a/tldr/argocd-app b/tldr/argocd-app index e3373ff8..01986aec 100644 --- a/tldr/argocd-app +++ b/tldr/argocd-app @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # argocd app -> Command-line interface to manage applications by Argo CD. +> Interface to manage applications by Argo CD. > More information: . - List applications: diff --git a/tldr/assimp b/tldr/assimp index ee2ef0d1..2595a5e5 100644 --- a/tldr/assimp +++ b/tldr/assimp @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # assimp -> Command-line client for the Open Asset Import Library. +> Client for the Open Asset Import Library. > Supports loading of 40+ 3D file formats, and exporting to several popular 3D formats. > More information: . diff --git a/tldr/avo b/tldr/avo index f7f8f533..036921f9 100644 --- a/tldr/avo +++ b/tldr/avo @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # avo -> The official command-line interface for Avo. +> The official interface for Avo. > More information: . - Initialize a workspace in the current directory: diff --git a/tldr/bitcoin-cli b/tldr/bitcoin-cli index 364e92dd..c1c30397 100644 --- a/tldr/bitcoin-cli +++ b/tldr/bitcoin-cli @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # bitcoin-cli -> Command-line client to interact with the Bitcoin Core daemon via RPC calls. +> Client to interact with the Bitcoin Core daemon via RPC calls. > Uses the configuration defined in `bitcoin.conf`. > More information: . diff --git a/tldr/cabal b/tldr/cabal index 6499e387..2aaa08c9 100644 --- a/tldr/cabal +++ b/tldr/cabal @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # cabal -> Command-line interface to the Haskell package infrastructure (Cabal). +> Interface to the Haskell package infrastructure (Cabal). > Manage Haskell projects and Cabal packages from the Hackage package repository. > More information: . diff --git a/tldr/cake b/tldr/cake index 2a5a9081..fefcc538 100644 --- a/tldr/cake +++ b/tldr/cake @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # cake -> The command-line processor for the CakePHP framework. +> The processor for the CakePHP framework. > More information: . - Display basic information about the current app and available commands: diff --git a/tldr/clockwork-cli b/tldr/clockwork-cli index fcfa854d..ee851d73 100644 --- a/tldr/clockwork-cli +++ b/tldr/clockwork-cli @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # clockwork-cli -> A command-line interface for the Clockwork PHP debugging framework. +> Interface for the Clockwork PHP debugging framework. > More information: . - Monitor Clockwork logs for the current project: diff --git a/tldr/dotnet b/tldr/dotnet index 9404a23c..bda8e933 100644 --- a/tldr/dotnet +++ b/tldr/dotnet @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # dotnet -> Cross platform .NET command-line tools for .NET Core. +> Cross platform .NET tools for .NET Core. > Some subcommands such as `build` have their own usage documentation. > More information: . diff --git a/tldr/ern b/tldr/ern index 64b85a0b..96afc26d 100644 --- a/tldr/ern +++ b/tldr/ern @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ern -> Electrode Native platform command-line client. +> Electrode Native platform client. > More information: . - Create a new `ern` application (`MiniApp`): diff --git a/tldr/ex b/tldr/ex index df1637b5..dbdf0a67 100644 --- a/tldr/ex +++ b/tldr/ex @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ex -> Command-line text editor. +> Text editor. > See also: `vim`. > More information: . diff --git a/tldr/fluxctl b/tldr/fluxctl index d2856c14..f87d68db 100644 --- a/tldr/fluxctl +++ b/tldr/fluxctl @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # fluxctl -> Command-line tool for Flux v1. +> Tool for Flux v1. > More information: . - List workloads currently running in the cluster on specific namespace: diff --git a/tldr/flyctl b/tldr/flyctl index a0df1d86..26a489d8 100644 --- a/tldr/flyctl +++ b/tldr/flyctl @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # flyctl -> Command-line tool for flyctl.io. +> Tool for flyctl.io. > More information: . - Sign into a Fly account: diff --git a/tldr/go b/tldr/go index 7aed9fd1..679a02b1 100644 --- a/tldr/go +++ b/tldr/go @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage Go source code. > Some subcommands such as `build` have their own usage documentation. -> More information: . +> More information: . - Download and install a package, specified by its import path: diff --git a/tldr/go-bug b/tldr/go-bug index 45d544bb..64065ef5 100644 --- a/tldr/go-bug +++ b/tldr/go-bug @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go bug > Report a bug. -> More information: . +> More information: . - Open a web page to start a bug report: diff --git a/tldr/go-build b/tldr/go-build index f969ad98..6827f1aa 100644 --- a/tldr/go-build +++ b/tldr/go-build @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go build > Compile Go sources. -> More information: . +> More information: . - Compile a 'package main' file (output will be the filename without extension): diff --git a/tldr/go-clean b/tldr/go-clean index f71fcdb4..8a45767d 100644 --- a/tldr/go-clean +++ b/tldr/go-clean @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go clean > Remove object files and cached files. -> More information: . +> More information: . - Print the remove commands instead of actually removing anything: diff --git a/tldr/go-doc b/tldr/go-doc index 715598ff..4a44496e 100644 --- a/tldr/go-doc +++ b/tldr/go-doc @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go doc > View documentation for a package or symbol. -> More information: . +> More information: . - View documentation for the current package: diff --git a/tldr/go-env b/tldr/go-env index 8bb5cff2..8954b674 100644 --- a/tldr/go-env +++ b/tldr/go-env @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go env > Manage environment variables used by the Go toolchain. -> More information: . +> More information: . - Show all environment variables: diff --git a/tldr/go-fix b/tldr/go-fix index 7b0bdef1..04757d54 100644 --- a/tldr/go-fix +++ b/tldr/go-fix @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go fix > Update packages to use new APIs. -> More information: . +> More information: . - Update packages to use new APIs: diff --git a/tldr/go-generate b/tldr/go-generate index 5580e4aa..1fc0ff04 100644 --- a/tldr/go-generate +++ b/tldr/go-generate @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go generate > Generate Go files by running commands within source files. -> More information: . +> More information: . - Generate Go files by running commands within source files: diff --git a/tldr/go-list b/tldr/go-list index 7d5878fe..f06fb14e 100644 --- a/tldr/go-list +++ b/tldr/go-list @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go list > List packages or modules. -> More information: . +> More information: . - List packages: diff --git a/tldr/go-mod b/tldr/go-mod index 7f478d01..122345eb 100644 --- a/tldr/go-mod +++ b/tldr/go-mod @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go mod > Module maintenance. -> More information: . +> More information: . - Initialize new module in current directory: diff --git a/tldr/go-version b/tldr/go-version index 90745c83..3414d21e 100644 --- a/tldr/go-version +++ b/tldr/go-version @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # go version > Display Go version. -> More information: . +> More information: . - Display version: diff --git a/tldr/gofmt b/tldr/gofmt index be636358..1ed8e0ba 100644 --- a/tldr/gofmt +++ b/tldr/gofmt @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gofmt > Format Go source code. -> More information: . +> More information: . - Format a file and display the result to the console: diff --git a/tldr/goimports b/tldr/goimports index 9c8cb6f9..7264ec14 100644 --- a/tldr/goimports +++ b/tldr/goimports @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # goimports > Updates Go import lines, adding missing ones and removing unreferenced ones. -> More information: . +> More information: . - Display the completed import source file: diff --git a/tldr/gst-launch-1.0 b/tldr/gst-launch-1.0 index ef86b288..4f0e8ea4 100644 --- a/tldr/gst-launch-1.0 +++ b/tldr/gst-launch-1.0 @@ -36,3 +36,7 @@ source: https://github.com/tldr-pages/tldr.git - Multiplex together test video and test audio into a file: `gst-launch-1.0 {{[-e|--eos-on-shutdown]}} videotestsrc ! x264enc ! {{element_name}}. audiotestsrc ! opusenc ! {{element_name}}. matroskamux name={{element_name}} ! filesink location={{path/to/file.mkv}}` + +- Dump a pipeline into a `.dot` file which can then be rendered with tools like `dot`: + +`GST_DEBUG_DUMP_DOT_DIR={{path/to/directory}} gst-launch-1.0 {{pipeline}}` diff --git a/tldr/hangups b/tldr/hangups index 0916f664..32bfb0f5 100644 --- a/tldr/hangups +++ b/tldr/hangups @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # hangups -> Third party command-line client for Google Hangouts. +> Third party client for Google Hangouts. > More information: . - Start `hangups`: diff --git a/tldr/hsd-cli b/tldr/hsd-cli index d7bf99d9..4b5ce125 100644 --- a/tldr/hsd-cli +++ b/tldr/hsd-cli @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # hsd-cli -> The command-line REST tool for the Handshake blockchain. +> The REST tool for the Handshake blockchain. > More information: . - Retrieve information about the current server: diff --git a/tldr/hsw-cli b/tldr/hsw-cli index 5ca9779c..daa32d01 100644 --- a/tldr/hsw-cli +++ b/tldr/hsw-cli @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # hsw-cli -> The command-line REST tool for the Handshake wallet. +> The REST tool for the Handshake wallet. > More information: . - Unlock the current wallet (timeout in seconds): diff --git a/tldr/http-server-upload b/tldr/http-server-upload index 88de2f13..4732ab59 100644 --- a/tldr/http-server-upload +++ b/tldr/http-server-upload @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # http-server-upload -> Zero-configuration command-line HTTP server which provides a lightweight interface to upload files. +> Zero-configuration HTTP server which provides a lightweight interface to upload files. > More information: . - Start an HTTP server on the default port to upload files to the current directory: diff --git a/tldr/httpflow b/tldr/httpflow index 25dcad6e..bbac02cc 100644 --- a/tldr/httpflow +++ b/tldr/httpflow @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # httpflow -> A command-line utility to capture and dump HTTP streams. +> A utility to capture and dump HTTP streams. > More information: . - Capture traffic on all interfaces: diff --git a/tldr/hugo b/tldr/hugo index f3367dbe..14269c64 100644 --- a/tldr/hugo +++ b/tldr/hugo @@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git - Build a site including pages that are marked as a "draft": -`hugo --buildDrafts` +`hugo {{[-D|--buildDrafts]}}` - Build a site on your local IP: @@ -35,7 +35,7 @@ source: https://github.com/tldr-pages/tldr.git - Build a site to a given directory: -`hugo --destination {{path/to/destination}}` +`hugo {{[-d|--destination]}} {{path/to/destination}}` - Build a site, start up a webserver to serve it, and automatically reload when pages are edited: diff --git a/tldr/hugo-server b/tldr/hugo-server index 1f88b70b..2764b137 100644 --- a/tldr/hugo-server +++ b/tldr/hugo-server @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Build and serve a site on a specified port number: -`hugo server --port {{port_number}}` +`hugo server {{[-p|--port]}} {{port_number}}` - Build and serve a site while minifying supported output formats (HTML, XML, etc.): @@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git - Build and serve a site in the production environment with full re-renders while minifying supported formats: -`hugo server --environment {{production}} --disableFastRender --minify` +`hugo server {{[-e|--environment]}} {{production}} --disableFastRender --minify` - Display help: -`hugo server --help` +`hugo server {{[-h|--help]}}` diff --git a/tldr/ia b/tldr/ia index 8ae51c96..cfe11cfa 100644 --- a/tldr/ia +++ b/tldr/ia @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ia -> Command-line tool to interact with `archive.org`. +> Tool to interact with `archive.org`. > More information: . - Configure `ia` with API keys (some functions won't work without this step): diff --git a/tldr/ibmcloud b/tldr/ibmcloud index 58f7414a..546a112d 100644 --- a/tldr/ibmcloud +++ b/tldr/ibmcloud @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ibmcloud -> A command-line tool for managing IBM Cloud apps and services. +> A tool for managing IBM Cloud apps and services. > More information: . - Update `ibmcloud` to the latest version: diff --git a/tldr/immich-cli b/tldr/immich-cli index 655d4102..fb79b2af 100644 --- a/tldr/immich-cli +++ b/tldr/immich-cli @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # immich-cli -> Immich has a command-line interface (CLI) that allows you to perform certain actions from the command-line. +> Immich command-line interface (CLI) that allows you to perform certain actions. > See also: `immich-go`. > More information: . @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Upload some image files: -`immich upload {{file1.jpg file2.jpg}}` +`immich upload {{file1.jpg file2.jpg ...}}` - Upload a directory including subdirectories: diff --git a/tldr/ivpn b/tldr/ivpn index 7c7bd0b1..bed8fc14 100644 --- a/tldr/ivpn +++ b/tldr/ivpn @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ivpn -> Command-line interface for the IVPN client. +> Interface for the IVPN client. > See also: `fastd`, `mozillavpn`, `mullvad`, `warp-cli`. > More information: . diff --git a/tldr/jello b/tldr/jello index a9729840..1b297c33 100644 --- a/tldr/jello +++ b/tldr/jello @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # jello -> A command-line JSON processor using Python syntax. +> A JSON processor using Python syntax. > More information: . - Pretty-print JSON or JSON-Lines data from `stdin` to `stdout`: diff --git a/tldr/jrnl b/tldr/jrnl index 46a93acb..f9b86028 100644 --- a/tldr/jrnl +++ b/tldr/jrnl @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # jrnl -> A simple journal application for your command-line. +> A simple journal application. > More information: . - Insert a new entry with your editor: diff --git a/tldr/keepassxc-cli b/tldr/keepassxc-cli index f6810bb8..0fc3eca1 100644 --- a/tldr/keepassxc-cli +++ b/tldr/keepassxc-cli @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # keepassxc-cli -> Command-line interface for KeepassXC. +> Interface for KeepassXC. > More information: . - Search entries: diff --git a/tldr/khal b/tldr/khal index 7f656139..86e1a249 100644 --- a/tldr/khal +++ b/tldr/khal @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # khal -> A text-based calendar and scheduling application for the command-line. +> A text-based calendar and scheduling application. > More information: . - Start Khal on interactive mode: diff --git a/tldr/kubeadm b/tldr/kubeadm index 70357c99..bc3344f0 100644 --- a/tldr/kubeadm +++ b/tldr/kubeadm @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # kubeadm -> Command-line interface for creating and managing Kubernetes clusters. +> Interface for creating and managing Kubernetes clusters. > More information: . - Create a Kubernetes control plane: diff --git a/tldr/laravel-zero b/tldr/laravel-zero index 9bf26b50..e6f1cb93 100644 --- a/tldr/laravel-zero +++ b/tldr/laravel-zero @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # laravel-zero -> A command-line installer for the Laravel Zero framework. +> An installer for the Laravel Zero framework. > More information: . - Create a new Laravel Zero application: diff --git a/tldr/ldapsearch b/tldr/ldapsearch index c8c02786..1d063062 100644 --- a/tldr/ldapsearch +++ b/tldr/ldapsearch @@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git - Query an LDAP server with a no-newline password file for all items that are a member of the given group and return the object's displayName value: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-u|--keyStorePasswordFile]}} '{{password_file}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-u|--keyStorePasswordFile]}} '{{password_file}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' displayName` - Return 5 items that match the given filter: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 5 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 5 displayName` - Wait up to 7 seconds for a response: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 7 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 7 displayName` - Invert the filter: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '(!(memberOf={{group1}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '(!(memberOf={{group1}}))' displayName` - Return all items that are part of multiple groups, returning the display name for each item: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` - Return all items that are members of at least 1 of the specified groups: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` - Combine multiple boolean logic filters: -`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName` diff --git a/tldr/linkchecker b/tldr/linkchecker index c8a27877..088c5028 100644 --- a/tldr/linkchecker +++ b/tldr/linkchecker @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # linkchecker -> Command-line client to check HTML documents and websites for broken links. +> Client to check HTML documents and websites for broken links. > More information: . - Find broken links on : diff --git a/tldr/linux/a2disconf b/tldr/linux/a2disconf index d3405544..73dcb8bb 100644 --- a/tldr/linux/a2disconf +++ b/tldr/linux/a2disconf @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - Don't show informative messages: -`sudo a2disconf --quiet {{configuration_file}}` +`sudo a2disconf {{[-q|--quiet]}} {{configuration_file}}` diff --git a/tldr/linux/a2dismod b/tldr/linux/a2dismod index 2cc31338..b4cc7fcb 100644 --- a/tldr/linux/a2dismod +++ b/tldr/linux/a2dismod @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - Don't show informative messages: -`sudo a2dismod --quiet {{module}}` +`sudo a2dismod {{[-q|--quiet]}} {{module}}` diff --git a/tldr/linux/a2dissite b/tldr/linux/a2dissite index 00a68f9e..f7962047 100644 --- a/tldr/linux/a2dissite +++ b/tldr/linux/a2dissite @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - Don't show informative messages: -`sudo a2dissite --quiet {{virtual_host}}` +`sudo a2dissite {{[-q|--quiet]}} {{virtual_host}}` diff --git a/tldr/linux/a2enconf b/tldr/linux/a2enconf index 8819087a..8b161b92 100644 --- a/tldr/linux/a2enconf +++ b/tldr/linux/a2enconf @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - Don't show informative messages: -`sudo a2enconf --quiet {{configuration_file}}` +`sudo a2enconf {{[-q|--quiet]}} {{configuration_file}}` diff --git a/tldr/linux/a2enmod b/tldr/linux/a2enmod index 7366ff3a..503a7541 100644 --- a/tldr/linux/a2enmod +++ b/tldr/linux/a2enmod @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - Don't show informative messages: -`sudo a2enmod --quiet {{module}}` +`sudo a2enmod {{[-q|--quiet]}} {{module}}` diff --git a/tldr/linux/a2ensite b/tldr/linux/a2ensite index 283e1cf0..5e13c5d5 100644 --- a/tldr/linux/a2ensite +++ b/tldr/linux/a2ensite @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - Don't show informative messages: -`sudo a2ensite --quiet {{virtual_host}}` +`sudo a2ensite {{[-q|--quiet]}} {{virtual_host}}` diff --git a/tldr/linux/aa-complain b/tldr/linux/aa-complain index f28eaae8..8137b931 100644 --- a/tldr/linux/aa-complain +++ b/tldr/linux/aa-complain @@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git - Set policies to complain mode: -`sudo aa-complain --dir {{path/to/profiles}}` +`sudo aa-complain {{[-d|--dir]}} {{path/to/profiles}}` diff --git a/tldr/linux/aa-enforce b/tldr/linux/aa-enforce index 8d3b4aed..263268af 100644 --- a/tldr/linux/aa-enforce +++ b/tldr/linux/aa-enforce @@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git - Enable profile: -`sudo aa-enforce --dir {{path/to/profile}}` +`sudo aa-enforce {{[-d|--dir]}} {{path/to/profile}}` - Enable profiles: diff --git a/tldr/linux/abroot b/tldr/linux/abroot index 23b7e727..0bec6b96 100644 --- a/tldr/linux/abroot +++ b/tldr/linux/abroot @@ -39,4 +39,4 @@ source: https://github.com/tldr-pages/tldr.git - Display help: -`abroot --help` +`abroot {{[-h|--help]}}` diff --git a/tldr/linux/add-apt-repository b/tldr/linux/add-apt-repository index 8b28106b..e0b414e5 100644 --- a/tldr/linux/add-apt-repository +++ b/tldr/linux/add-apt-repository @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # add-apt-repository > Manage `apt` repository definitions. -> More information: . +> More information: . - Add a new `apt` repository: @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Remove an `apt` repository: -`add-apt-repository --remove {{repository_spec}}` +`add-apt-repository {{[-r|--remove]}} {{repository_spec}}` - Update the package cache after adding a repository: @@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git - Allow source packages to be downloaded from the repository: -`add-apt-repository --enable-source {{repository_spec}}` +`add-apt-repository {{[-s|--enable-source]}} {{repository_spec}}` diff --git a/tldr/linux/alien b/tldr/linux/alien index 06de2514..e39f885a 100644 --- a/tldr/linux/alien +++ b/tldr/linux/alien @@ -11,16 +11,16 @@ source: https://github.com/tldr-pages/tldr.git - Convert a specific installation file to Debian format (`.deb` extension): -`sudo alien --to-deb {{path/to/file}}` +`sudo alien {{[-d|--to-deb]}} {{path/to/file}}` - Convert a specific installation file to Red Hat format (`.rpm` extension): -`sudo alien --to-rpm {{path/to/file}}` +`sudo alien {{[-r|--to-rpm]}} {{path/to/file}}` - Convert a specific installation file to a Slackware installation file (`.tgz` extension): -`sudo alien --to-tgz {{path/to/file}}` +`sudo alien {{[-t|--to-tgz]}} {{path/to/file}}` - Convert a specific installation file to Debian format and install on the system: -`sudo alien --to-deb --install {{path/to/file}}` +`sudo alien {{[-d|--to-deb]}} {{[-i|--install]}} {{path/to/file}}` diff --git a/tldr/linux/alpine b/tldr/linux/alpine index e1f88f3b..44302aef 100644 --- a/tldr/linux/alpine +++ b/tldr/linux/alpine @@ -19,4 +19,4 @@ source: https://github.com/tldr-pages/tldr.git - Quit alpine: -`q + y` +`` diff --git a/tldr/linux/apt b/tldr/linux/apt index 35c9b9b6..3535df54 100644 --- a/tldr/linux/apt +++ b/tldr/linux/apt @@ -5,39 +5,39 @@ source: https://github.com/tldr-pages/tldr.git --- # apt -> Package management utility for Debian based distributions. -> Recommended replacement for `apt-get` when used interactively in Ubuntu versions 16.04 and later. +> Package manager for Debian-based distributions. +> Intended as a user-friendly alternative to `apt-get` for interactive use. > For equivalent commands in other package managers, see . > More information: . -- Update the list of available packages and versions (it's recommended to run this before other `apt` commands): +- Update the list of available packages and versions (recommended before running other `apt` commands): `sudo apt update` -- Search for a given package (use `apt search --name-only package` to search within package name only): +- Search packages by name or description: `apt search {{package}}` -- Show information for a package: +- Search packages by name only (supports wildcards like `*`): + +`apt list {{package}}` + +- Show detailed information about a package: `apt show {{package}}` -- Install a package, or update it to the latest available version: +- Install a package, or update it to the latest version: `sudo apt install {{package}}` -- Remove a package (using `purge` instead also removes its configuration files): +- Remove a package (use `purge` instead to also remove configuration files): `sudo apt remove {{package}}` -- Upgrade all installed packages to their newest available versions: +- Upgrade all installed packages to their latest versions: `sudo apt upgrade` -- List all packages: - -`apt list` - -- List installed packages: +- List all installed packages: `apt list {{[-i|--installed]}}` diff --git a/tldr/linux/apt-add-repository b/tldr/linux/apt-add-repository index e98e1e22..5488c53d 100644 --- a/tldr/linux/apt-add-repository +++ b/tldr/linux/apt-add-repository @@ -5,21 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # apt-add-repository -> Manage `apt` repository definitions. -> More information: . +> This command is an alias of `add-apt-repository`. -- Add a new `apt` repository: +- View documentation for the original command: -`apt-add-repository {{repository_spec}}` - -- Remove an `apt` repository: - -`apt-add-repository {{[-r|--remove]}} {{repository_spec}}` - -- Update the package cache after adding a repository: - -`apt-add-repository --update {{repository_spec}}` - -- Enable source packages: - -`apt-add-repository {{[-s|--enable-source]}} {{repository_spec}}` +`tldr add-apt-repository` diff --git a/tldr/linux/ark b/tldr/linux/ark index e5d22872..2e181495 100644 --- a/tldr/linux/ark +++ b/tldr/linux/ark @@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git - Extract a specific archive into the current directory: -`ark --batch {{path/to/archive}}` +`ark {{[-b|--batch]}} {{path/to/archive}}` - Extract an archive into a specific directory: -`ark --batch --destination {{path/to/directory}} {{path/to/archive}}` +`ark {{[-b|--batch]}} {{[-o|--destination]}} {{path/to/directory}} {{path/to/archive}}` - Create an archive if it does not exist and add specific files to it: -`ark --add-to {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}` +`ark {{[-t|--add-to]}} {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}` diff --git a/tldr/linux/auracle b/tldr/linux/auracle index 9fb65463..68ba7109 100644 --- a/tldr/linux/auracle +++ b/tldr/linux/auracle @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # auracle -> Command-line tool used to interact with Arch Linux's User Repository, commonly referred to as the AUR. +> Interact with Arch Linux's User Repository, commonly referred to as the AUR. > More information: . - Display AUR packages that match a regular expression: diff --git a/tldr/linux/caffeine b/tldr/linux/caffeine index e4003b07..c6f8fa6e 100644 --- a/tldr/linux/caffeine +++ b/tldr/linux/caffeine @@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git - Display help: -`caffeine --help` +`caffeine {{[-h|--help]}}` - Display version: -`caffeine --version` +`caffeine {{[-V|--version]}}` diff --git a/tldr/linux/caja b/tldr/linux/caja index 6daa1f5d..ed9ef2cc 100644 --- a/tldr/linux/caja +++ b/tldr/linux/caja @@ -19,12 +19,12 @@ source: https://github.com/tldr-pages/tldr.git - Open specific directories in tabs: -`caja --tabs {{path/to/directory1 path/to/directory2 ...}}` +`caja {{[-t|--tabs]}} {{path/to/directory1 path/to/directory2 ...}}` - Open a directory with a specific window size: -`caja --geometry={{600}}x{{400}} {{path/to/directory}}` +`caja {{[-g|--geometry]}} {{600}}x{{400}} {{path/to/directory}}` - Close all windows: -`caja --quit` +`caja {{[-q|--quit]}}` diff --git a/tldr/linux/calcurse b/tldr/linux/calcurse index 8ade84c0..7363f543 100644 --- a/tldr/linux/calcurse +++ b/tldr/linux/calcurse @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # calcurse > A text-based calendar and scheduling application for the command-line. -> More information: . +> More information: . - Start `calcurse` on interactive mode: @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Print the appointments and events for the current day and exit: -`calcurse --appointment` +`calcurse {{[-a|--appointment]}}` - Remove all local calcurse items and import remote objects: diff --git a/tldr/linux/cbatticon b/tldr/linux/cbatticon index f86abbc4..d3749567 100644 --- a/tldr/linux/cbatticon +++ b/tldr/linux/cbatticon @@ -14,19 +14,19 @@ source: https://github.com/tldr-pages/tldr.git - Show the battery icon and set the update interval to 20 seconds: -`cbatticon --update-interval {{20}}` +`cbatticon {{[-u|--update-interval]}} {{20}}` - List available icon types: -`cbatticon --list-icon-types` +`cbatticon {{[-t|--list-icon-types]}}` - Show the battery icon with a specific icon type: -`cbatticon --icon-type {{standard|notification|symbolic}}` +`cbatticon {{[-i|--icon-type]}} {{standard|notification|symbolic}}` - List available power supplies: -`cbatticon --list-power-supplies` +`cbatticon {{[-p|--list-power-supplies]}}` - Show the battery icon for a specific battery: @@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git - Show the battery icon and which command to execute when the battery level reaches the set critical level: -`cbatticon --critical-level {{5}} --command-critical-level {{poweroff}}` +`cbatticon {{[-r|--critical-level]}} {{5}} {{[-c|--command-critical-level]}} {{poweroff}}` diff --git a/tldr/linux/cgclassify b/tldr/linux/cgclassify index a9761d0c..68bc7748 100644 --- a/tldr/linux/cgclassify +++ b/tldr/linux/cgclassify @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Move running tasks to `cgroups`. > More information: . -- Move the process with a specific PID to the control group student in the CPU hierarchy: +- Move the process with a specific PID to the control [g]roup student in the CPU hierarchy: `cgclassify -g {{cpu:student}} {{1234}}` @@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git `cgclassify {{1234}}` -- Move the process with a specific PID to the control group student in the CPU hierarchy. Note: The daemon of the service `cgred` does not change `cgroups` of the specific PID and its children (based on `/etc/cgrules.conf`): +- Move the process with a specific PID to the control [g]roup student in the CPU hierarchy. Note: The daemon of the service `cgred` does not change `cgroups` of the specific PID and its children (based on `/etc/cgrules.conf`): `cgclassify --sticky -g {{cpu:/student}} {{1234}}` diff --git a/tldr/linux/cgcreate b/tldr/linux/cgcreate index da01f971..14597a1d 100644 --- a/tldr/linux/cgcreate +++ b/tldr/linux/cgcreate @@ -9,11 +9,11 @@ source: https://github.com/tldr-pages/tldr.git > `cgroups` types can be `memory`, `cpu`, `net_cls`, etc. > More information: . -- Create a new group: +- Create a new [g]roup: `cgcreate -g {{group_type}}:{{group_name}}` -- Create a new group with multiple cgroup types: +- Create a new [g]roup with multiple cgroup types: `cgcreate -g {{group_type1}},{{group_type2}}:{{group_name}}` diff --git a/tldr/linux/cgexec b/tldr/linux/cgexec index 00f55553..a109052c 100644 --- a/tldr/linux/cgexec +++ b/tldr/linux/cgexec @@ -9,6 +9,6 @@ source: https://github.com/tldr-pages/tldr.git > Multiple cgroup types (aka controllers) exist, such as `cpu`, `memory`, etc. > More information: . -- Execute a process in a given cgroup with given controller: +- Execute a process in a given c[g]roup with given controller: `cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}` diff --git a/tldr/linux/chattr b/tldr/linux/chattr index 919412ad..e95e22e6 100644 --- a/tldr/linux/chattr +++ b/tldr/linux/chattr @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > Change attributes of files or directories. > More information: . -- Make a file or directory immutable to changes and deletion, even by superuser: +- Make a file or directory [i]mmutable to changes and deletion, even by superuser: `chattr +i {{path/to/file_or_directory}}` @@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git `chattr -i {{path/to/file_or_directory}}` -- Recursively make an entire directory and contents immutable: +- [R]ecursively make an entire directory and contents immutable: `chattr -R +i {{path/to/directory}}` @@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git `chattr +F {{path/to/directory}}` -- Set a file to only allow appending: +- Set a file to only allow [a]ppending: `chattr +a {{path/to/file}}` diff --git a/tldr/linux/check-dfsg-status b/tldr/linux/check-dfsg-status index 5587c0f9..6c438e57 100644 --- a/tldr/linux/check-dfsg-status +++ b/tldr/linux/check-dfsg-status @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Report non-free packages installed on Debian-based OSes. > This command was formerly known as `vrms`. -> More information: . +> More information: . - List non-free and contrib packages (and their description): @@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git - Only output the package names: -`check-dfsg-status --sparse` +`check-dfsg-status {{[-s|--sparse]}}` diff --git a/tldr/linux/check-language-support b/tldr/linux/check-language-support index 2149f978..c6566757 100644 --- a/tldr/linux/check-language-support +++ b/tldr/linux/check-language-support @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - List packages for a specific locale: -`check-language-support --language {{en}}` +`check-language-support {{[-l|--language]}} {{en}}` - Display installed packages as well as missing ones: diff --git a/tldr/linux/chntpw b/tldr/linux/chntpw index 83e48bdd..c5b10166 100644 --- a/tldr/linux/chntpw +++ b/tldr/linux/chntpw @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > A utility that can edit windows registry, reset user password, promote users to administrator by modifying the Windows SAM. > Boot target machine with live cd like Kali Linux and run with elevated privileges. -> More information: . +> More information: . - List all users in the SAM file: diff --git a/tldr/linux/cloud-init b/tldr/linux/cloud-init index ac68d2be..0d942ce4 100644 --- a/tldr/linux/cloud-init +++ b/tldr/linux/cloud-init @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # cloud-init > Command line tool for managing cloud instance initialization. -> More information: . +> More information: . - Display the status of the most recent cloud-init run: diff --git a/tldr/linux/coredumpctl b/tldr/linux/coredumpctl index ac6c1427..a6497d85 100644 --- a/tldr/linux/coredumpctl +++ b/tldr/linux/coredumpctl @@ -30,8 +30,8 @@ source: https://github.com/tldr-pages/tldr.git - Extract the last core dump of a program to a file: -`coredumpctl --output {{path/to/file}} dump {{program}}` +`coredumpctl {{[-o|--output]}} {{path/to/file}} dump {{program}}` - Skip debuginfod and pagination prompts and then print the backtrace when using `gdb`: -`coredumpctl debug --debugger-arguments "-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt"` +`coredumpctl debug {{[-A|--debugger-arguments]}} "-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt"` diff --git a/tldr/linux/cpulimit b/tldr/linux/cpulimit index 16a4e0fa..8434844f 100644 --- a/tldr/linux/cpulimit +++ b/tldr/linux/cpulimit @@ -6,28 +6,28 @@ source: https://github.com/tldr-pages/tldr.git # cpulimit > A tool to throttle the CPU usage of other processes. -> More information: . +> More information: . - Limit an existing process with PID 1234 to only use 25% of the CPU: -`cpulimit --pid {{1234}} --limit {{25%}}` +`cpulimit {{[-p|--pid]}} {{1234}} {{[-l|--limit]}} {{25%}}` - Limit an existing program by its executable name: -`cpulimit --exe {{program}} --limit {{25}}` +`cpulimit {{[-e|--exe]}} {{program}} {{[-l|--limit]}} {{25}}` - Launch a given program and limit it to only use 50% of the CPU: -`cpulimit --limit {{50}} -- {{program argument1 argument2 ...}}` +`cpulimit {{[-l|--limit]}} {{50}} -- {{program argument1 argument2 ...}}` - Launch a program, limit its CPU usage to 50% and run cpulimit in the background: -`cpulimit --limit {{50}} --background -- {{program}}` +`cpulimit {{[-l|--limit]}} {{50}} {{[-b|--background]}} -- {{program}}` - Kill its process if the program's CPU usage goes over 50%: -`cpulimit --limit 50 --kill -- {{program}}` +`cpulimit {{[-l|--limit]}} 50 {{[-k|--kill]}} -- {{program}}` - Throttle both it and its child processes so that none go about 25% CPU: -`cpulimit --limit {{25}} --monitor-forks -- {{program}}` +`cpulimit {{[-l|--limit]}} {{25}} {{[-m|--monitor-forks]}} -- {{program}}` diff --git a/tldr/linux/crond b/tldr/linux/crond index 015dc40a..1a68ee89 100644 --- a/tldr/linux/crond +++ b/tldr/linux/crond @@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git `crond -n` -- Send job output from the daemon to the system log: +- Send job output from the daemon to the [s]ystem log: `crond -s` diff --git a/tldr/linux/cryptsetup-open b/tldr/linux/cryptsetup-open index 8c6d9d72..7c1fa82d 100644 --- a/tldr/linux/cryptsetup-open +++ b/tldr/linux/cryptsetup-open @@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git - Use a keyfile instead of a passphrase: -`cryptsetup open --key-file {{path/to/file}} {{/dev/sdXY}} {{mapping_name}}` +`cryptsetup open {{[-k|--key-file]}} {{path/to/file}} {{/dev/sdXY}} {{mapping_name}}` - Allow the use of TRIM on the device: @@ -28,4 +28,4 @@ source: https://github.com/tldr-pages/tldr.git - Open a LUKS volume and make the decrypted mapping read-only: -`cryptsetup open --readonly {{/dev/sdXY}} {{mapping_name}}` +`cryptsetup open {{[-r|--readonly]}} {{/dev/sdXY}} {{mapping_name}}` diff --git a/tldr/linux/e2freefrag b/tldr/linux/e2freefrag index fdff3bdc..8346918a 100644 --- a/tldr/linux/e2freefrag +++ b/tldr/linux/e2freefrag @@ -12,6 +12,6 @@ source: https://github.com/tldr-pages/tldr.git `e2freefrag {{/dev/sdXN}}` -- Specify chunk size in kilobytes to print how many free chunks are available: +- Specify [c]hunk size in kilobytes to print how many free chunks are available: `e2freefrag -c {{chunk_size_in_kb}} {{/dev/sdXN}}` diff --git a/tldr/linux/e2fsck b/tldr/linux/e2fsck index 6e236308..c77d9e7a 100644 --- a/tldr/linux/e2fsck +++ b/tldr/linux/e2fsck @@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git `sudo e2fsck {{/dev/sdXN}}` -- Check filesystem and automatically repair any damaged blocks: +- Check filesystem and automatically repair ([p]reen) any damaged blocks: `sudo e2fsck -p {{/dev/sdXN}}` diff --git a/tldr/linux/e2image b/tldr/linux/e2image index 9c0b99b6..c667dbe1 100644 --- a/tldr/linux/e2image +++ b/tldr/linux/e2image @@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git `e2image -r {{/dev/sdXN}} {{path/to/image_file}}` -- Create a QCOW2 image file instead of a normal or raw image file: +- Create a [Q]COW2 image file instead of a normal or raw image file: `e2image -Q {{/dev/sdXN}} {{path/to/image_file}}` diff --git a/tldr/linux/e2undo b/tldr/linux/e2undo index 3fefd5a3..39489a68 100644 --- a/tldr/linux/e2undo +++ b/tldr/linux/e2undo @@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git `e2undo {{path/to/undo_file}} {{/dev/sdXN}}` -- Perform an undo operation and display verbose information: +- Perform an undo operation and display [v]erbose information: `e2undo -v {{path/to/undo_file}} {{/dev/sdXN}}` diff --git a/tldr/linux/eclean b/tldr/linux/eclean index 346fda1e..a085561e 100644 --- a/tldr/linux/eclean +++ b/tldr/linux/eclean @@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git - Clean the distfiles of all uninstalled packages, but keep the distfiles of installed packages: -`sudo eclean --deep --package-names distfiles` +`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} distfiles` - Clean the binary packages of all uninstalled packages, but keep the binaries of installed packages: -`sudo eclean --deep --package-names packages` +`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} packages` diff --git a/tldr/linux/euse b/tldr/linux/euse index 0b57807f..85ca9014 100644 --- a/tldr/linux/euse +++ b/tldr/linux/euse @@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git - List active global USE flags: -`euse --active --global` +`euse {{[-a|--active]}} {{[-g|--global]}}` - List active local USE flags: -`euse --active --local` +`euse {{[-a|--active]}} {{[-l|--local]}}` - Enable a global USE flag: -`sudo euse --enable {{use_flag}}` +`sudo euse {{[-E|--enable]}} {{use_flag}}` - Disable a global USE flag (put a '-' sign in front of the USE flag): -`sudo euse --disable {{use_flag}}` +`sudo euse {{[-D|--disable]}} {{use_flag}}` - Remove a global USE flag: -`sudo euse --prune {{use_flag}}` +`sudo euse {{[-P|--prune]}} {{use_flag}}` diff --git a/tldr/linux/exiqgrep b/tldr/linux/exiqgrep index 040da191..a20588ec 100644 --- a/tldr/linux/exiqgrep +++ b/tldr/linux/exiqgrep @@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git `exiqgrep -i -f '<{{email@example.com}}>'` -- Match the recipient address: +- Match the [r]ecipient address: `exiqgrep -r '{{email@example.com}}'` @@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git `exiqgrep -f '^<>$'` -- Display the count of bounced messages: +- Display the [c]ount of bounced messages: `exiqgrep -c -f '^<>$'` diff --git a/tldr/linux/expect b/tldr/linux/expect index 6b19eead..b9e70121 100644 --- a/tldr/linux/expect +++ b/tldr/linux/expect @@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git `expect -c "{{commands}}"` -- Enter an interactive REPL (use `exit` or `` to exit): +- Enter an [i]nteractive REPL (use `exit` or `` to exit): `expect -i` diff --git a/tldr/linux/export b/tldr/linux/export index 024f5a21..f8bd5ae6 100644 --- a/tldr/linux/export +++ b/tldr/linux/export @@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git `export -n {{VARIABLE}}` -- Export a function to child processes: +- Export a [f]unction to child processes: `export -f {{FUNCTION_NAME}}` diff --git a/tldr/linux/extrace b/tldr/linux/extrace index c4a915d3..3690a5a3 100644 --- a/tldr/linux/extrace +++ b/tldr/linux/extrace @@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git `sudo extrace {{command}}` -- Print the current working directory of each process: +- Print the current working [d]irectory of each process: `sudo extrace -d` @@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git `sudo extrace -l` -- Display the user running each process: +- Display the [u]ser running each process: `sudo extrace -u` diff --git a/tldr/linux/fakeroot b/tldr/linux/fakeroot index 2ba75ad4..0d9c6298 100644 --- a/tldr/linux/fakeroot +++ b/tldr/linux/fakeroot @@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git `fakeroot -- {{command}} {{command_arguments}}` -- Run a command as fakeroot and save the environment to a file on exit: +- Run a command as fakeroot and [s]ave the environment to a file on exit: `fakeroot -s {{path/to/file}} -- {{command}} {{command_arguments}}` diff --git a/tldr/linux/flameshot b/tldr/linux/flameshot index 6946332a..b74a1663 100644 --- a/tldr/linux/flameshot +++ b/tldr/linux/flameshot @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Screenshot utility with a GUI. > Supports basic image editing, such as text, shapes, colors, and imgur. -> More information: . +> More information: . - Create a fullscreen screenshot: diff --git a/tldr/linux/fprintd-verify b/tldr/linux/fprintd-verify index de826084..1a6d7b62 100644 --- a/tldr/linux/fprintd-verify +++ b/tldr/linux/fprintd-verify @@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git - Display help: -`fprintd-verify --help` +`fprintd-verify {{[-h|--help]}}` diff --git a/tldr/linux/fsck b/tldr/linux/fsck index d450e22f..47b0fc05 100644 --- a/tldr/linux/fsck +++ b/tldr/linux/fsck @@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git `sudo fsck -r {{/dev/sdXN}}` -- Check filesystem `/dev/sdXN`, reporting any damaged blocks and automatically repairing them: +- Check filesystem `/dev/sdXN`, reporting any damaged blocks and [a]utomatically repairing them: `sudo fsck -a {{/dev/sdXN}}` diff --git a/tldr/linux/fuser b/tldr/linux/fuser index ad52e200..147b30aa 100644 --- a/tldr/linux/fuser +++ b/tldr/linux/fuser @@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git - Show more fields (`USER`, `PID`, `ACCESS` and `COMMAND`): -`fuser --verbose {{path/to/file_or_directory}}` +`fuser {{[-v|--verbose]}} {{path/to/file_or_directory}}` - Identify processes using a TCP socket: -`fuser --namespace tcp {{port}}` +`fuser {{[-n|--namespace]}} tcp {{port}}` - Kill all processes accessing a file or directory (sends the `SIGKILL` signal): -`fuser --kill {{path/to/file_or_directory}}` +`fuser {{[-k|--kill]}} {{path/to/file_or_directory}}` - Find which processes are accessing the filesystem containing a specific file or directory: -`fuser --mount {{path/to/file_or_directory}}` +`fuser {{[-m|--mount]}} {{path/to/file_or_directory}}` - Kill all processes with a TCP connection on a specific port: -`fuser --kill {{port}}/tcp` +`fuser {{[-k|--kill]}} {{port}}/tcp` diff --git a/tldr/linux/gdebi b/tldr/linux/gdebi index 1b4ed7e5..f93aa0b5 100644 --- a/tldr/linux/gdebi +++ b/tldr/linux/gdebi @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdebi > Easily install `.deb` files. -> More information: . +> More information: . - Install local `.deb` packages resolving and installing its dependencies: @@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git - Do not show progress information: -`gdebi {{path/to/package.deb}} --quiet` +`gdebi {{path/to/package.deb}} {{[-q|--quiet]}}` - Set an APT configuration option: -`gdebi {{path/to/package.deb}} --option={{APT_OPTS}}` +`gdebi {{path/to/package.deb}} {{[-o|--option]}} {{APT_OPTS}}` - Use alternative root dir: -`gdebi {{path/to/package.deb}} --root={{path/to/root_dir}}` +`gdebi {{path/to/package.deb}} --root {{path/to/root_dir}}` - Display version: diff --git a/tldr/linux/gnome-screenshot b/tldr/linux/gnome-screenshot index a3eb4534..f19549ec 100644 --- a/tldr/linux/gnome-screenshot +++ b/tldr/linux/gnome-screenshot @@ -14,27 +14,27 @@ source: https://github.com/tldr-pages/tldr.git - Take a screenshot and save it to the named file location: -`gnome-screenshot --file {{path/to/file}}` +`gnome-screenshot {{[-f|--file]}} {{path/to/file}}` - Take a screenshot and save it to the clipboard: -`gnome-screenshot --clipboard` +`gnome-screenshot {{[-c|--clipboard]}}` - Take a screenshot after the specified number of seconds: -`gnome-screenshot --delay {{5}}` +`gnome-screenshot {{[-d|--delay]}} {{5}}` - Launch the GNOME Screenshot GUI: -`gnome-screenshot --interactive` +`gnome-screenshot {{[-i|--interactive]}}` - Take a screenshot of the current window and save it to the specified file location: -`gnome-screenshot --window --file {{path/to/file}}` +`gnome-screenshot {{[-w|--window]}} {{[-f|--file]}} {{path/to/file}}` - Take a screenshot after the specified number of seconds and save it to the clipboard: -`gnome-screenshot --delay {{10}} --clipboard` +`gnome-screenshot {{[-d|--delay]}} {{10}} {{[-c|--clipboard]}}` - Display the version: diff --git a/tldr/linux/growpart b/tldr/linux/growpart index 33119b09..25cd6476 100644 --- a/tldr/linux/growpart +++ b/tldr/linux/growpart @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - Show what modifications would be made when growing partition `n` in a disk image: -`growpart --dry-run {{/path/to/disk.img}} {{n}}` +`growpart {{[-N|--dry-run]}} {{/path/to/disk.img}} {{n}}` diff --git a/tldr/linux/grub-bios-setup b/tldr/linux/grub-bios-setup index d1d96a36..920b720a 100644 --- a/tldr/linux/grub-bios-setup +++ b/tldr/linux/grub-bios-setup @@ -15,8 +15,8 @@ source: https://github.com/tldr-pages/tldr.git - Install even if problems are detected: -`grub-bios-setup --force {{/dev/sdX}}` +`grub-bios-setup {{[-f|--force]}} {{/dev/sdX}}` - Install GRUB in a specific directory: -`grub-bios-setup --directory={{/boot/grub}} {{/dev/sdX}}` +`grub-bios-setup {{[-d|--directory]}} {{/boot/grub}} {{/dev/sdX}}` diff --git a/tldr/linux/gummy b/tldr/linux/gummy index dc763d54..10487d84 100644 --- a/tldr/linux/gummy +++ b/tldr/linux/gummy @@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git - Set the screen temperature to 3000K: -`gummy --temperature {{3000}}` +`gummy {{[-t|--temperature]}} {{3000}}` - Set the screen backlight to 50%: @@ -18,16 +18,16 @@ source: https://github.com/tldr-pages/tldr.git - Set the screen pixel brightness to 45%: -`gummy --brightness {{45}}` +`gummy {{[-b|--brightness]}} {{45}}` - Increase current screen pixel brightness by 10%: -`gummy --brightness {{+10}}` +`gummy {{[-b|--brightness]}} {{+10}}` - Decrease current screen pixel brightness by 10%: -`gummy --brightness {{-10}}` +`gummy {{[-b|--brightness]}} {{-10}}` - Set the temperature and pixel brightness for the second screen: -`gummy --screen {{1}} --temperature {{3800}} --brightness {{65}}` +`gummy {{[-s|--screen]}} {{1}} {{[-t|--temperature]}} {{3800}} {{[-b|--brightness]}} {{65}}` diff --git a/tldr/linux/gzexe b/tldr/linux/gzexe index 67a18307..8ad71911 100644 --- a/tldr/linux/gzexe +++ b/tldr/linux/gzexe @@ -13,6 +13,6 @@ source: https://github.com/tldr-pages/tldr.git `gzexe {{path/to/executable}}` -- Decompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary): +- [d]ecompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary): `gzexe -d {{path/to/compressed_executable}}` diff --git a/tldr/linux/hlint b/tldr/linux/hlint index 69406fec..21444630 100644 --- a/tldr/linux/hlint +++ b/tldr/linux/hlint @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Check all Haskell files and generate a report: -`hlint {{path/to/directory}} --report` +`hlint {{path/to/directory}} {{[-r|--report]}}` - Automatically apply most suggestions: diff --git a/tldr/linux/homectl b/tldr/linux/homectl index 6ae5f3f1..e58b9252 100644 --- a/tldr/linux/homectl +++ b/tldr/linux/homectl @@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git - Display help: -`homectl --help` +`homectl {{[-h|--help]}}` diff --git a/tldr/linux/id3v2 b/tldr/linux/id3v2 index 91c9900f..9c780feb 100644 --- a/tldr/linux/id3v2 +++ b/tldr/linux/id3v2 @@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git - List all genres: -`id3v2 --list-genres` +`id3v2 {{-L|--list-genres}}` - List all tags of specific files: -`id3v2 --list {{path/to/file1 path/to/file2 ...}}` +`id3v2 {{[-l|--list]}} {{path/to/file1 path/to/file2 ...}}` - Delete all `id3v2` or `id3v1` tags of specific files: @@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git - Display help: -`id3v2 --help` +`id3v2 {{[-h|--help]}}` - Display version: -`id3v2 --version` +`id3v2 {{[-v|--version]}}` diff --git a/tldr/linux/img2txt b/tldr/linux/img2txt index f1a48e91..f38e3293 100644 --- a/tldr/linux/img2txt +++ b/tldr/linux/img2txt @@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git - Set output column count to a specific value: -`img2txt --width={{10}}` +`img2txt {{[-W|--width]}} {{10}} {{path/to/image}}` - Set output line count to a specific value: -`img2txt --height={{5}}` +`img2txt {{[-H|--height]}} {{5}} {{path/to/image}}` - Set output font width to a specific value: -`img2txt --font-width={{12}}` +`img2txt {{[-x|--font-width]}} {{12}} {{path/to/image}}` - Set output font height to a specific value: -`img2txt --font-height={{14}}` +`img2txt {{[-y|--font-height]}} {{14}} {{path/to/image}}` - Set image brightness to a specific value: -`img2txt --brightness={{2}}` +`img2txt {{[-b|--brightness]}} {{2}} {{path/to/image}}` diff --git a/tldr/linux/inotifywait b/tldr/linux/inotifywait index 7ad0302d..5fb9c753 100644 --- a/tldr/linux/inotifywait +++ b/tldr/linux/inotifywait @@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git - Continuously watch a specific file for events without exiting: -`inotifywait --monitor {{path/to/file}}` +`inotifywait {{[-m|--monitor]}} {{path/to/file}}` - Watch a directory recursively for events: -`inotifywait --monitor --recursive {{path/to/directory}}` +`inotifywait {{[-m|--monitor]}} {{[-r|--recursive]}} {{path/to/directory}}` - Watch a directory for changes, excluding files, whose names match a regular expression: -`inotifywait --monitor --recursive --exclude "{{regular_expression}}" {{path/to/directory}}` +`inotifywait {{[-m|--monitor]}} {{[-r|--recursive]}} --exclude "{{regular_expression}}" {{path/to/directory}}` - Watch a file for changes, exiting when no event occurs for 30 seconds: -`inotifywait --monitor --timeout {{30}} {{path/to/file}}` +`inotifywait {{[-m|--monitor]}} {{[-t|--timeout]}} {{30}} {{path/to/file}}` - Only watch a file for file modification events: -`inotifywait --event {{modify}} {{path/to/file}}` +`inotifywait {{[-e|--event]}} {{modify}} {{path/to/file}}` - Watch a file printing only events, and no status messages: -`inotifywait --quiet {{path/to/file}}` +`inotifywait {{[-q|--quiet]}} {{path/to/file}}` - Run a command when a file is accessed: -`inotifywait --event {{access}} {{path/to/file}} && {{command}}` +`inotifywait {{[-e|--event]}} {{access}} {{path/to/file}} && {{command}}` diff --git a/tldr/linux/instaloader b/tldr/linux/instaloader index 83d310ee..0696ea50 100644 --- a/tldr/linux/instaloader +++ b/tldr/linux/instaloader @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Download pictures, videos, captions, and other metadata from Instagram. > Note: You will need to provide Instagram login information if you want high-quality media downloads. -> More information: . +> More information: . - Download a profile: @@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git - Download posts with geotags (if available), suppressing any user interaction: -`instaloader --quiet --geotags {{profile_name}}` +`instaloader {{[-q|--quiet]}} {{[-G|--geotags]}} {{profile_name}}` - Specify a user agent for HTTP requests: @@ -27,16 +27,16 @@ source: https://github.com/tldr-pages/tldr.git - Specify login info and download posts (useful for private profiles): -`instaloader --login {{username}} --password {{password}} {{profile_name}}` +`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {{profile_name}}` - Skip a target if the first downloaded file has been found (useful for updating Instagram archives): -`instaloader --fast-update {{profile_name}}` +`instaloader {{[-F|--fast-update]}} {{profile_name}}` - Download stories and IGTV videos (login required): -`instaloader --login {{username}} --password {{password}} --stories --igtv {{profile_name}}` +`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {{[-s|--stories]}} --igtv {{profile_name}}` - Download all types of posts (login required): -`instaloader --login {{username}} --password {{password}} --stories --igtv --highlights {{profile_name}}` +`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {[-s|--stories]}} --igtv --highlights {{profile_name}}` diff --git a/tldr/linux/ipcmk b/tldr/linux/ipcmk index ea61ece7..38424a67 100644 --- a/tldr/linux/ipcmk +++ b/tldr/linux/ipcmk @@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git - Create a shared memory segment: -`ipcmk --shmem {{segment_size_in_bytes}}` +`ipcmk {{[-M|--shmem]}} {{segment_size_in_bytes}}` - Create a semaphore: -`ipcmk --semaphore {{element_size}}` +`ipcmk {{[-S|--semaphore]}} {{element_size}}` - Create a message queue: -`ipcmk --queue` +`ipcmk {{[-Q|--queue]}}` - Create a shared memory segment with specific permissions (default is 0644): -`ipcmk --shmem {{segment_size_in_bytes}} {{octal_permissions}}` +`ipcmk {{[-M|--shmem]}} {{segment_size_in_bytes}} {{octal_permissions}}` diff --git a/tldr/linux/resolvectl b/tldr/linux/resolvectl index f39dd89d..35bd2668 100644 --- a/tldr/linux/resolvectl +++ b/tldr/linux/resolvectl @@ -31,7 +31,7 @@ source: https://github.com/tldr-pages/tldr.git - Retrieve an MX record of a domain: -`resolvectl --legend={{no}} --type={{MX}} query {{domain}}` +`resolvectl --legend {{no}} {{[-t|--type]}} {{MX}} query {{domain}}` - Resolve an SRV record, for example _xmpp-server._tcp gmail.com: diff --git a/tldr/linux/udevadm b/tldr/linux/udevadm index a342362d..66f9c0b1 100644 --- a/tldr/linux/udevadm +++ b/tldr/linux/udevadm @@ -14,19 +14,19 @@ source: https://github.com/tldr-pages/tldr.git - Print `uevents` sent out by the kernel: -`sudo udevadm monitor --kernel` +`sudo udevadm monitor {{[-k|--kernel]}}` - Print device events after being processed by `udev`: -`sudo udevadm monitor --udev` +`sudo udevadm monitor {{[-u|--udev]}}` - List attributes of device `/dev/sda`: -`sudo udevadm info --attribute-walk {{/dev/sda}}` +`sudo udevadm info {{[-a|--attribute-walk]}} {{/dev/sda}}` - Reload all `udev` rules: -`sudo udevadm control --reload` +`sudo udevadm control {{[-R|--reload]}}` - Trigger all `udev` rules to run: diff --git a/tldr/linux/vlock b/tldr/linux/vlock new file mode 100644 index 00000000..b4dc468b --- /dev/null +++ b/tldr/linux/vlock @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# vlock + +> Lock virtual console. +> More information: . + +- Lock current virtual console session: + +`vlock` + +- Lock current virtual console session via flag: + +`vlock {{[-c|--current]}}` + +- Lock all virtual console sessions: + +`vlock {{[-a|--all]}}` + +- Show help: + +`vlock {{[-h|--help]}}` + +- Show version: + +`vlock {{[-v|--version]}}` diff --git a/tldr/lumen b/tldr/lumen index 3d9abb66..010b4b48 100644 --- a/tldr/lumen +++ b/tldr/lumen @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # lumen -> A command-line installer for the Lumen micro-framework. +> An installer for the Lumen micro-framework. > More information: . - Create a new Lumen application: diff --git a/tldr/lwp-request b/tldr/lwp-request index 902f13ba..9aab2c25 100644 --- a/tldr/lwp-request +++ b/tldr/lwp-request @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # lwp-request -> Simple command-line HTTP client. +> Simple HTTP client. > Built with libwww-perl. > More information: . diff --git a/tldr/mail b/tldr/mail index 32c39dde..c764e3e1 100644 --- a/tldr/mail +++ b/tldr/mail @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # mail -> The command operates on the user's mailbox if no argument is given. +> Operate on the user's mailbox. > To send an email the message body is built from `stdin`. > More information: . diff --git a/tldr/meshlabserver b/tldr/meshlabserver index ec40f095..7f32cf80 100644 --- a/tldr/meshlabserver +++ b/tldr/meshlabserver @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # meshlabserver -> Command-line interface for the MeshLab 3D mesh processing software. +> Interface for the MeshLab 3D mesh processing software. > More information: . - Convert an STL file to an OBJ file: diff --git a/tldr/nano b/tldr/nano index 03d3cf03..177f1cd7 100644 --- a/tldr/nano +++ b/tldr/nano @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # nano -> Command-line text editor. An enhanced `pico` clone. +> Text editor. An enhanced `pico` clone. > See also: `pico`, `rnano`. > More information: . diff --git a/tldr/nms b/tldr/nms index 976382f4..45e82009 100644 --- a/tldr/nms +++ b/tldr/nms @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # nms -> Command-line tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from `stdin`. +> Tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from `stdin`. > More information: . - Decrypt text after a keystroke: diff --git a/tldr/notmuch b/tldr/notmuch index e20827b5..58437a8c 100644 --- a/tldr/notmuch +++ b/tldr/notmuch @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # notmuch -> Command-line based program for indexing, searching, reading, and tagging large collections of email messages. +> Index, search, read, and tag large collections of email messages. > More information: . - Configure for first use: diff --git a/tldr/ouch b/tldr/ouch index b24c512a..52b8ad82 100644 --- a/tldr/ouch +++ b/tldr/ouch @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ouch -> Command-line utility for compressing and decompressing files and directories. +> Utility for compressing and decompressing files and directories. > More information: . - Decompress a specific file: diff --git a/tldr/pulumi-org b/tldr/pulumi-org new file mode 100644 index 00000000..90541010 --- /dev/null +++ b/tldr/pulumi-org @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# pulumi org + +> Manage Pulumi Organization configuration. +> More information: . + +- Display the default organization and current backend: + +`pulumi org` + +- Display the default organization: + +`pulumi org get-default` + +- Set the default organization: + +`pulumi org set-default {{organization_name}}` + +- Search for resources in Pulumi Cloud using Pulumi AI with a plaintext natural language query: + +`pulumi org search ai {{[-q|--query]}} {{"show me all load balancers in my organization"}}` + +- Display help: + +`pulumi org {{[-h|--help]}}`