1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-05 13:55:49 +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:
Managor 2025-06-29 11:32:13 +03:00 committed by GitHub
parent e46dad5b68
commit 77e10496de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 22 additions and 22 deletions

View file

@ -1,7 +1,7 @@
# daemon # daemon
> Run processes into daemons. > Turns other processes into daemons.
> More information: <https://manned.org/daemon>. > More information: <https://manned.org/daemon.1>.
- Run a command as a daemon: - Run a command as a daemon:
@ -9,11 +9,11 @@
- Run a command as a daemon which will restart if the command crashes: - 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: - 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: - Run a command as a daemon, writing logs to a specific file:

View file

@ -1,7 +1,7 @@
# dbus-daemon # dbus-daemon
> The D-Bus message daemon, allowing multiple programs to exchange messages. > 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: - Run the daemon with a configuration file:

View file

@ -1,15 +1,15 @@
# debchange # 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>. > More information: <https://manned.org/debchange.1>.
- Add a new version for a non-maintainer upload to the changelog: - 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: - Add a changelog entry to the current version:
`debchange --append` `debchange {{[-a|--append]}}`
- Add a changelog entry to close the bug with specified ID: - Add a changelog entry to close the bug with specified ID:

View file

@ -3,14 +3,14 @@
> Read man pages from uninstalled packages. > Read man pages from uninstalled packages.
> More information: <https://manned.org/debman.1>. > 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}}` `debman -p {{package}} {{command}}`
- Specify a package version to download: - Specify a [p]ackage version to download:
`debman -p {{package}}={{version}} {{command}}` `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}}` `debman -f {{path/to/filename.deb}} {{command}}`

View file

@ -13,4 +13,4 @@
- Find packages which are only recommended or suggested (but not required) by another package: - Find packages which are only recommended or suggested (but not required) by another package:
`deborphan --nice-mode` `deborphan {{[-n|--nice-mode]}}`

View file

@ -6,7 +6,7 @@
- Update debtap database (before the first run): - Update debtap database (before the first run):
`sudo debtap --update` `sudo debtap {{[-u|--update]}}`
- Convert the specified package: - Convert the specified package:
@ -14,8 +14,8 @@
- Convert the specified package bypassing all questions, except for editing metadata files: - 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: - Generate a PKGBUILD file:
`debtap --pkgbuild {{path/to/package.deb}}` `debtap {{[-p|--pkgbuild]}} {{path/to/package.deb}}`

View file

@ -13,11 +13,11 @@
- Enable a specific repository: - Enable a specific repository:
`dnf config-manager --set-enabled {{repository_id}}` `dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}`
- Disable specified repositories: - 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: - Set a configuration option for a repository:

View file

@ -9,8 +9,8 @@
- Upgrade to the latest development release: - 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: - Upgrade to the latest proposed release:
`sudo do-release-upgrade --proposed` `sudo do-release-upgrade {{[-p|--proposed]}}`

View file

@ -30,4 +30,4 @@
- Display help: - Display help:
`dolphin --help` `dolphin {{[-h|--help]}}`

View file

@ -2,7 +2,7 @@
> Generate initramfs images to boot the Linux kernel. > 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. > 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: - 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: - 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: - Generate an initramfs image for a specific kernel: