mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-05 19:35:40 +02:00
linux/d*: add option placeholders, mnemonics and refresh more info links (#16996)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
e46dad5b68
commit
77e10496de
10 changed files with 22 additions and 22 deletions
|
@ -1,7 +1,7 @@
|
|||
# daemon
|
||||
|
||||
> Run processes into daemons.
|
||||
> More information: <https://manned.org/daemon>.
|
||||
> Turns other processes into daemons.
|
||||
> More information: <https://manned.org/daemon.1>.
|
||||
|
||||
- Run a command as a daemon:
|
||||
|
||||
|
@ -9,11 +9,11 @@
|
|||
|
||||
- Run a command as a daemon which will restart if the command crashes:
|
||||
|
||||
`daemon --name="{{name}}" --respawn {{command}}`
|
||||
`daemon --name="{{name}}" {{[-r|--respawn]}} {{command}}`
|
||||
|
||||
- Run a command as a daemon which will restart if it crashes, with two attempts every 10 seconds:
|
||||
|
||||
`daemon --name="{{name}}" --respawn --attempts=2 --delay=10 {{command}}`
|
||||
`daemon --name="{{name}}" {{[-r|--respawn]}} --attempts=2 --delay=10 {{command}}`
|
||||
|
||||
- Run a command as a daemon, writing logs to a specific file:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# dbus-daemon
|
||||
|
||||
> The D-Bus message daemon, allowing multiple programs to exchange messages.
|
||||
> More information: <https://www.freedesktop.org/wiki/Software/dbus/>.
|
||||
> More information: <https://dbus.freedesktop.org/doc/dbus-daemon.1.html>.
|
||||
|
||||
- Run the daemon with a configuration file:
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
# debchange
|
||||
|
||||
> Mantain the debian/changelog file of a Debian source package.
|
||||
> Maintain the debian/changelog file of a Debian source package.
|
||||
> More information: <https://manned.org/debchange.1>.
|
||||
|
||||
- Add a new version for a non-maintainer upload to the changelog:
|
||||
|
||||
`debchange --nmu`
|
||||
`debchange {{[-n|--nmu]}}`
|
||||
|
||||
- Add a changelog entry to the current version:
|
||||
|
||||
`debchange --append`
|
||||
`debchange {{[-a|--append]}}`
|
||||
|
||||
- Add a changelog entry to close the bug with specified ID:
|
||||
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
> Read man pages from uninstalled packages.
|
||||
> More information: <https://manned.org/debman.1>.
|
||||
|
||||
- Read a man page for a command that is provided by a specified package:
|
||||
- Read a man page for a command that is provided by a specified [p]ackage:
|
||||
|
||||
`debman -p {{package}} {{command}}`
|
||||
|
||||
- Specify a package version to download:
|
||||
- Specify a [p]ackage version to download:
|
||||
|
||||
`debman -p {{package}}={{version}} {{command}}`
|
||||
|
||||
- Read a man page in a `.deb` file:
|
||||
- Read a man page in a `.deb` [f]ile:
|
||||
|
||||
`debman -f {{path/to/filename.deb}} {{command}}`
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
- Find packages which are only recommended or suggested (but not required) by another package:
|
||||
|
||||
`deborphan --nice-mode`
|
||||
`deborphan {{[-n|--nice-mode]}}`
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
- Update debtap database (before the first run):
|
||||
|
||||
`sudo debtap --update`
|
||||
`sudo debtap {{[-u|--update]}}`
|
||||
|
||||
- Convert the specified package:
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
|||
|
||||
- Convert the specified package bypassing all questions, except for editing metadata files:
|
||||
|
||||
`debtap --quiet {{path/to/package.deb}}`
|
||||
`debtap {{[-q|--quiet]}} {{path/to/package.deb}}`
|
||||
|
||||
- Generate a PKGBUILD file:
|
||||
|
||||
`debtap --pkgbuild {{path/to/package.deb}}`
|
||||
`debtap {{[-p|--pkgbuild]}} {{path/to/package.deb}}`
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
- Enable a specific repository:
|
||||
|
||||
`dnf config-manager --set-enabled {{repository_id}}`
|
||||
`dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}`
|
||||
|
||||
- Disable specified repositories:
|
||||
|
||||
`dnf config-manager --set-disabled {{repository_id1 repository_id2 ...}}`
|
||||
`dnf config-manager {{[--disable|--set-disabled]}} {{repository_id1 repository_id2 ...}}`
|
||||
|
||||
- Set a configuration option for a repository:
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
- Upgrade to the latest development release:
|
||||
|
||||
`sudo do-release-upgrade --devel-release`
|
||||
`sudo do-release-upgrade {{[-d|--devel-release]}}`
|
||||
|
||||
- Upgrade to the latest proposed release:
|
||||
|
||||
`sudo do-release-upgrade --proposed`
|
||||
`sudo do-release-upgrade {{[-p|--proposed]}}`
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
|
||||
- Display help:
|
||||
|
||||
`dolphin --help`
|
||||
`dolphin {{[-h|--help]}}`
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Generate initramfs images to boot the Linux kernel.
|
||||
> Dracut uses options from configuration files in `/etc/dracut.conf`, `/etc/dracut.conf.d/*.conf` and `/usr/lib/dracut/dracut.conf.d/*.conf` by default.
|
||||
> More information: <https://github.com/dracutdevs/dracut/wiki>.
|
||||
> More information: <https://github.com/dracut-ng/dracut-ng/blob/main/man/dracut.8.adoc>.
|
||||
|
||||
- Generate an initramfs image for the current kernel without overriding any options:
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
|||
|
||||
- Generate an initramfs image for the current kernel and overwrite the existing one:
|
||||
|
||||
`dracut --force`
|
||||
`dracut {{[-f|--force]}}`
|
||||
|
||||
- Generate an initramfs image for a specific kernel:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue