Re:A Unix Utility to Know About: lsof (2009)
by nailer on Friday August 26, 2016 @03:58AM
(#12364886)
For finding what uses a file, I'm an 'fuser' kid but lsof is fine too. Using posh right now, so had to make my own:
In use:
Since it's object pipelining, you can:
[ Parent
| on HN ]
Re:A Unix Utility to Know About: lsof (2009)
by smhenderson on Friday August 26, 2016 @09:24AM
(#12366019)
I find myself using lsof for it's ability to show me what TCP sockets are in use more than what actual files are open.
lsof | grep TCP