netstat -anp | grep 631 tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 2239/cupsd tcp 0 0 :::631 :::* LISTEN 2239/cupsd udp 0 0 0.0.0.0:631 0.0.0.0:* 2239/cupsd