Linux Terminal: An lsof Primer
Sep 30, 2014, 04:50 (0 Talkback[s])
(Other stories by Daniel Miessler)
lsof is the sysadmin/security cyber-tool. I use it most for getting network connection related information from a system, but that???s just the beginning for this powerful and too-little-known application. The tool is aptly called lsof because it ???lists openfiles???. And remember, in UNIX just about everything (including a network socket) is a file. Interestingly, lsof is also the Linux/Unix command with the most switches. It has so many it has to use both minuses andpluses.