Finding a program using a certain port
From AdminWiki
(Difference between revisions)
m (Reverted edits by SheylaFrancisco (talk) to last revision by Philip) |
|||
Line 5: | Line 5: | ||
netstat -tnap | netstat -tnap | ||
netstat -unap | netstat -unap | ||
- | |||
{{Category:lsof}} {{Category:shell}} {{Category:network}} {{Category:snippet}} {{Category:debugging}} | {{Category:lsof}} {{Category:shell}} {{Category:network}} {{Category:snippet}} {{Category:debugging}} |
Latest revision as of 17:23, 8 April 2011
- With lsof:
lsof -iUDP:53 lsof -iTCP:80
- With netstat:
netstat -tnap netstat -unap
Category:Lsof Category:Shell Category:Network Category:Snippet Category:Debugging