[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Enquery Opened Port



On Sun, 29 Jun 2003, Leo Huang wrote:

> Hello,
>
> There is a command to show which port is opened by which program.
>
> Suppose I type "somecommand someoptions 80", and it will return the result
> "httpd"
>
> Does anyone know the command I'm talking about?
>

Try fuser. So you could do fuser www/tcp and it will return the PID of the
process

HTH

Rgds

rus
--
www: http://www.65535.net       | Hosting - Shell Accounts
MSNM: support 65535 net		| Virtual Servers from just $15/mo
e: rghf 65535 net               | Community: http://www.65535.org
t: +44 (0) 7092016595           | 10% Donation on every FreeBSD product




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]