mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-04 21:35:25 +02:00
linux/g*: add option placeholders and mnemonics (#16999)
This commit is contained in:
parent
f566585c96
commit
cd60bb2ba6
6 changed files with 19 additions and 19 deletions
|
@ -1,7 +1,7 @@
|
|||
# gdebi
|
||||
|
||||
> Easily install `.deb` files.
|
||||
> More information: <https://www.commandlinux.com/man-page/man1/gdebi.1.html>.
|
||||
> More information: <https://manned.org/gdebi>.
|
||||
|
||||
- Install local `.deb` packages resolving and installing its dependencies:
|
||||
|
||||
|
@ -9,15 +9,15 @@
|
|||
|
||||
- Do not show progress information:
|
||||
|
||||
`gdebi {{path/to/package.deb}} --quiet`
|
||||
`gdebi {{path/to/package.deb}} {{[-q|--quiet]}}`
|
||||
|
||||
- Set an APT configuration option:
|
||||
|
||||
`gdebi {{path/to/package.deb}} --option={{APT_OPTS}}`
|
||||
`gdebi {{path/to/package.deb}} {{[-o|--option]}} {{APT_OPTS}}`
|
||||
|
||||
- Use alternative root dir:
|
||||
|
||||
`gdebi {{path/to/package.deb}} --root={{path/to/root_dir}}`
|
||||
`gdebi {{path/to/package.deb}} --root {{path/to/root_dir}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
|
|
|
@ -9,27 +9,27 @@
|
|||
|
||||
- Take a screenshot and save it to the named file location:
|
||||
|
||||
`gnome-screenshot --file {{path/to/file}}`
|
||||
`gnome-screenshot {{[-f|--file]}} {{path/to/file}}`
|
||||
|
||||
- Take a screenshot and save it to the clipboard:
|
||||
|
||||
`gnome-screenshot --clipboard`
|
||||
`gnome-screenshot {{[-c|--clipboard]}}`
|
||||
|
||||
- Take a screenshot after the specified number of seconds:
|
||||
|
||||
`gnome-screenshot --delay {{5}}`
|
||||
`gnome-screenshot {{[-d|--delay]}} {{5}}`
|
||||
|
||||
- Launch the GNOME Screenshot GUI:
|
||||
|
||||
`gnome-screenshot --interactive`
|
||||
`gnome-screenshot {{[-i|--interactive]}}`
|
||||
|
||||
- Take a screenshot of the current window and save it to the specified file location:
|
||||
|
||||
`gnome-screenshot --window --file {{path/to/file}}`
|
||||
`gnome-screenshot {{[-w|--window]}} {{[-f|--file]}} {{path/to/file}}`
|
||||
|
||||
- Take a screenshot after the specified number of seconds and save it to the clipboard:
|
||||
|
||||
`gnome-screenshot --delay {{10}} --clipboard`
|
||||
`gnome-screenshot {{[-d|--delay]}} {{10}} {{[-c|--clipboard]}}`
|
||||
|
||||
- Display the version:
|
||||
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
|
||||
- Show what modifications would be made when growing partition `n` in a disk image:
|
||||
|
||||
`growpart --dry-run {{/path/to/disk.img}} {{n}}`
|
||||
`growpart {{[-N|--dry-run]}} {{/path/to/disk.img}} {{n}}`
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
- Install even if problems are detected:
|
||||
|
||||
`grub-bios-setup --force {{/dev/sdX}}`
|
||||
`grub-bios-setup {{[-f|--force]}} {{/dev/sdX}}`
|
||||
|
||||
- Install GRUB in a specific directory:
|
||||
|
||||
`grub-bios-setup --directory={{/boot/grub}} {{/dev/sdX}}`
|
||||
`grub-bios-setup {{[-d|--directory]}} {{/boot/grub}} {{/dev/sdX}}`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Set the screen temperature to 3000K:
|
||||
|
||||
`gummy --temperature {{3000}}`
|
||||
`gummy {{[-t|--temperature]}} {{3000}}`
|
||||
|
||||
- Set the screen backlight to 50%:
|
||||
|
||||
|
@ -13,16 +13,16 @@
|
|||
|
||||
- Set the screen pixel brightness to 45%:
|
||||
|
||||
`gummy --brightness {{45}}`
|
||||
`gummy {{[-b|--brightness]}} {{45}}`
|
||||
|
||||
- Increase current screen pixel brightness by 10%:
|
||||
|
||||
`gummy --brightness {{+10}}`
|
||||
`gummy {{[-b|--brightness]}} {{+10}}`
|
||||
|
||||
- Decrease current screen pixel brightness by 10%:
|
||||
|
||||
`gummy --brightness {{-10}}`
|
||||
`gummy {{[-b|--brightness]}} {{-10}}`
|
||||
|
||||
- Set the temperature and pixel brightness for the second screen:
|
||||
|
||||
`gummy --screen {{1}} --temperature {{3800}} --brightness {{65}}`
|
||||
`gummy {{[-s|--screen]}} {{1}} {{[-t|--temperature]}} {{3800}} {{[-b|--brightness]}} {{65}}`
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
|
||||
`gzexe {{path/to/executable}}`
|
||||
|
||||
- Decompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary):
|
||||
- [d]ecompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary):
|
||||
|
||||
`gzexe -d {{path/to/compressed_executable}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue