Mastering lsof: List Open Files, Processes, and Network Connections on Linux
This guide explains how to use the Linux lsof command‑line utility to list information about files opened by processes—including regular files, directories, sockets, and pipes—while covering options for filtering by file, directory, process name, user, PID, network connections, repeat mode, and more.