Useful Linux networking commands
Command line or the terminal is the most powerful tool in Linux environment. Developers love the terminal for doing development or devops work. Following are some powerful networking commands for Linux using netstat:
Find all the established connections
:~$ netstat -natu | grep ‘ESTABLISHED’
The above command will find all the tcp/udp established connections.
Display service name with PID
:~$ netstat -tp