Nov 5, 2017

How to Extract IP from ss/netstat output

$ sudo ss -apt | grep http | awk '{ print $5 } ' | cut -d: -f4 | sort -u | tee ip.log