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 connectionnetstat -rnec:rfor the route information,nnumeric,eextend,ccontinous prints the resultnetstat -stuw:sfor statistics summary,t/ufor tcp/udp,wprints raw datanetstat -tulpn: it shows the connectio with PID numberslsof -i: it establish the connection