mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-06 20:15:43 +02:00
linux/a*: add option placeholders (#16945)
This commit is contained in:
parent
0cb4658d4b
commit
cd59f61693
15 changed files with 24 additions and 37 deletions
|
@ -9,4 +9,4 @@
|
||||||
|
|
||||||
- Don't show informative messages:
|
- Don't show informative messages:
|
||||||
|
|
||||||
`sudo a2disconf --quiet {{configuration_file}}`
|
`sudo a2disconf {{[-q|--quiet]}} {{configuration_file}}`
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
|
|
||||||
- Don't show informative messages:
|
- Don't show informative messages:
|
||||||
|
|
||||||
`sudo a2dismod --quiet {{module}}`
|
`sudo a2dismod {{[-q|--quiet]}} {{module}}`
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
|
|
||||||
- Don't show informative messages:
|
- Don't show informative messages:
|
||||||
|
|
||||||
`sudo a2dissite --quiet {{virtual_host}}`
|
`sudo a2dissite {{[-q|--quiet]}} {{virtual_host}}`
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
|
|
||||||
- Don't show informative messages:
|
- Don't show informative messages:
|
||||||
|
|
||||||
`sudo a2enconf --quiet {{configuration_file}}`
|
`sudo a2enconf {{[-q|--quiet]}} {{configuration_file}}`
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
|
|
||||||
- Don't show informative messages:
|
- Don't show informative messages:
|
||||||
|
|
||||||
`sudo a2enmod --quiet {{module}}`
|
`sudo a2enmod {{[-q|--quiet]}} {{module}}`
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
|
|
||||||
- Don't show informative messages:
|
- Don't show informative messages:
|
||||||
|
|
||||||
`sudo a2ensite --quiet {{virtual_host}}`
|
`sudo a2ensite {{[-q|--quiet]}} {{virtual_host}}`
|
||||||
|
|
|
@ -10,4 +10,4 @@
|
||||||
|
|
||||||
- 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}}`
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
- Enable profile:
|
- Enable profile:
|
||||||
|
|
||||||
`sudo aa-enforce --dir {{path/to/profile}}`
|
`sudo aa-enforce {{[-d|--dir]}} {{path/to/profile}}`
|
||||||
|
|
||||||
- Enable profiles:
|
- Enable profiles:
|
||||||
|
|
||||||
|
|
|
@ -34,4 +34,4 @@
|
||||||
|
|
||||||
- Display help:
|
- Display help:
|
||||||
|
|
||||||
`abroot --help`
|
`abroot {{[-h|--help]}}`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# 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:
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
- 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:
|
||||||
|
|
||||||
|
@ -17,4 +17,4 @@
|
||||||
|
|
||||||
- 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}}`
|
||||||
|
|
|
@ -6,16 +6,16 @@
|
||||||
|
|
||||||
- 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}}`
|
||||||
|
|
|
@ -14,4 +14,4 @@
|
||||||
|
|
||||||
- Quit alpine:
|
- Quit alpine:
|
||||||
|
|
||||||
`q + y`
|
`<q><y>`
|
||||||
|
|
|
@ -1,20 +1,7 @@
|
||||||
# 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}}`
|
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
|
|
||||||
- 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 ...}}`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# 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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue