netstat
Inspect network connections with netstat
List network connections, open ports and the programs running behind those ports with netstat. Open a terminal and type: netstat -ape -a, –all, –listening display all sockets (default: connected) -p, –programs display PID/Program name for sockets -e, –extend display other/more information Output: Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp [...]