Skip to content

Instantly share code, notes, and snippets.

@armanm
Created June 12, 2013 00:54
Show Gist options
  • Save armanm/5762142 to your computer and use it in GitHub Desktop.
Save armanm/5762142 to your computer and use it in GitHub Desktop.

How to view open files:

the lsof command lets you view all files that are currently open by some program

lsof 

to view open files that are deleted run:

lsof | grep deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment