Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to list the files open by processes in Ubuntu

📅 2013-Jan-19 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ file, lsof, ubuntu ⬩ 📚 Archive

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