1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 22:15:42 +02:00

linux/e*: add option placeholders and mnemonics (#16997)

This commit is contained in:
Managor 2025-06-28 12:47:25 +03:00 committed by GitHub
parent 0723c19147
commit f003afc89f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 17 additions and 17 deletions

View file

@ -7,6 +7,6 @@
`e2freefrag {{/dev/sdXN}}`
- Specify chunk size in kilobytes to print how many free chunks are available:
- Specify [c]hunk size in kilobytes to print how many free chunks are available:
`e2freefrag -c {{chunk_size_in_kb}} {{/dev/sdXN}}`

View file

@ -7,7 +7,7 @@
`sudo e2fsck {{/dev/sdXN}}`
- Check filesystem and automatically repair any damaged blocks:
- Check filesystem and automatically repair ([p]reen) any damaged blocks:
`sudo e2fsck -p {{/dev/sdXN}}`

View file

@ -19,6 +19,6 @@
`e2image -r {{/dev/sdXN}} {{path/to/image_file}}`
- Create a QCOW2 image file instead of a normal or raw image file:
- Create a [Q]COW2 image file instead of a normal or raw image file:
`e2image -Q {{/dev/sdXN}} {{path/to/image_file}}`

View file

@ -16,7 +16,7 @@
`e2undo {{path/to/undo_file}} {{/dev/sdXN}}`
- Perform an undo operation and display verbose information:
- Perform an undo operation and display [v]erbose information:
`e2undo -v {{path/to/undo_file}} {{/dev/sdXN}}`

View file

@ -13,8 +13,8 @@
- Clean the distfiles of all uninstalled packages, but keep the distfiles of installed packages:
`sudo eclean --deep --package-names distfiles`
`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} distfiles`
- Clean the binary packages of all uninstalled packages, but keep the binaries of installed packages:
`sudo eclean --deep --package-names packages`
`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} packages`

View file

@ -5,20 +5,20 @@
- List active global USE flags:
`euse --active --global`
`euse {{[-a|--active]}} {{[-g|--global]}}`
- List active local USE flags:
`euse --active --local`
`euse {{[-a|--active]}} {{[-l|--local]}}`
- Enable a global USE flag:
`sudo euse --enable {{use_flag}}`
`sudo euse {{[-E|--enable]}} {{use_flag}}`
- Disable a global USE flag (put a '-' sign in front of the USE flag):
`sudo euse --disable {{use_flag}}`
`sudo euse {{[-D|--disable]}} {{use_flag}}`
- Remove a global USE flag:
`sudo euse --prune {{use_flag}}`
`sudo euse {{[-P|--prune]}} {{use_flag}}`

View file

@ -11,7 +11,7 @@
`exiqgrep -i -f '<{{email@example.com}}>'`
- Match the recipient address:
- Match the [r]ecipient address:
`exiqgrep -r '{{email@example.com}}'`
@ -23,6 +23,6 @@
`exiqgrep -f '^<>$'`
- Display the count of bounced messages:
- Display the [c]ount of bounced messages:
`exiqgrep -c -f '^<>$'`

View file

@ -11,6 +11,6 @@
`expect -c "{{commands}}"`
- Enter an interactive REPL (use `exit` or `<Ctrl d>` to exit):
- Enter an [i]nteractive REPL (use `exit` or `<Ctrl d>` to exit):
`expect -i`

View file

@ -11,7 +11,7 @@
`export -n {{VARIABLE}}`
- Export a function to child processes:
- Export a [f]unction to child processes:
`export -f {{FUNCTION_NAME}}`

View file

@ -11,7 +11,7 @@
`sudo extrace {{command}}`
- Print the current working directory of each process:
- Print the current working [d]irectory of each process:
`sudo extrace -d`
@ -19,6 +19,6 @@
`sudo extrace -l`
- Display the user running each process:
- Display the [u]ser running each process:
`sudo extrace -u`