Open 0ki opened 7 years ago
Challenge expects to only show tcp ports, excluding udp. This is not stated anywhere.
https://cmdchallenge.com/#/IPv4_listening_ports
Sample of correct solution: cat netstat.out |awk '{print $1,$4}'|grep ^..p\ |cut -d : -f 2|sort -nru
Summary
Challenge expects to only show tcp ports, excluding udp. This is not stated anywhere.
Steps to reproduce
https://cmdchallenge.com/#/IPv4_listening_ports
Sample of correct solution: cat netstat.out |awk '{print $1,$4}'|grep ^..p\ |cut -d : -f 2|sort -nru