Linux Terminal: An lsof Primer

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.