1
0
Fork 0
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:
Managor 2025-06-28 12:47:40 +03:00 committed by GitHub
parent f003afc89f
commit f566585c96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 9 deletions

View file

@ -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}}`

View file

@ -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:

View file

@ -25,4 +25,4 @@
- Display help:
`fprintd-verify --help`
`fprintd-verify {{[-h|--help]}}`

View file

@ -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}}`

View file

@ -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`