Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-29 00:23:20 +00:00
parent 42ee16d1f0
commit 0b27d7dda4
118 changed files with 277 additions and 228 deletions

View File

@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- 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`