Sep 14, 2018

How to Extract IP from ss/netstat output

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