Ruby one liner to print all addresses within a range of addresses:
ruby -ripaddr -e '(IPAddr.new("192.168.0.0").to_i .. IPAddr.new("192.168.0.255").to_i).each {|a| puts IPAddr.new(a,Socket::AF_INET).to_s}'
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
« Bill Simmons on the Mavs selection of Maurice Ager | Main
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Comments