How to list the files open by processes in Ubuntu

The lsof command can be used to list the open files in Ubuntu. The first leftmost column is the process name and the last rightmost column is the name of the file it has opened. The command is easy to remember as the ls of open files.

Tried with: Ubuntu 12.04.1 LTS

About these ads

One thought on “How to list the files open by processes in Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s