Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-29 00:23:20 +00:00
parent 42ee16d1f0
commit 0b27d7dda4
118 changed files with 277 additions and 228 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# argocd # 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. > Some subcommands such as `app` have their own usage documentation.
> More information: <https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd/>. > More information: <https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd/>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# argocd app # argocd app
> Command-line interface to manage applications by Argo CD. > Interface to manage applications by Argo CD.
> More information: <https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_app/>. > More information: <https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_app/>.
- List applications: - List applications:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# assimp # 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. > Supports loading of 40+ 3D file formats, and exporting to several popular 3D formats.
> More information: <https://assimp-docs.readthedocs.io/>. > More information: <https://assimp-docs.readthedocs.io/>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# avo # avo
> The official command-line interface for Avo. > The official interface for Avo.
> More information: <https://www.avo.app/docs/implementation/cli>. > More information: <https://www.avo.app/docs/implementation/cli>.
- Initialize a workspace in the current directory: - Initialize a workspace in the current directory:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# bitcoin-cli # 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`. > Uses the configuration defined in `bitcoin.conf`.
> More information: <https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments>. > More information: <https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# cabal # 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. > Manage Haskell projects and Cabal packages from the Hackage package repository.
> More information: <https://cabal.readthedocs.io/en/latest/getting-started.html>. > More information: <https://cabal.readthedocs.io/en/latest/getting-started.html>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# cake # cake
> The command-line processor for the CakePHP framework. > The processor for the CakePHP framework.
> More information: <https://cakephp.org>. > More information: <https://cakephp.org>.
- Display basic information about the current app and available commands: - Display basic information about the current app and available commands:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# clockwork-cli # clockwork-cli
> A command-line interface for the Clockwork PHP debugging framework. > Interface for the Clockwork PHP debugging framework.
> More information: <https://github.com/ptrofimov/clockwork-cli>. > More information: <https://github.com/ptrofimov/clockwork-cli>.
- Monitor Clockwork logs for the current project: - Monitor Clockwork logs for the current project:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# dotnet # 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. > Some subcommands such as `build` have their own usage documentation.
> More information: <https://learn.microsoft.com/dotnet/core/tools>. > More information: <https://learn.microsoft.com/dotnet/core/tools>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# ern # ern
> Electrode Native platform command-line client. > Electrode Native platform client.
> More information: <https://native.electrode.io/reference/index-6>. > More information: <https://native.electrode.io/reference/index-6>.
- Create a new `ern` application (`MiniApp`): - Create a new `ern` application (`MiniApp`):

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# ex # ex
> Command-line text editor. > Text editor.
> See also: `vim`. > See also: `vim`.
> More information: <https://www.vim.org>. > More information: <https://www.vim.org>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# fluxctl # fluxctl
> Command-line tool for Flux v1. > Tool for Flux v1.
> More information: <https://fluxcd.io/legacy/flux/references/fluxctl>. > More information: <https://fluxcd.io/legacy/flux/references/fluxctl>.
- List workloads currently running in the cluster on specific namespace: - List workloads currently running in the cluster on specific namespace:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# flyctl # flyctl
> Command-line tool for flyctl.io. > Tool for flyctl.io.
> More information: <https://github.com/superfly/flyctl>. > More information: <https://github.com/superfly/flyctl>.
- Sign into a Fly account: - Sign into a Fly account:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Manage Go source code. > Manage Go source code.
> Some subcommands such as `build` have their own usage documentation. > Some subcommands such as `build` have their own usage documentation.
> More information: <https://golang.org>. > More information: <https://go.dev/>.
- Download and install a package, specified by its import path: - Download and install a package, specified by its import path:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go bug # go bug
> Report a bug. > Report a bug.
> More information: <https://golang.org/cmd/go/#hdr-Start_a_bug_report>. > More information: <https://pkg.go.dev/cmd/go#hdr-Start_a_bug_report>.
- Open a web page to start a bug report: - Open a web page to start a bug report:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go build # go build
> Compile Go sources. > Compile Go sources.
> More information: <https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies>. > More information: <https://pkg.go.dev/cmd/go#hdr-Compile_packages_and_dependencies>.
- Compile a 'package main' file (output will be the filename without extension): - Compile a 'package main' file (output will be the filename without extension):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go clean # go clean
> Remove object files and cached files. > Remove object files and cached files.
> More information: <https://golang.org/cmd/go/#hdr-Remove_object_files_and_cached_files>. > More information: <https://pkg.go.dev/cmd/go#hdr-Remove_object_files_and_cached_files>.
- Print the remove commands instead of actually removing anything: - Print the remove commands instead of actually removing anything:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go doc # go doc
> View documentation for a package or symbol. > View documentation for a package or symbol.
> More information: <https://golang.org/cmd/go/#hdr-Show_documentation_for_package_or_symbol>. > More information: <https://pkg.go.dev/cmd/go#hdr-Show_documentation_for_package_or_symbol>.
- View documentation for the current package: - View documentation for the current package:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go env # go env
> Manage environment variables used by the Go toolchain. > Manage environment variables used by the Go toolchain.
> More information: <https://golang.org/cmd/go/#hdr-Print_Go_environment_information>. > More information: <https://pkg.go.dev/cmd/go#hdr-Print_Go_environment_information>.
- Show all environment variables: - Show all environment variables:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go fix # go fix
> Update packages to use new APIs. > Update packages to use new APIs.
> More information: <https://golang.org/cmd/go/#hdr-Update_packages_to_use_new_APIs>. > More information: <https://pkg.go.dev/cmd/go#hdr-Update_packages_to_use_new_APIs>.
- Update packages to use new APIs: - Update packages to use new APIs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go generate # go generate
> Generate Go files by running commands within source files. > Generate Go files by running commands within source files.
> More information: <https://golang.org/cmd/go/#hdr-Generate_Go_files_by_processing_source>. > More information: <https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source>.
- Generate Go files by running commands within source files: - Generate Go files by running commands within source files:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go list # go list
> List packages or modules. > List packages or modules.
> More information: <https://golang.org/cmd/go/#hdr-List_packages_or_modules>. > More information: <https://pkg.go.dev/cmd/go#hdr-List_packages_or_modules>.
- List packages: - List packages:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go mod # go mod
> Module maintenance. > Module maintenance.
> More information: <https://golang.org/cmd/go/#hdr-Module_maintenance>. > More information: <https://pkg.go.dev/cmd/go#hdr-Module_maintenance>.
- Initialize new module in current directory: - Initialize new module in current directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# go version # go version
> Display Go version. > Display Go version.
> More information: <https://golang.org/cmd/go/#hdr-Print_Go_version>. > More information: <https://pkg.go.dev/cmd/go#hdr-Print_Go_version>.
- Display version: - Display version:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gofmt # gofmt
> Format Go source code. > Format Go source code.
> More information: <https://golang.org/cmd/gofmt/>. > More information: <https://pkg.go.dev/cmd/gofmt>.
- Format a file and display the result to the console: - Format a file and display the result to the console:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# goimports # goimports
> Updates Go import lines, adding missing ones and removing unreferenced ones. > Updates Go import lines, adding missing ones and removing unreferenced ones.
> More information: <https://godoc.org/golang.org/x/tools/cmd/goimports>. > More information: <https://pkg.go.dev/golang.org/x/tools/cmd/goimports>.
- Display the completed import source file: - Display the completed import source file:

