I want to print the IP and the Port separately using netstat
command,
I tried this:
netstat -nat | awk '{print $4}'
But It gives me that:
192.168.1.213:40405
I want something like that:
First the IP: 192.168.1.213
and with another command the Port: 40405