> Le 10/06/2011 22:49, Pascal Hambourg a écrit :
>> nmap -sT --open -n -p 9100 192.168.0.1-254 -oG - | grep Ports:

> la Hp c'est 192.168.0.5

réduit à ca:

nmap  -p 9100 192.168.0.*


ca fait le boulot!

Starting Nmap 5.21 ( http://nmap.org ) at 2011-06-11 08:43 CEST
Nmap scan report for 192.168.0.5
Host is up (0.0047s latency).
PORT     STATE SERVICE
9100/tcp open  jetdirect

Nmap scan report for 192.168.0.10
Host is up (0.000056s latency).
PORT     STATE  SERVICE
9100/tcp closed jetdirect

Nmap scan report for 192.168.0.254
Host is up (0.0039s latency).
PORT     STATE SERVICE
9100/tcp open  jetdirect

Nmap done: 256 IP addresses (3 hosts up) scanned in 3.00 seconds