Hasnain wrote:
> Is there anyway how to find which process is holding a tcp port in linux?
> Say for instance, i checked
> 
> netstat -a |grep ###. but i dont know which process has opened or hold that
> port currently. Is there anyway to find out this?

Hasnain,

You'll be wanting the -p switch and probably also -t to show only tcp
sockets:

netstat -atp | grep ###

-- 
dave.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to