You are on page 1of 1

netstat -ua --numeric-ports | grep udp | sed -r "s/(\s)+/,/g" | cut -d "," -f4 |

sed -e "s//:/g"
sudo netstat -uap --numeric-ports | grep -w udp | sed -r "s/(\s)+/,/g" | cut -d
"," -f4,6- | cut -d ":" -f2-

You might also like