On Sun, 2003-06-29 at 03:06, 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"

netstat -ntp --inet

   -n           Numeric (don't resolve hostnames)
   -p           Show pid & program name
   --inet       Only inet family of protocols

add --listen to look specifically for servers listening on ports


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

Reply via email to