Displaying All Active Internet Connections In Linux
It may be necessary to display what Internet connections are active on your Linux box. For example, seeing if the Apache service is actively running, and if running what network ports it’s listening to can be done with the following command. netstat -natp Example output If you have root privileges running the above command gives an output similar to the following example. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127....