simple examples of how to

Thursday, October 20, 2011

[LINUX] how to find which ports are used by which programs

example:

$ lsof -i TCP:80

or you can try

$ ps aux | grep `lsof -i TCP:80 | awk '!/PID/ {print $2}'`

No comments:

Post a Comment