Utskrift av port, pid og daemon navn v.h.a netstat
netstat -nap| egrep "(0.0.0.0).*(0.0.0.0).*LISTEN" | gawk '{print $4 ":" $7}' | egrep -o ":(.*)" | cut -c 2-|sed 's/\//\:/'
A chronological documentation test project, nothing serious, really!
netstat -nap| egrep "(0.0.0.0).*(0.0.0.0).*LISTEN" | gawk '{print $4 ":" $7}' | egrep -o ":(.*)" | cut -c 2-|sed 's/\//\:/'