Package: netcat-openbsd Version: 1.187-1 Severity: wishlist File: /usr/share/man/man1/nc_openbsd.1.gz
This example is wrong: You can also specify a list of ports to scan, for example: $ nc -zv host.example.com 80 20 22 nc: connect to host.example.com 80 (tcp) failed: Connection refused nc: connect to host.example.com 20 (tcp) failed: Connection refused Connection to host.example.com port [tcp/ssh] succeeded! Only the first item is tested: $ nc -zv m.jidanni.org 143 993 nc: connect to m.jidanni.org port 143 (tcp) failed: Connection refused $