netstat -napt | grep :80\ | awk '{print $5}' | cut -d: -f1 | sort -u
Invece per contare i diversi IP address possiamo usare:
netstat -napt | grep :80\ | awk '{print $5}' | cut -d: -f1 | sort -u | wc -l
netstat -napt | grep :80\ | awk '{print $5}' | cut -d: -f1 | sort -u
netstat -napt | grep :80\ | awk '{print $5}' | cut -d: -f1 | sort -u | wc -l
Nessun commento:
Posta un commento