How can I format netstat output so I have a list of TCP connections made to the server?
A bit like this:
192.168.234.1 51780 192.168.234.221 51444 192.168.234.251 51447
The closest I got was six columns with all the values from the netstat, but I just need the origin IP of the established connections using
netstat -na -t | grep ESTABELECIDO