processes in port linux code example Example: linux which process is using a port $ sudo netstat -ltnp | grep ':80'