I\'m trying to determine what application is using certain port and get netstat -tlnp | grep for Linux.
netstat -tlnp | grep for Linux
This command return the following o
Try
ps -p $(lsof -ti tcp:80) o comm=,pid=
or
netstat -tlnp | awk '/:80 */ {split($NF,a,"/"); print a[2],a[1]}'