Re: [SLUG] port question

From: Ian C. Blenke (icblenke@nks.net)
Date: Mon Aug 14 2006 - 15:30:41 EDT


Eben King wrote:

> On Mon, 14 Aug 2006, vern wrote:
>
>> How do you tell which application is running on which port ? i don't
>> remember how to find that.
>
>
> as root:
> netstat -A inet -a -p

You can also use lsof:

    # lsof -n | grep LISTEN

A very handy tool.

Isn't this in the FAQ? If it isn't, it probably should be.

 - Ian C. Blenke <ian@blenke.com> http://ian.blenke.com

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:01:46 EDT