View File

@@ -36,3 +36,7 @@ source: https://github.com/tldr-pages/tldr.git
- Multiplex together test video and test audio into a file: - 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}}` `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}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# hangups # hangups
> Third party command-line client for Google Hangouts. > Third party client for Google Hangouts.
> More information: <https://github.com/tdryer/hangups>. > More information: <https://github.com/tdryer/hangups>.
- Start `hangups`: - Start `hangups`:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# hsd-cli # hsd-cli
> The command-line REST tool for the Handshake blockchain. > The REST tool for the Handshake blockchain.
> More information: <https://handshake.org>. > More information: <https://handshake.org>.
- Retrieve information about the current server: - Retrieve information about the current server:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# hsw-cli # hsw-cli
> The command-line REST tool for the Handshake wallet. > The REST tool for the Handshake wallet.
> More information: <https://github.com/handshake-org/hs-client>. > More information: <https://github.com/handshake-org/hs-client>.
- Unlock the current wallet (timeout in seconds): - Unlock the current wallet (timeout in seconds):

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# http-server-upload # 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: <https://github.com/crycode-de/http-server-upload>. > More information: <https://github.com/crycode-de/http-server-upload>.
- Start an HTTP server on the default port to upload files to the current directory: - Start an HTTP server on the default port to upload files to the current directory:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# httpflow # httpflow
> A command-line utility to capture and dump HTTP streams. > A utility to capture and dump HTTP streams.
> More information: <https://github.com/six-ddc/httpflow>. > More information: <https://github.com/six-ddc/httpflow>.
- Capture traffic on all interfaces: - Capture traffic on all interfaces:

View File

@@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
- Build a site including pages that are marked as a "draft": - Build a site including pages that are marked as a "draft":
`hugo --buildDrafts` `hugo {{[-D|--buildDrafts]}}`
- Build a site on your local IP: - 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: - 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: - Build a site, start up a webserver to serve it, and automatically reload when pages are edited:

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Build and serve a site on a specified port number: - 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.): - 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: - 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: - Display help:
`hugo server --help` `hugo server {{[-h|--help]}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# ia # ia
> Command-line tool to interact with `archive.org`. > Tool to interact with `archive.org`.
> More information: <https://archive.org/services/docs/api/internetarchive/cli.html>. > More information: <https://archive.org/services/docs/api/internetarchive/cli.html>.
- Configure `ia` with API keys (some functions won't work without this step): - Configure `ia` with API keys (some functions won't work without this step):

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# ibmcloud # ibmcloud
> A command-line tool for managing IBM Cloud apps and services. > A tool for managing IBM Cloud apps and services.
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli>. > More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli>.
- Update `ibmcloud` to the latest version: - Update `ibmcloud` to the latest version:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# immich-cli # 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`. > See also: `immich-go`.
> More information: <https://immich.app/docs/features/command-line-interface/>. > More information: <https://immich.app/docs/features/command-line-interface/>.
@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
- Upload some image files: - Upload some image files:
`immich upload {{file1.jpg file2.jpg}}` `immich upload {{file1.jpg file2.jpg ...}}`
- Upload a directory including subdirectories: - Upload a directory including subdirectories:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# ivpn # ivpn
> Command-line interface for the IVPN client. > Interface for the IVPN client.
> See also: `fastd`, `mozillavpn`, `mullvad`, `warp-cli`. > See also: `fastd`, `mozillavpn`, `mullvad`, `warp-cli`.
> More information: <https://www.ivpn.net>. > More information: <https://www.ivpn.net>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# jello # jello
> A command-line JSON processor using Python syntax. > A JSON processor using Python syntax.
> More information: <https://github.com/kellyjonbrazil/jello>. > More information: <https://github.com/kellyjonbrazil/jello>.
- Pretty-print JSON or JSON-Lines data from `stdin` to `stdout`: - Pretty-print JSON or JSON-Lines data from `stdin` to `stdout`:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# jrnl # jrnl
> A simple journal application for your command-line. > A simple journal application.
> More information: <https://jrnl.sh>. > More information: <https://jrnl.sh>.
- Insert a new entry with your editor: - Insert a new entry with your editor:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# keepassxc-cli # keepassxc-cli
> Command-line interface for KeepassXC. > Interface for KeepassXC.
> More information: <https://manned.org/keepassxc-cli>. > More information: <https://manned.org/keepassxc-cli>.
- Search entries: - Search entries:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# khal # khal
> A text-based calendar and scheduling application for the command-line. > A text-based calendar and scheduling application.
> More information: <https://lostpackets.de/khal>. > More information: <https://lostpackets.de/khal>.
- Start Khal on interactive mode: - Start Khal on interactive mode:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# kubeadm # kubeadm
> Command-line interface for creating and managing Kubernetes clusters. > Interface for creating and managing Kubernetes clusters.
> More information: <https://kubernetes.io/docs/reference/setup-tools/kubeadm>. > More information: <https://kubernetes.io/docs/reference/setup-tools/kubeadm>.
- Create a Kubernetes control plane: - Create a Kubernetes control plane:

View File

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

View File

@@ -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: - 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: - 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: - 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: - 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: - 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: - 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: - 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`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# linkchecker # 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: <https://linkchecker.github.io/linkchecker/>. > More information: <https://linkchecker.github.io/linkchecker/>.
- Find broken links on <https://example.com/>: - Find broken links on <https://example.com/>:

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- Don't show informative messages: - Don't show informative messages:
`sudo a2disconf --quiet {{configuration_file}}` `sudo a2disconf {{[-q|--quiet]}} {{configuration_file}}`

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- Don't show informative messages: - Don't show informative messages:
`sudo a2dismod --quiet {{module}}` `sudo a2dismod {{[-q|--quiet]}} {{module}}`

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- Don't show informative messages: - Don't show informative messages:
`sudo a2dissite --quiet {{virtual_host}}` `sudo a2dissite {{[-q|--quiet]}} {{virtual_host}}`

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- Don't show informative messages: - Don't show informative messages:
`sudo a2enconf --quiet {{configuration_file}}` `sudo a2enconf {{[-q|--quiet]}} {{configuration_file}}`

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- Don't show informative messages: - Don't show informative messages:
`sudo a2enmod --quiet {{module}}` `sudo a2enmod {{[-q|--quiet]}} {{module}}`

View File

@@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git
- Don't show informative messages: - Don't show informative messages:
`sudo a2ensite --quiet {{virtual_host}}` `sudo a2ensite {{[-q|--quiet]}} {{virtual_host}}`

View File

@@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git
- Set policies to complain mode: - Set policies to complain mode:
`sudo aa-complain --dir {{path/to/profiles}}` `sudo aa-complain {{[-d|--dir]}} {{path/to/profiles}}`

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Enable profile: - Enable profile:
`sudo aa-enforce --dir {{path/to/profile}}` `sudo aa-enforce {{[-d|--dir]}} {{path/to/profile}}`
- Enable profiles: - Enable profiles:

View File

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

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# add-apt-repository # add-apt-repository
> Manage `apt` repository definitions. > Manage `apt` repository definitions.
> More information: <https://manned.org/apt-add-repository>. > More information: <https://manned.org/add-apt-repository>.
- Add a new `apt` repository: - Add a new `apt` repository:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Remove an `apt` repository: - 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: - 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: - Allow source packages to be downloaded from the repository:
`add-apt-repository --enable-source {{repository_spec}}` `add-apt-repository {{[-s|--enable-source]}} {{repository_spec}}`

View File

@@ -11,16 +11,16 @@ source: https://github.com/tldr-pages/tldr.git
- Convert a specific installation file to Debian format (`.deb` extension): - 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): - 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): - 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: - 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}}`

View File

@@ -19,4 +19,4 @@ source: https://github.com/tldr-pages/tldr.git
- Quit alpine: - Quit alpine:
`q + y` `<q><y>`

View File

@@ -5,39 +5,39 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# apt # apt
> Package management utility for Debian based distributions. > Package manager for Debian-based distributions.
> Recommended replacement for `apt-get` when used interactively in Ubuntu versions 16.04 and later. > Intended as a user-friendly alternative to `apt-get` for interactive use.
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>. > For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
> More information: <https://manned.org/apt.8>. > More information: <https://manned.org/apt.8>.
- 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` `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}}` `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}}` `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}}` `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}}` `sudo apt remove {{package}}`
- Upgrade all installed packages to their newest available versions: - Upgrade all installed packages to their latest versions:
`sudo apt upgrade` `sudo apt upgrade`
- List all packages: - List all installed packages:
`apt list`
- List installed packages:
`apt list {{[-i|--installed]}}` `apt list {{[-i|--installed]}}`

View File

@@ -5,21 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# apt-add-repository # apt-add-repository
> Manage `apt` repository definitions. > This command is an alias of `add-apt-repository`.
> More information: <https://manned.org/apt-add-repository.1>.
- Add a new `apt` repository: - View documentation for the original command:
`apt-add-repository {{repository_spec}}` `tldr add-apt-repository`
- 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}}`

View File

@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
- Extract a specific archive into the current directory: - 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: - 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: - 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 ...}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# auracle # 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: <https://github.com/falconindy/auracle>. > More information: <https://github.com/falconindy/auracle>.
- Display AUR packages that match a regular expression: - Display AUR packages that match a regular expression:

View File

@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
- Display help: - Display help:
`caffeine --help` `caffeine {{[-h|--help]}}`
- Display version: - Display version:
`caffeine --version` `caffeine {{[-V|--version]}}`

View File

@@ -19,12 +19,12 @@ source: https://github.com/tldr-pages/tldr.git
- Open specific directories in tabs: - 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: - 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: - Close all windows:
`caja --quit` `caja {{[-q|--quit]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# calcurse # calcurse
> A text-based calendar and scheduling application for the command-line. > A text-based calendar and scheduling application for the command-line.
> More information: <https://calcurse.org>. > More information: <https://github.com/lfos/calcurse/blob/pu/doc/calcurse.1.txt>.
- Start `calcurse` on interactive mode: - 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: - 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: - Remove all local calcurse items and import remote objects:

View File

@@ -14,19 +14,19 @@ source: https://github.com/tldr-pages/tldr.git
- Show the battery icon and set the update interval to 20 seconds: - 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: - List available icon types:
`cbatticon --list-icon-types` `cbatticon {{[-t|--list-icon-types]}}`
- Show the battery icon with a specific icon type: - 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: - List available power supplies:
`cbatticon --list-power-supplies` `cbatticon {{[-p|--list-power-supplies]}}`
- Show the battery icon for a specific battery: - 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: - 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}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Move running tasks to `cgroups`. > Move running tasks to `cgroups`.
> More information: <https://manned.org/cgclassify>. > More information: <https://manned.org/cgclassify>.
- 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}}` `cgclassify -g {{cpu:student}} {{1234}}`
@@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
`cgclassify {{1234}}` `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}}` `cgclassify --sticky -g {{cpu:/student}} {{1234}}`

View File

@@ -9,11 +9,11 @@ source: https://github.com/tldr-pages/tldr.git
> `cgroups` types can be `memory`, `cpu`, `net_cls`, etc. > `cgroups` types can be `memory`, `cpu`, `net_cls`, etc.
> More information: <https://manned.org/cgcreate>. > More information: <https://manned.org/cgcreate>.
- Create a new group: - Create a new [g]roup:
`cgcreate -g {{group_type}}:{{group_name}}` `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}}` `cgcreate -g {{group_type1}},{{group_type2}}:{{group_name}}`

View File

@@ -9,6 +9,6 @@ source: https://github.com/tldr-pages/tldr.git
> Multiple cgroup types (aka controllers) exist, such as `cpu`, `memory`, etc. > Multiple cgroup types (aka controllers) exist, such as `cpu`, `memory`, etc.
> More information: <https://manned.org/cgexec>. > More information: <https://manned.org/cgexec>.
- 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}}` `cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Change attributes of files or directories. > Change attributes of files or directories.
> More information: <https://manned.org/chattr>. > More information: <https://manned.org/chattr>.
- 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}}` `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}}` `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}}` `chattr -R +i {{path/to/directory}}`
@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
`chattr +F {{path/to/directory}}` `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}}` `chattr +a {{path/to/file}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Report non-free packages installed on Debian-based OSes. > Report non-free packages installed on Debian-based OSes.
> This command was formerly known as `vrms`. > This command was formerly known as `vrms`.
> More information: <https://debian.pages.debian.net/check-dfsg-status/>. > More information: <https://salsa.debian.org/debian/check-dfsg-status>.
- List non-free and contrib packages (and their description): - 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: - Only output the package names:
`check-dfsg-status --sparse` `check-dfsg-status {{[-s|--sparse]}}`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- List packages for a specific locale: - 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: - Display installed packages as well as missing ones:

View File

@@ -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. > 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. > Boot target machine with live cd like Kali Linux and run with elevated privileges.
> More information: <https://pogostick.net/~pnh/ntpasswd>. > More information: <https://pogostick.net/~pnh/ntpasswd/MANUAL.txt>.
- List all users in the SAM file: - List all users in the SAM file:

View File

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

View File

@@ -30,8 +30,8 @@ source: https://github.com/tldr-pages/tldr.git
- Extract the last core dump of a program to a file: - 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`: - 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"`

View File

@@ -6,28 +6,28 @@ source: https://github.com/tldr-pages/tldr.git
# cpulimit # cpulimit
> A tool to throttle the CPU usage of other processes. > A tool to throttle the CPU usage of other processes.
> More information: <https://cpulimit.sourceforge.net/>. > More information: <https://manned.org/cpulimit>.
- Limit an existing process with PID 1234 to only use 25% of the CPU: - 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: - 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: - 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: - 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%: - 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: - 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}}`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`crond -n` `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` `crond -s`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
- Use a keyfile instead of a passphrase: - 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: - 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: - 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}}`

View File

@@ -12,6 +12,6 @@ source: https://github.com/tldr-pages/tldr.git
`e2freefrag {{/dev/sdXN}}` `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}}` `e2freefrag -c {{chunk_size_in_kb}} {{/dev/sdXN}}`

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo e2fsck {{/dev/sdXN}}` `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}}` `sudo e2fsck -p {{/dev/sdXN}}`

View File

@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
`e2image -r {{/dev/sdXN}} {{path/to/image_file}}` `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}}` `e2image -Q {{/dev/sdXN}} {{path/to/image_file}}`

View File

@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
`e2undo {{path/to/undo_file}} {{/dev/sdXN}}` `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}}` `e2undo -v {{path/to/undo_file}} {{/dev/sdXN}}`

View File

@@ -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: - 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: - 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`

View File

@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
- List active global USE flags: - List active global USE flags:
`euse --active --global` `euse {{[-a|--active]}} {{[-g|--global]}}`
- List active local USE flags: - List active local USE flags:
`euse --active --local` `euse {{[-a|--active]}} {{[-l|--local]}}`
- Enable a global USE flag: - 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): - 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: - Remove a global USE flag:
`sudo euse --prune {{use_flag}}` `sudo euse {{[-P|--prune]}} {{use_flag}}`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`exiqgrep -i -f '<{{email@example.com}}>'` `exiqgrep -i -f '<{{email@example.com}}>'`
- Match the recipient address: - Match the [r]ecipient address:
`exiqgrep -r '{{email@example.com}}'` `exiqgrep -r '{{email@example.com}}'`
@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
`exiqgrep -f '^<>$'` `exiqgrep -f '^<>$'`
- Display the count of bounced messages: - Display the [c]ount of bounced messages:
`exiqgrep -c -f '^<>$'` `exiqgrep -c -f '^<>$'`

View File

