/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
netstat -nat | awk '{ print $5}' | cut -d: -f1 | sed -e '/^$/d' | uniq