lsof
Verified for current stable LTS
Lsof Command: List Files Opened By Command
Use for list files opened by command with Lsof. Exact CLI syntax to list files opened by command using Lsof.
When to use this: Use for list files opened by command with Lsof.
Command Syntax
lsof -c <process_or_command_name> lsof -c <process_or_command_name> Command Breakdown
-c- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to list files opened by command using Lsof.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Lsof Command: Find Listening Process On Ipv6 Tcp Port
lsof -i6TCP:<port> -sTCP:LISTEN -n -P Lsof Command: Find Process Opened Internet Port lsof -i :<port> Lsof Command: Find Processes With File Open lsof <path/to/file> Lsof Command: List Files Opened By Specific Process lsof -p <PID> Lsof Command: List Files Opened By User lsof -u <username>