@@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
`expect -c "{{commands}}"` `expect -c "{{commands}}"`
- Enter an interactive REPL (use `exit` or `<Ctrl d>` to exit): - Enter an [i]nteractive REPL (use `exit` or `<Ctrl d>` to exit):
`expect -i` `expect -i`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`export -n {{VARIABLE}}` `export -n {{VARIABLE}}`
- Export a function to child processes: - Export a [f]unction to child processes:
`export -f {{FUNCTION_NAME}}` `export -f {{FUNCTION_NAME}}`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo extrace {{command}}` `sudo extrace {{command}}`
- Print the current working directory of each process: - Print the current working [d]irectory of each process:
`sudo extrace -d` `sudo extrace -d`
@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
`sudo extrace -l` `sudo extrace -l`
- Display the user running each process: - Display the [u]ser running each process:
`sudo extrace -u` `sudo extrace -u`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`fakeroot -- {{command}} {{command_arguments}}` `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}}` `fakeroot -s {{path/to/file}} -- {{command}} {{command_arguments}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Screenshot utility with a GUI. > Screenshot utility with a GUI.
> Supports basic image editing, such as text, shapes, colors, and imgur. > Supports basic image editing, such as text, shapes, colors, and imgur.
> More information: <https://flameshot.org>. > More information: <https://flameshot.org/docs/advanced/commandline-options/>.
- Create a fullscreen screenshot: - Create a fullscreen screenshot:

View File

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

View File

@@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
`sudo fsck -r {{/dev/sdXN}}` `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}}` `sudo fsck -a {{/dev/sdXN}}`

View File

@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- Show more fields (`USER`, `PID`, `ACCESS` and `COMMAND`): - 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: - 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): - 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: - 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: - Kill all processes with a TCP connection on a specific port:
`fuser --kill {{port}}/tcp` `fuser {{[-k|--kill]}} {{port}}/tcp`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gdebi # gdebi
> Easily install `.deb` files. > Easily install `.deb` files.
> More information: <https://www.commandlinux.com/man-page/man1/gdebi.1.html>. > More information: <https://manned.org/gdebi>.
- Install local `.deb` packages resolving and installing its dependencies: - 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: - Do not show progress information:
`gdebi {{path/to/package.deb}} --quiet` `gdebi {{path/to/package.deb}} {{[-q|--quiet]}}`
- Set an APT configuration option: - 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: - 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: - Display version:

View File

@@ -14,27 +14,27 @@ source: https://github.com/tldr-pages/tldr.git
- Take a screenshot and save it to the named file location: - 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: - 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: - Take a screenshot after the specified number of seconds:
`gnome-screenshot --delay {{5}}` `gnome-screenshot {{[-d|--delay]}} {{5}}`
- Launch the GNOME Screenshot GUI: - 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: - 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: - 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: - Display the version:

View File

@@ -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: - 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}}`

View File

@@ -15,8 +15,8 @@ source: https://github.com/tldr-pages/tldr.git
- Install even if problems are detected: - 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: - Install GRUB in a specific directory:
`grub-bios-setup --directory={{/boot/grub}} {{/dev/sdX}}` `grub-bios-setup {{[-d|--directory]}} {{/boot/grub}} {{/dev/sdX}}`

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Set the screen temperature to 3000K: - Set the screen temperature to 3000K:
`gummy --temperature {{3000}}` `gummy {{[-t|--temperature]}} {{3000}}`
- Set the screen backlight to 50%: - 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%: - Set the screen pixel brightness to 45%:
`gummy --brightness {{45}}` `gummy {{[-b|--brightness]}} {{45}}`
- Increase current screen pixel brightness by 10%: - Increase current screen pixel brightness by 10%:
`gummy --brightness {{+10}}` `gummy {{[-b|--brightness]}} {{+10}}`
- Decrease current screen pixel brightness by 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: - 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}}`

View File

@@ -13,6 +13,6 @@ source: https://github.com/tldr-pages/tldr.git
`gzexe {{path/to/executable}}` `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}}` `gzexe -d {{path/to/compressed_executable}}`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Check all Haskell files and generate a report: - Check all Haskell files and generate a report:
`hlint {{path/to/directory}} --report` `hlint {{path/to/directory}} {{[-r|--report]}}`
- Automatically apply most suggestions: - Automatically apply most suggestions:

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