lsfd: add longform options (#15291)

Update lsfd.md
This commit is contained in:
Managor
2024-12-23 19:10:31 +02:00
committed by GitHub
parent 27b7e13497
commit 2a19d8db59

View File

@@ -9,11 +9,11 @@
- 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: