[MASOCH-L] Pergunta

Lao DanTong danton at inexo.com.br
Fri Apr 29 10:51:35 BRT 2005


On Fri, 29 Apr 2005 theo23 at terra.com.br wrote:

>  Senhores,
>
>  Alguém conhece algum software que ao informar um range,
>  por exemplo xxx.xxx.xxx/24 gere todos os endereços Ips em formato
>  texto?

sinceramente estou surpreso com um pedido deste tipo. será que entendi 
direito?
xxx.xxx.xxx/24 significa de xxx.xxx.xxx.0 até xxx.xxx.xxx.256.

em bourne-shell é isso que voce quer:

i=0
while $i -le 255
do
 	echo xxx.xxx.xxx.$i
 	let i+=1
done

??



More information about the masoch-l mailing list