Shell / Commands

lsof

English

Overview

A command that lists currently open files and the processes using them.

Details

A command that lists the files, sockets, and devices a process has open. Used for tasks like identifying which process is using a specific port, or investigating why a file can't be deleted.

More Linux terms