netstat

What is listening on my server?

Being a sysadmin, you'll probably often need to find out what is running on a server. There are several ways to do this on Linux: # netstat -nlptu Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:…