mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 21:35:24 +02:00
linux/f*: add option placeholders and mnemonics (#16998)
This commit is contained in:
parent
f003afc89f
commit
f566585c96
5 changed files with 9 additions and 9 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
`fakeroot -- {{command}} {{command_arguments}}`
|
||||
|
||||
- Run a command as fakeroot and save the environment to a file on exit:
|
||||
- Run a command as fakeroot and [s]ave the environment to a file on exit:
|
||||
|
||||
`fakeroot -s {{path/to/file}} -- {{command}} {{command_arguments}}`
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Screenshot utility with a GUI.
|
||||
> Supports basic image editing, such as text, shapes, colors, and imgur.
|
||||
> More information: <https://flameshot.org>.
|
||||
> More information: <https://flameshot.org/docs/advanced/commandline-options/>.
|
||||
|
||||
- Create a fullscreen screenshot:
|
||||
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
|
||||
- Display help:
|
||||
|
||||
`fprintd-verify --help`
|
||||
`fprintd-verify {{[-h|--help]}}`
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
|
||||
`sudo fsck -r {{/dev/sdXN}}`
|
||||
|
||||
- Check filesystem `/dev/sdXN`, reporting any damaged blocks and automatically repairing them:
|
||||
- Check filesystem `/dev/sdXN`, reporting any damaged blocks and [a]utomatically repairing them:
|
||||
|
||||
`sudo fsck -a {{/dev/sdXN}}`
|
||||
|
|
|
@ -9,20 +9,20 @@
|
|||
|
||||
- Show more fields (`USER`, `PID`, `ACCESS` and `COMMAND`):
|
||||
|
||||
`fuser --verbose {{path/to/file_or_directory}}`
|
||||
`fuser {{[-v|--verbose]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Identify processes using a TCP socket:
|
||||
|
||||
`fuser --namespace tcp {{port}}`
|
||||
`fuser {{[-n|--namespace]}} tcp {{port}}`
|
||||
|
||||
- Kill all processes accessing a file or directory (sends the `SIGKILL` signal):
|
||||
|
||||
`fuser --kill {{path/to/file_or_directory}}`
|
||||
`fuser {{[-k|--kill]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Find which processes are accessing the filesystem containing a specific file or directory:
|
||||
|
||||
`fuser --mount {{path/to/file_or_directory}}`
|
||||
`fuser {{[-m|--mount]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Kill all processes with a TCP connection on a specific port:
|
||||
|
||||
`fuser --kill {{port}}/tcp`
|
||||
`fuser {{[-k|--kill]}} {{port}}/tcp`
|
||||
|
|
Loading…
Add table
Reference in a new issue