mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-16 01:15:50 +02:00
Add description how to use lsof by PID
This commit is contained in:
parent
c10d09d0bd
commit
b937aa13a8
1 changed files with 4 additions and 0 deletions
|
@ -22,3 +22,7 @@
|
||||||
- List files opened by the given command or process:
|
- List files opened by the given command or process:
|
||||||
|
|
||||||
`lsof -c {{process_or_command_name}}`
|
`lsof -c {{process_or_command_name}}`
|
||||||
|
|
||||||
|
- List files opened by the given PID:
|
||||||
|
|
||||||
|
`lsof -p {{PID}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue