lsof
Installation
SKILL.md
Identity
| Property | Value |
|---|---|
| Binary | lsof |
| Config | No persistent config — invoked directly |
| Logs | No persistent logs — output to terminal |
| Type | CLI tool |
| Install | apt install lsof / dnf install lsof |
Key Operations
| Task | Command |
|---|---|
| All open files on the system | lsof |
| Open files by a specific user | lsof -u username |
| Open files for a specific PID | lsof -p 1234 |
| All files open under a directory (recursive) | lsof +D /var/log |
| All network connections | lsof -i |
Related skills