My Commands: Difference between revisions

Line 14:
 
Netstat list Applications along with open port numbers
netstat -anp 8080<br>netstat -an | grep 8080
netstat -an | grep 8080
 
netstat -lntp
<pre>
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:111 0.0.0.0:* LISTEN 800/rpcbind
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1522/nginx
</pre>
 
Show active connections/Applications only
Line 20 ⟶ 29:
 
netstat -lnt
 
 
 
= List Files =