shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] somar ips


From: MrBiTs
Subject: Re: [shell-script] somar ips
Date: Sun, 30 Aug 2009 13:46:30 -0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> wakku@waKKu:~$ echo 10.0.0.{1..254}
> Varias faixas?
> wakku@waKKu:~$ for i in {0..10}; do echo 10.0.$i.{1..254}; done
> E se quiser mais ainda, so encadear outro for..

Bom... e dá pra brincar muito

$ echo 10.0.{0..255}.{1..254}

MrBiTs

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.8)

iEYEARECAAYFAkqarJQACgkQrDdxWm3R8Ybr+gCeIv6roSE/+MxgJC2C7nzh7nFo
A2EAoJ3T4XvaUR5SUacyebHYMVzgAnyr
=9A1Q
-----END PGP SIGNATURE-----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]