Show files and sockets opened by processes.
Section: Performance Monitoring and Troubleshooting
List open files
bash
bash
lsof -i :8080Explanation
Excellent for determining what process owns a port or file.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Performance Monitoring and Troubleshooting