Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-19 00:16:36 +00:00
parent ce2d49bb00
commit 428866811b
57 changed files with 57 additions and 57 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker container
> Manage Docker containers.
> More information: <https://docs.docker.com/engine/reference/commandline/container/>.
> More information: <https://docs.docker.com/reference/cli/docker/container/>.
- List currently running Docker containers:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker container rename
> This command is an alias of `docker rename`.
> More information: <https://docs.docker.com/engine/reference/commandline/rename>.
> More information: <https://docs.docker.com/reference/cli/docker/container/rename/>.
- View documentation for the original command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker container top
> This command is an alias of `docker top`.
> More information: <https://docs.docker.com/engine/reference/commandline/top>.
> More information: <https://docs.docker.com/reference/cli/docker/container/top/>.
- View documentation for the original command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker rename
> Rename a container.
> More information: <https://docs.docker.com/engine/reference/commandline/rename>.
> More information: <https://docs.docker.com/reference/cli/docker/container/rename/>.
- Rename a container:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker top
> Display the running processes of a container.
> More information: <https://docs.docker.com/engine/reference/commandline/top>.
> More information: <https://docs.docker.com/reference/cli/docker/container/top/>.
- Display the running processes of a container:

View File

@@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git
- Convert all `.doc` files in current directory to PDF:
`libreoffice --convert-to {{pdf}} {{*.doc}}`
`libreoffice --convert-to pdf *.doc`

View File

@@ -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://manpages.debian.org/latest/apache2/a2disconf.8.en.html>.
> More information: <https://manned.org/a2disconf.8>.
- Disable a configuration file:

View 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://manpages.debian.org/latest/apache2/a2dismod.8.en.html>.
> More information: <https://manned.org/a2dismod.8>.
- Disable a module:

View File

@@ -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://manpages.debian.org/latest/apache2/a2dissite.8.en.html>.
> More information: <https://manned.org/a2dissite.8>.
- Disable a virtual host:

View File

@@ -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://manpages.debian.org/latest/apache2/a2enconf.8.en.html>.
> More information: <https://manned.org/a2enconf.8>.
- Enable a configuration file:

View 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://manpages.debian.org/latest/apache2/a2enmod.8.en.html>.
> More information: <https://manned.org/a2enmod.8>.
- Enable a module:

View File

@@ -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://manpages.debian.org/latest/apache2/a2ensite.8.en.html>.
> More information: <https://manned.org/a2ensite.8>.
- Enable a virtual host:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# a2query
> Retrieve runtime configuration from Apache on Debian-based OSes.
> More information: <https://manpages.debian.org/latest/apache2/a2query.html>.
> More information: <https://manned.org/a2query>.
- List enabled Apache modules:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# adduser
> User addition utility.
> More information: <https://manpages.debian.org/latest/adduser/adduser.html>.
> More information: <https://manned.org/adduser>.
- Create a new user with a default home directory and prompt the user to set a password:

View File

@@ -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://manpages.debian.org/latest/apache2/apache2ctl.8.en.html>.
> More information: <https://manned.org/apache2ctl.8>.
- Start the Apache daemon. Throw a message if it is already running:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Package management utility for Debian based distributions.
> Recommended replacement for `apt-get` when used interactively in Ubuntu versions 16.04 and later.
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
> More information: <https://manpages.debian.org/latest/apt/apt.8.html>.
> 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):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apt-add-repository
> Manage `apt` repository definitions.
> More information: <https://manpages.debian.org/latest/software-properties-common/apt-add-repository.1.html>.
> More information: <https://manned.org/apt-add-repository.1>.
- Add a new `apt` repository:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apt-cache
> Debian and Ubuntu package query tool.
> More information: <https://manpages.debian.org/latest/apt/apt-cache.8.html>.
> More information: <https://manned.org/apt-cache.8>.
- Search for a package in your current sources:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apt-file
> Search for files in `apt` packages, including ones not yet installed.
> More information: <https://manpages.debian.org/latest/apt-file/apt-file.1.html>.
> More information: <https://manned.org/apt-file.1>.
- Update the metadata database:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Debian and Ubuntu package management utility.
> Search for packages using `apt-cache`.
> It is recommended to use `apt` when used interactively in Ubuntu versions 16.04 and later.
> More information: <https://manpages.debian.org/latest/apt/apt-get.8.html>.
> More information: <https://manned.org/apt-get.8>.
- Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):

View File

@@ -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://manpages.debian.org/latest/apt/apt-key.8.html>.
> More information: <https://manned.org/apt-key.8>.
- List trusted keys:

View File

@@ -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://manpages.debian.org/latest/apt/apt-mark.8.html>.
> More information: <https://manned.org/apt-mark.8>.
- Mark a package as automatically installed:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# apt moo
> An `APT` easter egg.
> More information: <https://manpages.debian.org/latest/apt/apt.8.html>.
> More information: <https://manned.org/apt.8>.
- Print a cow easter egg:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# aptitude
> Debian and Ubuntu package management utility.
> More information: <https://manpages.debian.org/latest/aptitude/aptitude.8.html>.
> More information: <https://manned.org/aptitude.8>.
- Synchronize list of packages and versions available. This should be run first, before running subsequent `aptitude` commands:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# arithmetic
> Quiz on simple arithmetic problems.
> More information: <https://manpages.debian.org/latest/bsdgames/arithmetic.6.en.html>.
> More information: <https://manned.org/arithmetic.6>.
- Start an arithmetic quiz:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# check-support-status
> Identify installed Debian packages for which support has had to be limited or prematurely ended.
> More information: <https://manpages.debian.org/latest/debian-security-support/check-support-status.html>.
> More information: <https://manned.org/check-support-status>.
- Display packages whose support is limited, has already ended or will end earlier than the distribution's end of life:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# debchange
> Mantain the debian/changelog file of a Debian source package.
> More information: <https://manpages.debian.org/latest/devscripts/debchange.1.en.html>.
> More information: <https://manned.org/debchange.1>.
- Add a new version for a non-maintainer upload to the changelog:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# debman
> Read man pages from uninstalled packages.
> More information: <https://manpages.debian.org/latest/debian-goodies/debman.1.html>.
> More information: <https://manned.org/debman.1>.
- Read a man page for a command that is provided by a specified package:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# deborphan
> Display orphan packages on operating systems using the APT package manager.
> More information: <https://manpages.debian.org/latest/deborphan/deborphan.html>.
> More information: <https://manned.org/deborphan>.
- Display library packages (from the "libs" section of the package repository) which are not required by another package:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# debuild
> Build a Debian package from source.
> More information: <https://manpages.debian.org/latest/devscripts/debuild.1.en.html>.
> More information: <https://manned.org/debuild.1>.
- Build the package in the current directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# deluser
> Delete a user from the system.
> More information: <https://manpages.debian.org/latest/adduser/deluser.html>.
> More information: <https://manned.org/deluser>.
- Remove a user:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dget
> Download Debian packages.
> More information: <https://manpages.debian.org/latest/devscripts/dget.1.en.html>.
> More information: <https://manned.org/dget.1>.
- Download a binary package:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dphys-swapfile
> Manage the swap file on Debian-based Linux systems.
> More information: <https://manpages.debian.org/latest/dphys-swapfile/dphys-swapfile.html>.
> More information: <https://manned.org/dphys-swapfile>.
- Disable the swap file:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Debian package manager.
> Some subcommands such as `dpkg deb` have their own usage documentation.
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
> More information: <https://manpages.debian.org/latest/dpkg/dpkg.html>.
> More information: <https://manned.org/dpkg>.
- Install a package:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dpkg-deb
> Pack, unpack and provide information about Debian archives.
> More information: <https://manpages.debian.org/latest/dpkg/dpkg-deb.html>.
> More information: <https://manned.org/dpkg-deb>.
- Display information about a package:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dpkg-query
> Display information about installed packages.
> More information: <https://manpages.debian.org/latest/dpkg/dpkg-query.1.html>.
> More information: <https://manned.org/dpkg-query.1>.
- List all installed packages:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dpkg-reconfigure
> Reconfigure an already installed package.
> More information: <https://manpages.debian.org/latest/debconf/dpkg-reconfigure.8.html>.
> More information: <https://manned.org/dpkg-reconfigure.8>.
- Reconfigure one or more packages:

View File

@@ -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://manpages.debian.org/latest/fakeroot/fakeroot.1.html>.
> More information: <https://manned.org/fakeroot.1>.
- Start the default shell as fakeroot:

View File

