mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 20:43:39 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# afconvert
|
||||
|
||||
> Convert between AFF and raw file formats.
|
||||
> More information: <https://manned.org/afconvert.1>.
|
||||
> More information: <https://manned.org/afconvert>.
|
||||
|
||||
- Use a specific extension (default: `aff`):
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A highly efficient, powerful, and fast anime scraper.
|
||||
> See also: `ani-cli`.
|
||||
> More information: <https://github.com/justfoolingaround/animdl>.
|
||||
> More information: <https://github.com/justfoolingaround/animdl#usage>.
|
||||
|
||||
- Download a specific anime:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ansiweather
|
||||
|
||||
> Display the current weather conditions in your terminal.
|
||||
> More information: <https://github.com/fcambus/ansiweather>.
|
||||
> More information: <https://github.com/fcambus/ansiweather#usage>.
|
||||
|
||||
- Display a [f]orecast for the next seven days using metric [u]nits for a specific [l]ocation:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A Go CLI tool for mapping organization network ranges using ASN information.
|
||||
> Note: An API key is required from ProjectDiscovery Cloud Platform for the tool to work.
|
||||
> More information: <https://github.com/projectdiscovery/asnmap>.
|
||||
> More information: <https://github.com/projectdiscovery/asnmap#usage>.
|
||||
|
||||
- Lookup CIDR ranges for an ASN:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Compress images to JPEG XL.
|
||||
> Accepted input extensions are PNG, APNG, GIF, JPEG, EXR, PPM, PFM, PAM, PGX, and JXL.
|
||||
> More information: <https://github.com/libjxl/libjxl>.
|
||||
> More information: <https://github.com/libjxl/libjxl/blob/main/doc/man/cjxl.txt>.
|
||||
|
||||
- Convert an image to JPEG XL:
|
||||
|
||||
@@ -17,6 +17,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`cjxl --distance 0 --effort 9 {{path/to/image.ext}} {{path/to/output.jxl}}`
|
||||
|
||||
- Display an extremely detailed help page:
|
||||
- Display an extremely detailed help:
|
||||
|
||||
`cjxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ddgr
|
||||
|
||||
> Search DuckDuckGo (HTML version) from the terminal.
|
||||
> More information: <https://github.com/jarun/ddgr>.
|
||||
> More information: <https://github.com/jarun/ddgr#usage>.
|
||||
|
||||
- Start in interactive mode:
|
||||
|
||||
|
||||
@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`deepseek --local`
|
||||
|
||||
- Show help information:
|
||||
- Display help:
|
||||
|
||||
`deepseek --help`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dexter
|
||||
|
||||
> Authenticate the `kubectl` users with OpenId Connect.
|
||||
> More information: <https://github.com/gini/dexter>.
|
||||
> More information: <https://github.com/gini/dexter#run-dexter>.
|
||||
|
||||
- Create and authenticate a user with Google OIDC:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Initiates an advanced DHCP exhaustion attack and stress test.
|
||||
> DHCPig needs to be run with root privileges.
|
||||
> More information: <https://github.com/kamorin/DHCPig>.
|
||||
> More information: <https://github.com/kamorin/DHCPig#usage>.
|
||||
|
||||
- Exhaust all of the available DHCP addresses using the specified interface:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dict
|
||||
|
||||
> Command line dictionary using the DICT protocol.
|
||||
> More information: <https://github.com/cheusov/dictd>.
|
||||
> More information: <https://manned.org/dict>.
|
||||
|
||||
- List available databases:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dirsearch
|
||||
|
||||
> Web path scanner.
|
||||
> More information: <https://github.com/maurosoria/dirsearch>.
|
||||
> More information: <https://github.com/maurosoria/dirsearch#options>.
|
||||
|
||||
- Scan a web server for common paths with common extensions:
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Decompress JPEG XL images.
|
||||
> Accepted output extensions are PNG, APNG, JPEG, EXR, PGM, PPM, PNM, PFM, PAM, EXIF, XMP and JUMBF.
|
||||
> More information: <https://github.com/libjxl/libjxl>.
|
||||
> More information: <https://github.com/libjxl/libjxl/blob/main/doc/man/djxl.txt>.
|
||||
|
||||
- Decompress a JPEG XL image to another format:
|
||||
|
||||
`djxl {{path/to/image.jxl}} {{path/to/output.ext}}`
|
||||
|
||||
- Display an extremely detailed help page:
|
||||
- Display an extremely detailed help:
|
||||
|
||||
`djxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dockdiver
|
||||
|
||||
> A tool for interacting with Docker registries, including listing and dumping repositories.
|
||||
> More information: <https://github.com/MachiavelliII/dockdiver>.
|
||||
> More information: <https://github.com/MachiavelliII/dockdiver#instructions>.
|
||||
|
||||
- List all repositories in a Docker registry:
|
||||
|
||||
|
||||
@@ -8,10 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Return low-level information on Docker objects.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/inspect/>.
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker inspect`
|
||||
|
||||
- Display information about a container, image, or volume using a name or ID:
|
||||
|
||||
`docker inspect {{container|image|ID}}`
|
||||
@@ -35,3 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Display all port bindings:
|
||||
|
||||
`docker inspect {{[-f|--format]}} '\{\{range $p, $conf := .NetworkSettings.Ports\}\} \{\{$p\}\} -> \{\{(index $conf 0).HostPort\}\} \{\{end\}\}' {{container}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker inspect`
|
||||
|
||||
@@ -8,10 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Remove Docker images.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/image/rm/>.
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker rmi`
|
||||
|
||||
- Remove one or more images given their names:
|
||||
|
||||
`docker rmi {{image1 image2 ...}}`
|
||||
@@ -23,3 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Remove an image without deleting untagged parents:
|
||||
|
||||
`docker rmi --no-prune {{image}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker rmi`
|
||||
|
||||
@@ -8,10 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Start stopped containers.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/container/start/>.
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker start --help`
|
||||
|
||||
- Start a Docker container:
|
||||
|
||||
`docker start {{container}}`
|
||||
@@ -23,3 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Start one or more containers:
|
||||
|
||||
`docker start {{container1 container2 ...}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker start --help`
|
||||
|
||||
@@ -8,10 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Manage Docker data and display system-wide information.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/system/>.
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker system`
|
||||
|
||||
- Show Docker disk usage:
|
||||
|
||||
`docker system df`
|
||||
@@ -39,3 +35,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Display system-wide information:
|
||||
|
||||
`docker system info`
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker system`
|
||||
|
||||
2
tldr/dtc
2
tldr/dtc
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dtc
|
||||
|
||||
> The Device Tree Compiler, a tool for recompiling device trees between formats.
|
||||
> More information: <https://github.com/dgibson/dtc>.
|
||||
> More information: <https://manned.org/dtc>.
|
||||
|
||||
- Compile a device tree source `.dts` file into a binary device tree blob `.dtb` file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# enca
|
||||
|
||||
> Detect and convert the encoding of text files.
|
||||
> More information: <https://github.com/nijel/enca>.
|
||||
> More information: <https://manned.org/enca>.
|
||||
|
||||
- Detect file(s) encoding according to the system's locale:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Mount or create encrypted virtual filesystems.
|
||||
> See also: `fusermount` which can unmount filesystems mounted by this command.
|
||||
> More information: <https://github.com/vgough/encfs>.
|
||||
> More information: <https://manned.org/encfs>.
|
||||
|
||||
- Initialize or mount an encrypted filesystem:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Generate all/random matching strings for a `regex`.
|
||||
> It can also simplify `regex`es.
|
||||
> More information: <https://github.com/asciimoo/exrex>.
|
||||
> More information: <https://github.com/asciimoo/exrex#usage>.
|
||||
|
||||
- Generate all possible strings that match a `regex`:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# fclones
|
||||
|
||||
> Efficient duplicate file finder and remover.
|
||||
> More information: <https://github.com/pkolaczk/fclones>.
|
||||
> More information: <https://github.com/pkolaczk/fclones#usage>.
|
||||
|
||||
- Search for duplicate files in the current directory:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# fdupes
|
||||
|
||||
> Finds duplicate files in a set of directories.
|
||||
> More information: <https://github.com/adrianlopezroche/fdupes>.
|
||||
> More information: <https://github.com/adrianlopezroche/fdupes#introduction>.
|
||||
|
||||
- Search a single directory:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# fselect
|
||||
|
||||
> Find files with SQL-like queries.
|
||||
> More information: <https://github.com/jhspetersson/fselect>.
|
||||
> More information: <https://github.com/jhspetersson/fselect/blob/master/docs/usage.md>.
|
||||
|
||||
- Select full path and size from temporary or configuration files in a given directory:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A LaTeX formula preprocessor for HTML files.
|
||||
> It converts LaTeX formulas to images.
|
||||
> More information: <https://manned.org/gladtex.1>.
|
||||
> More information: <https://manned.org/gladtex>.
|
||||
|
||||
- Convert to HTML:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Optical Character Recognition tool.
|
||||
> Recognize characters using its engine, and prompt the user for unknown patterns to store them in a database.
|
||||
> More information: <https://manned.org/gocr.1>.
|
||||
> More information: <https://manned.org/gocr>.
|
||||
|
||||
- Recognize characters in the [i]nput image and [o]utput it in the given file. Put the database ([p]) in `path/to/db_directory` (verify that the folder exists or DB usage will silently be skipped). [m]ode 130 means create + use + extend database:
|
||||
|
||||
|
||||
2
tldr/gox
2
tldr/gox
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Download and compile a Go program from a remote URL:
|
||||
|
||||
`gox {{url_1}} {{url_2}}`
|
||||
`gox {{url_1 url_2 ...}}`
|
||||
|
||||
- Compile current directory for a particular operating system:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# gst-discoverer-1.0
|
||||
|
||||
> Display file metadata and stream information.
|
||||
> More information: <https://manned.org/gst-discoverer-1.0.1>.
|
||||
> More information: <https://manned.org/gst-discoverer-1.0>.
|
||||
|
||||
- Print file metadata:
|
||||
|
||||
|
||||
@@ -16,10 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`irssi {{[-c|--connect]}} {{irc.example.com}} {{[-p|--port]}} {{port}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`irssi {{[-?|--help]}}`
|
||||
|
||||
- Join a channel:
|
||||
|
||||
`/join {{#channelname}}`
|
||||
@@ -31,3 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Exit the application cleanly and quitting any server(s):
|
||||
|
||||
`/quit`
|
||||
|
||||
- Display help:
|
||||
|
||||
`irssi {{[-?|--help]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# a2disconf
|
||||
|
||||
> Disable an Apache configuration file on Debian-based OSes.
|
||||
> More information: <https://manned.org/a2disconf.8>.
|
||||
> More information: <https://manned.org/a2disconf>.
|
||||
|
||||
- Disable a configuration file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# a2dismod
|
||||
|
||||
> Disable an Apache module on Debian-based OSes.
|
||||
> More information: <https://manned.org/a2dismod.8>.
|
||||
> More information: <https://manned.org/a2dismod>.
|
||||
|
||||
- Disable a module:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# a2dissite
|
||||
|
||||
> Disable an Apache virtual host on Debian-based OSes.
|
||||
> More information: <https://manned.org/a2dissite.8>.
|
||||
> More information: <https://manned.org/a2dissite>.
|
||||
|
||||
- Disable a virtual host:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# a2enconf
|
||||
|
||||
> Enable an Apache configuration file on Debian-based OSes.
|
||||
> More information: <https://manned.org/a2enconf.8>.
|
||||
> More information: <https://manned.org/a2enconf>.
|
||||
|
||||
- Enable a configuration file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# a2enmod
|
||||
|
||||
> Enable an Apache module on Debian-based OSes.
|
||||
> More information: <https://manned.org/a2enmod.8>.
|
||||
> More information: <https://manned.org/a2enmod>.
|
||||
|
||||
- Enable a module:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# a2ensite
|
||||
|
||||
> Enable an Apache virtual host on Debian-based OSes.
|
||||
> More information: <https://manned.org/a2ensite.8>.
|
||||
> More information: <https://manned.org/a2ensite>.
|
||||
|
||||
- Enable a virtual host:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Administrate the Apache HTTP web server.
|
||||
> This command comes with Debian based OSes, for RHEL based ones see `httpd`.
|
||||
> More information: <https://manned.org/apache2ctl.8>.
|
||||
> More information: <https://manned.org/apache2ctl>.
|
||||
|
||||
- Start the Apache daemon. Throw a message if it is already running:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# apt-cache
|
||||
|
||||
> Debian and Ubuntu package query tool.
|
||||
> More information: <https://manned.org/apt-cache.8>.
|
||||
> More information: <https://manned.org/apt-cache>.
|
||||
|
||||
- Search for a package in your current sources:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Key management utility for the APT Package Manager on Debian and Ubuntu.
|
||||
> Note: `apt-key` is now deprecated (except for the use of `apt-key del` in maintainer scripts).
|
||||
> More information: <https://manned.org/apt-key.8>.
|
||||
> More information: <https://manned.org/apt-key>.
|
||||
|
||||
- List trusted keys:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# apt-mark
|
||||
|
||||
> Utility to change the status of installed packages.
|
||||
> More information: <https://manned.org/apt-mark.8>.
|
||||
> More information: <https://manned.org/apt-mark>.
|
||||
|
||||
- Mark a package as automatically installed:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# aptitude
|
||||
|
||||
> Debian and Ubuntu package management utility.
|
||||
> More information: <https://manned.org/aptitude.8>.
|
||||
> More information: <https://manned.org/aptitude>.
|
||||
|
||||
- Synchronize list of packages and versions available. This should be run first, before running subsequent `aptitude` commands:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# arch-chroot
|
||||
|
||||
> Enhanced `chroot` command to help in the Arch Linux installation process.
|
||||
> More information: <https://manned.org/arch-chroot.8>.
|
||||
> More information: <https://manned.org/arch-chroot>.
|
||||
|
||||
- Start an interactive shell (Bash, by default) in a new root directory:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Boot and upgrade via container images.
|
||||
> Manages transactional, in-place operating system updates using OCI/Docker container images.
|
||||
> More information: <https://manned.org/bootc.8>.
|
||||
> More information: <https://manned.org/bootc>.
|
||||
|
||||
- Show deployments in the order they will appear in the bootloader:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# bootc switch
|
||||
|
||||
> Target a new container image reference to boot.
|
||||
> More information: <https://manned.org/bootc-switch.8>.
|
||||
> More information: <https://manned.org/bootc-switch>.
|
||||
|
||||
- Change the base OS to a new container image from a registry:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Automate conversations with a modem or serial device.
|
||||
> Commonly used to establish PPP (Point-to-Point Protocol) connections.
|
||||
> More information: <https://manned.org/chat.8>.
|
||||
> More information: <https://manned.org/chat>.
|
||||
|
||||
- Execute a chat script directly from the command line:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Change the passwords for multiple users by using `stdin`.
|
||||
> See also: `passwd`.
|
||||
> More information: <https://manned.org/chpasswd.8>.
|
||||
> More information: <https://manned.org/chpasswd>.
|
||||
|
||||
- Change the password for a specific user:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# compress
|
||||
|
||||
> Compress files using the Unix `compress` command.
|
||||
> More information: <https://manned.org/compress.1>.
|
||||
> More information: <https://manned.org/compress>.
|
||||
|
||||
- Compress specific files:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# debchange
|
||||
|
||||
> Maintain the debian/changelog file of a Debian source package.
|
||||
> More information: <https://manned.org/debchange.1>.
|
||||
> More information: <https://manned.org/debchange>.
|
||||
|
||||
- Add a new version for a non-maintainer upload to the changelog:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# debman
|
||||
|
||||
> Read man pages from uninstalled packages.
|
||||
> More information: <https://manned.org/debman.1>.
|
||||
> More information: <https://manned.org/debman>.
|
||||
|
||||
- Read a man page for a command that is provided by a specified [p]ackage:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# debuild
|
||||
|
||||
> Build a Debian package from source.
|
||||
> More information: <https://manned.org/debuild.1>.
|
||||
> More information: <https://manned.org/debuild>.
|
||||
|
||||
- Build the package in the current directory:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dget
|
||||
|
||||
> Download Debian packages.
|
||||
> More information: <https://manned.org/dget.1>.
|
||||
> More information: <https://manned.org/dget>.
|
||||
|
||||
- Download a binary package:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# do-release-upgrade
|
||||
|
||||
> The Ubuntu release upgrader.
|
||||
> More information: <https://manned.org/do-release-upgrade.8>.
|
||||
> More information: <https://manned.org/do-release-upgrade>.
|
||||
|
||||
- Upgrade to the latest release:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dpkg-query
|
||||
|
||||
> Display information about installed packages.
|
||||
> More information: <https://manned.org/dpkg-query.1>.
|
||||
> More information: <https://manned.org/dpkg-query>.
|
||||
|
||||
- List all installed packages:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dpkg-reconfigure
|
||||
|
||||
> Reconfigure an already installed package.
|
||||
> More information: <https://manned.org/dpkg-reconfigure.8>.
|
||||
> More information: <https://manned.org/dpkg-reconfigure>.
|
||||
|
||||
- Reconfigure one or more packages:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dropbearconvert
|
||||
|
||||
> Convert between Dropbear and OpenSSH private key formats.
|
||||
> More information: <https://manned.org/dropbearconvert.1>.
|
||||
> More information: <https://manned.org/dropbearconvert>.
|
||||
|
||||
- Convert an OpenSSH private key to the Dropbear format:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# fakeroot
|
||||
|
||||
> Run a command in an environment faking root privileges for file manipulation.
|
||||
> More information: <https://manned.org/fakeroot.1>.
|
||||
> More information: <https://manned.org/fakeroot>.
|
||||
|
||||
- Start the default shell as fakeroot:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Lexical analyzer generator.
|
||||
> Given the specification for a lexical analyzer, generates C code implementing it.
|
||||
> More information: <https://manned.org/lex.1>.
|
||||
> More information: <https://manned.org/flex>.
|
||||
|
||||
- Generate an analyzer from a Lex file, storing it to the file `lex.yy.c`:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# genisoimage
|
||||
|
||||
> Pre-mastering program to generate ISO9660/Joliet/HFS hybrid filesystems.
|
||||
> More information: <https://manned.org/genisoimage.1>.
|
||||
> More information: <https://manned.org/genisoimage>.
|
||||
|
||||
- Create an ISO image from the given source directory:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Move files to the trash bin.
|
||||
> Used by GNOME to handle trash.
|
||||
> More information: <https://manned.org/gio.1>.
|
||||
> More information: <https://manned.org/gio>.
|
||||
|
||||
- Move specific files to the trash bin:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Set up a device to use GRUB with a BIOS configuration.
|
||||
> You should use `grub-install` instead of `grub-bios-setup` in most cases.
|
||||
> More information: <https://manned.org/grub-bios-setup.8>.
|
||||
> More information: <https://manned.org/grub-bios-setup>.
|
||||
|
||||
- Set up a device to boot with GRUB:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Compress executable files while keeping them executable.
|
||||
> Back up the original file, appending `~` to its name and create a shell script that uncompresses and executes the binary inside it.
|
||||
> More information: <https://manned.org/gzexe.1>.
|
||||
> More information: <https://manned.org/gzexe>.
|
||||
|
||||
- Compress an executable file in-place:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# halt
|
||||
|
||||
> Halt the system.
|
||||
> More information: <https://manned.org/halt.8>.
|
||||
> More information: <https://manned.org/halt>.
|
||||
|
||||
- Halt the system:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ico
|
||||
|
||||
> Display an animation of a polyhedron.
|
||||
> More information: <https://manned.org/ico.1>.
|
||||
> More information: <https://manned.org/ico>.
|
||||
|
||||
- Display the wireframe of an icosahedron that changes its position every 0.1 seconds:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# id3v2
|
||||
|
||||
> Manage id3v2 tags, converts and lists id3v1.
|
||||
> More information: <https://manned.org/id3v2.1>.
|
||||
> More information: <https://manned.org/id3v2>.
|
||||
|
||||
- List all genres:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ifup
|
||||
|
||||
> Enable network interfaces.
|
||||
> More information: <https://manned.org/ifup.8>.
|
||||
> More information: <https://manned.org/ifup>.
|
||||
|
||||
- Enable interface eth0:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ip neighbour
|
||||
|
||||
> Neighbour/ARP tables management IP subcommand.
|
||||
> More information: <https://manned.org/ip-neighbour.8>.
|
||||
> More information: <https://manned.org/ip-neighbour>.
|
||||
|
||||
- Display the neighbour/ARP table entries:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# iwlist
|
||||
|
||||
> Get detailed information from a wireless interface.
|
||||
> More information: <https://manned.org/iwlist.8>.
|
||||
> More information: <https://manned.org/iwlist>.
|
||||
|
||||
- Display the list of access points and ad-hoc cells in range:
|
||||
|
||||
|
||||
@@ -8,10 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Write KConfig entries for KDE Plasma.
|
||||
> More information: <https://userbase.kde.org/KDE_System_Administration/Configuration_Files>.
|
||||
|
||||
- Display help:
|
||||
|
||||
`kwriteconfig5 --help`
|
||||
|
||||
- Set a global configuration key:
|
||||
|
||||
`kwriteconfig5 --group {{group_name}} --key {{key}} {{value}}`
|
||||
@@ -35,3 +31,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Configure KRunner to open with the Meta (Command/Windows) global hotkey:
|
||||
|
||||
`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} "{{org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch}}"`
|
||||
|
||||
- Display help:
|
||||
|
||||
`kwriteconfig5 --help`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lid
|
||||
|
||||
> Display a user's groups or a group's users.
|
||||
> More information: <https://manned.org/lid.8>.
|
||||
> More information: <https://manned.org/lid>.
|
||||
|
||||
- List primary and secondary groups of a specific user:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Increase the size of a logical volume.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://manned.org/lvextend.8>.
|
||||
> More information: <https://manned.org/lvextend>.
|
||||
|
||||
- Increase a volume's size to 120 GB:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lz
|
||||
|
||||
> List all files inside a '.tar.gz' compressed archive.
|
||||
> More information: <https://manned.org/lz.1>.
|
||||
> More information: <https://manned.org/lz>.
|
||||
|
||||
- List all files inside a compressed archive:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Create a package which can be used with `pacman`.
|
||||
> Uses the `PKGBUILD` file in the current working directory by default.
|
||||
> More information: <https://manned.org/makepkg.8>.
|
||||
> More information: <https://manned.org/makepkg>.
|
||||
|
||||
- Make a package:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# mkinitcpio
|
||||
|
||||
> Generate initial ramdisk environments for booting the Linux kernel based on the specified preset(s).
|
||||
> More information: <https://manned.org/mkinitcpio.8>.
|
||||
> More information: <https://manned.org/mkinitcpio>.
|
||||
|
||||
- Perform a dry run (print what would be done without actually doing it):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# nologin
|
||||
|
||||
> Alternative shell that prevents a user from logging in.
|
||||
> More information: <https://manned.org/nologin.5>.
|
||||
> More information: <https://manned.org/nologin.8>.
|
||||
|
||||
- Set a user's login shell to `nologin` to prevent the user from logging in:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ntpq
|
||||
|
||||
> Query the Network Time Protocol (NTP) daemon.
|
||||
> More information: <https://manned.org/ntpq.1>.
|
||||
> More information: <https://manned.org/ntpq>.
|
||||
|
||||
- Start `ntpq` in interactive mode:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pactree
|
||||
|
||||
> Package dependency tree viewer for pacman.
|
||||
> More information: <https://manned.org/pactree.8>.
|
||||
> More information: <https://manned.org/pactree>.
|
||||
|
||||
- Print the dependency tree of a specific package:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pkgctl
|
||||
|
||||
> Unified command-line frontend for Arch Linux devtools.
|
||||
> More information: <https://manned.org/pkgctl.1>.
|
||||
> More information: <https://manned.org/pkgctl>.
|
||||
|
||||
- View documentation for authenticating `pkgctl` with services like GitLab:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pkgctl auth
|
||||
|
||||
> Authenticate `pkgctl` with services like GitLab.
|
||||
> More information: <https://manned.org/pkgctl-auth.1>.
|
||||
> More information: <https://manned.org/pkgctl-auth>.
|
||||
|
||||
- Authenticate `pkgctl` with the GitLab instance:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pkgctl build
|
||||
|
||||
> Build packages inside a clean `chroot`.
|
||||
> More information: <https://manned.org/pkgctl-build.1>.
|
||||
> More information: <https://manned.org/pkgctl-build>.
|
||||
|
||||
- Automatically choose the right build script to build packages in a clean `chroot`:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pkgctl db update
|
||||
|
||||
> Update the `pacman` database as final release step for packages that have been transferred and staged on <https://repos.archlinux.org>.
|
||||
> More information: <https://manned.org/pkgctl-db-update.1>.
|
||||
> More information: <https://manned.org/pkgctl-db-update>.
|
||||
|
||||
- Update the binary repository as final release step:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pkgctl release
|
||||
|
||||
> Release step to commit, tag and upload build artifacts.
|
||||
> More information: <https://manned.org/pkgctl-release.1>.
|
||||
> More information: <https://manned.org/pkgctl-release>.
|
||||
|
||||
- Release a build artifact:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Git packaging repositories and their configuration for Arch Linux.
|
||||
> See also: `pkgctl`.
|
||||
> More information: <https://manned.org/pkgctl-repo.1>.
|
||||
> More information: <https://manned.org/pkgctl-repo>.
|
||||
|
||||
- Clone a package repository (requires setting an SSH key in your Arch Linux GitLab account):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pro
|
||||
|
||||
> Manage Ubuntu Pro services.
|
||||
> More information: <https://manned.org/ubuntu-advantage.1>.
|
||||
> More information: <https://manned.org/ubuntu-advantage>.
|
||||
|
||||
- Connect your system to the Ubuntu Pro support contract:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# readelf
|
||||
|
||||
> Display information about ELF files.
|
||||
> More information: <https://manned.org/readelf.1>.
|
||||
> More information: <https://manned.org/readelf>.
|
||||
|
||||
- Display all information about the ELF file:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Change the reported architecture for a program's execution, primarily used to modify how programs behave based on system architecture.
|
||||
> Useful for compatibility testing or running legacy applications.
|
||||
> More information: <https://manned.org/setarch.8>.
|
||||
> More information: <https://manned.org/setarch>.
|
||||
|
||||
- Run a command as if the machine architecture is `i686` (useful for running 32-bit apps on a 64-bit kernel):
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# snake4
|
||||
|
||||
> Snake game in the terminal.
|
||||
> More information: <https://manned.org/snake4.6>.
|
||||
> More information: <https://manned.org/snake4>.
|
||||
|
||||
- Start a snake game:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# ss
|
||||
|
||||
> Utility to investigate sockets.
|
||||
> More information: <https://manned.org/ss.8>.
|
||||
> More information: <https://manned.org/ss>.
|
||||
|
||||
- Show all TCP/UDP/RAW/UNIX sockets:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Use a different filesystem as the root of the mount tree.
|
||||
> Note: `switch_root` will fail to function if the new root is not the root of a mount. Use bind-mounting as a workaround.
|
||||
> See also: `chroot`, `mount`.
|
||||
> More information: <https://manned.org/switch_root.8>.
|
||||
> More information: <https://manned.org/switch_root>.
|
||||
|
||||
- Move `/proc`, `/dev`, `/sys` and `/run` to the specified filesystem, use this filesystem as the new root and start the specified init process:
|
||||
|
||||
|
||||
26
tldr/linux/systemctl-isolate
Normal file
26
tldr/linux/systemctl-isolate
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl isolate
|
||||
|
||||
> Start the specified unit with its dependencies and stop all others.
|
||||
> Ignores the units which have `IgnoreOnIsolate=yes`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#isolate%20UNIT>.
|
||||
|
||||
- Switch to a target (assumed `.target` if no extension provided):
|
||||
|
||||
`systemctl isolate {{target}}`
|
||||
|
||||
- Switch to graphical target explicitly:
|
||||
|
||||
`systemctl isolate graphical.target`
|
||||
|
||||
- Switch to rescue (single-user) mode:
|
||||
|
||||
`systemctl isolate rescue.target`
|
||||
|
||||
- Switch to emergency mode:
|
||||
|
||||
`systemctl isolate emergency.target`
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# tailf
|
||||
|
||||
> This command has been superseded by `tail -f`.
|
||||
> More information: <https://manned.org/tailf.1>.
|
||||
> More information: <https://manned.org/tailf>.
|
||||
|
||||
- View documentation for the recommended replacement:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Packet sniffing and network traffic analysis tool.
|
||||
> It can capture and display TCP connections and data. It can also monitor network traffic on a interface, host, or port.
|
||||
> More information: <https://manned.org/tcpick.8>.
|
||||
> More information: <https://manned.org/tcpick>.
|
||||
|
||||
- Capture traffic on a specific interface, port and host::
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# tftp
|
||||
|
||||
> Trivial File Transfer Protocol client.
|
||||
> More information: <https://manned.org/tftp.1>.
|
||||
> More information: <https://manned.org/tftp>.
|
||||
|
||||
- Connect to a TFTP server specifying its IP address and port:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# toolbox create
|
||||
|
||||
> Create a new `toolbox` container.
|
||||
> More information: <https://manned.org/toolbox-create.1>.
|
||||
> More information: <https://manned.org/toolbox-create>.
|
||||
|
||||
- Create a `toolbox` container for a specific distribution:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Enter a `toolbox` container for interactive use.
|
||||
> See also: `toolbox run`.
|
||||
> More information: <https://manned.org/toolbox-enter.1>.
|
||||
> More information: <https://manned.org/toolbox-enter>.
|
||||
|
||||
- Enter a `toolbox` container using the default image of a specific distribution:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# toolbox help
|
||||
|
||||
> Display help information about `toolbox`.
|
||||
> More information: <https://manned.org/toolbox-help.1>.
|
||||
> More information: <https://manned.org/toolbox-help>.
|
||||
|
||||
- Display the `toolbox` manual:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Initialize a running `toolbox` container.
|
||||
> This command should not be executed by the user, and cannot be run on the host.
|
||||
> More information: <https://manned.org/toolbox-init-container.1>.
|
||||
> More information: <https://manned.org/toolbox-init-container>.
|
||||
|
||||
- Initialize a running toolbox:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# toolbox list
|
||||
|
||||
> List existing `toolbox` containers and images.
|
||||
> More information: <https://manned.org/toolbox-list.1>.
|
||||
> More information: <https://manned.org/toolbox-list>.
|
||||
|
||||
- List all `toolbox` containers and images:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Remove one or more `toolbox` containers.
|
||||
> See also: `toolbox rmi`.
|
||||
> More information: <https://manned.org/toolbox-rm.1>.
|
||||
> More information: <https://manned.org/toolbox-rm>.
|
||||
|
||||
- Remove a toolbox container:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Remove `toolbox` images.
|
||||
> See also: `toolbox rm`.
|
||||
> More information: <https://manned.org/toolbox-rmi.1>.
|
||||
> More information: <https://manned.org/toolbox-rmi>.
|
||||
|
||||
- Remove one or more `toolbox` image:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# turbostat
|
||||
|
||||
> Report processor topology, frequency, temperature, power, and idle statistics.
|
||||
> More information: <https://manned.org/turbostat.8>.
|
||||
> More information: <https://manned.org/turbostat>.
|
||||
|
||||
- Display statistics every 5 seconds:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# uncompress
|
||||
|
||||
> Uncompress files compressed using the Unix `compress` command.
|
||||
> More information: <https://manned.org/uncompress.1>.
|
||||
> More information: <https://manned.org/uncompress>.
|
||||
|
||||
- Uncompress specific files:
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user