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: [EMAIL PROTECTED]         | Virtual Servers from just $15/mo
e: [EMAIL PROTECTED]               | Community: http://www.65535.org
t: +44 (0) 7092016595           | 10% Donation on every FreeBSD product


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to