Cool script to list processes with open ports

Gabriel Gunderson gabe at
Thu Nov 3 08:28:02 MST 2005

On Thu, 2005-11-03 at 08:17 -0700, Byron Clark wrote:
> Unless I'm missing something 'netstat -lnp' does the same thing, but
> with slightly uglier output.

This is my favorite set of switches because it's a bit cleaner.

netstat -lute

-l, --listening            display listening server sockets
-e, --extend               display other/more information

Throw in a -p for good measure.

-p, --programs             display PID/Program name for sockets


More information about the PLUG mailing list