Cool script to list processes with open ports

Dave Smith DavidSmith at
Thu Nov 3 09:12:34 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
> -u|--udp
> -t|--tcp
> -e, --extend               display other/more information
> Throw in a -p for good measure.
> -p, --programs             display PID/Program name for sockets

True indeed, but the script I posted is much prettier and more concise. ;)


More information about the PLUG mailing list