7715 shaares
6257 liens privés
6257 liens privés
2 résultats
pour https://superuser.com
netstat -na | grep -w "LISTEN"
netstat -nlp # via https://superuser.com/a/42849
show app and ports that's it
sudo netstat -tunlp | awk '{print $4, $7}' | grep -Eo ':[0-9]+|[0-9]+/[a-zA-Z]+' | sed 'N;s/\n/ /' | awk '{print $1, $2}' | cut -d ':' -f 2 | grep '/' | sed 's;[0-9]*/;;g' | awk '{printf "%-10s\t%s\n", $1, $2}'