> 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. ;)

--Dave

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to