TCP Services

Adam Davis ald at dovienya.net
Wed Nov 27 02:58:49 CST 2002


A couple people mentioned netstat.

I always use `netstat -tnl` (tcp, numbers, listening).
That cuts out all the current connections and just lists ports on which
something is listening.

If you want also the programs (name/pid), try `netstat -tnlp`.  You may
have to be root for this to work properly.

On Tue, 26 Nov 2002, Jim Herrmann wrote:

> Is there a command to see what services are listening on which ports?
>
> Thanks,
> Jim
>
>
>




More information about the Kclug mailing list