Networking Command Netstat
Learn how to use netstat command
Learn Netstat
A basic
Linuxnetwork command
NETSTAT
- Prints the network connection and routing tables.
- Like an CCTV monitor for every connection come in and go out from your machine.
- MiniManual
netstat -ant:afor all connection,nfor numeric,tfor all TCP connection//ufor the UDP connection
netstat -rnec:rfor the route information,nnumeric,eextend,ccontinous prints the result
netstat -stuw:sfor statistics summary,t/ufor tcp/udp,wprints raw data
netstat -tulpn: it shows the connectio with PID numbers
lsof -i: it establish the connection
