Useful shortcuts for vi editor

Sunday, 12 April 2015

How to find a listening port in Linux?

There are two simple ways for finding the listening port.
  • lsof | grep 8080
  • netstat -an | grep 8080