@@ -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://manpages.debian.org/latest/genisoimage/genisoimage.1.en.html>.
> More information: <https://manned.org/genisoimage.1>.
- Create an ISO image from the given source directory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Get the current mode of SELinux (i.e. enforcing, permissive, or disabled).
> See also: `setenforce`, `semanage-permissive`.
> More information: <https://manned.org/man/getenforce>.
> More information: <https://manned.org/getenforce>.
- Display the current mode of SELinux:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Get SELinux boolean value.
> See also: `semanage-boolean`, `setsebool`.
> More information: <https://manned.org/man/getsebool>.
> More information: <https://manned.org/getsebool>.
- Show the current setting of a boolean:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# grubby
> Tool for configuring `grub` and `zipl` bootloaders.
> More information: <https://manned.org/man/grubby.8>.
> More information: <https://manned.org/grubby.8>.
- Add kernel boot arguments to all kernel menu entries:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ifup
> Enable network interfaces.
> More information: <https://manpages.debian.org/latest/ifupdown/ifup.8.html>.
> More information: <https://manned.org/ifup.8>.
- Enable interface eth0:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Lookup the persistent SELinux security context setting of a path.
> See also: `semanage-fcontext`, `secon`, `chcon`, `restorecon`.
> More information: <https://manned.org/man/matchpathcon.8>.
> More information: <https://manned.org/matchpathcon.8>.
- Lookup the persistent security context setting of an absolute path:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# netselect-apt
> Create a `sources.list` file for a Debian mirror with the lowest latency.
> More information: <https://manpages.debian.org/latest/netselect-apt/netselect-apt.html>.
> More information: <https://manned.org/netselect-apt>.
- Create `sources.list` using the lowest latency server:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# reportbug
> Bug report tool of Debian distribution.
> More information: <https://manpages.debian.org/latest/reportbug/reportbug.html>.
> More information: <https://manned.org/reportbug>.
- Generate a bug report about a specific package, then send it by e-mail:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rpmbuild
> RPM Package Build tool.
> More information: <https://manned.org/man/rpmbuild>.
> More information: <https://manned.org/rpmbuild>.
- Build binary and source packages:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Get the SELinux security context of a file, pid, current execution context, or a context specification.
> See also: `semanage`, `runcon`, `chcon`.
> More information: <https://manned.org/man/secon>.
> More information: <https://manned.org/secon>.
- Get the security context of the current execution context:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Manage persistent SELinux boolean settings.
> See also: `semanage` for managing SELinux policies, `getsebool` for checking boolean values, and `setsebool` for applying non-persistent boolean settings.
> More information: <https://manned.org/man/semanage-boolean>.
> More information: <https://manned.org/semanage-boolean>.
- List all booleans settings:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Manage persistent SELinux permissive domains.
> Note that this effectively makes the process unconfined. For long-term use, it is recommended to configure SELiunx properly.
> See also: `semanage`, `getenforce`, `setenforce`.
> More information: <https://manned.org/man/semanage-permissive>.
> More information: <https://manned.org/semanage-permissive>.
- List all process types (a.k.a domains) that are in permissive mode:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Manage persistent SELinux port definitions.
> See also: `semanage`.
> More information: <https://manned.org/man/semanage-port>.
> More information: <https://manned.org/semanage-port>.
- List all port labeling rules:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Toggle SELinux between enforcing and permissive modes.
> To enable or disable SELinux, edit `/etc/selinux/config` instead.
> See also: `getenforce`, `semanage-permissive`.
> More information: <https://manned.org/man/setenforce>.
> More information: <https://manned.org/setenforce>.
- Put SELinux in enforcing mode:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Set SELinux boolean value.
> See also: `semanage-boolean`, `getsebool`.
> More information: <https://manned.org/man/setsebool>.
> More information: <https://manned.org/setsebool>.
- Show the current setting of [a]ll booleans:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# snake4
> Snake game in the terminal.
> More information: <https://manpages.debian.org/latest/snake4/snake4.6.en.html>.
> More information: <https://manned.org/snake4.6>.
- Start a snake game:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Flip the current (non-persistent) values of SELinux booleans.
> Note: This tool has been deprecated and often removed in favor of `setsebool`.
> More information: <https://manned.org/man/togglesebool>.
> More information: <https://manned.org/togglesebool>.
- Flip the current (non-persistent) values of the specified booleans:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Route network traffic through the Tor network.
> Note: This command has been deprecated, and is now a backwards-compatible wrapper of `torsocks`.
> More information: <https://manned.org/man/torify>.
> More information: <https://manned.org/torify>.
- Route traffic via Tor:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# wtf
> Show the expansions of acronyms.
> More information: <https://manpages.debian.org/latest/bsdgames/wtf.6.en.html>.
> More information: <https://manned.org/wtf.6>.
- Expand a given acronym: