Update cheatsheets

This commit is contained in:
ivuorinen
2024-12-24 00:17:42 +00:00
parent aca947410c
commit 69763d64de
2 changed files with 35 additions and 2 deletions

View File

@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
- List all files kept open by a specific program:
`lsfd -Q 'PID == {{process_ID}}'`
`lsfd {{-Q|--filter}} 'PID == {{process_ID}}'`
- Check what program has a specific file open:
`lsfd -Q "NAME == '{{/path/to/file}}'"`
`lsfd {{-Q|--filter}} "NAME == '{{/path/to/file}}'"`
- List open IPv4 or IPv6 sockets: