1
0
Fork 0

Add new name to README, added examples

master
Simon Moser vor 3 Jahren
Ursprung ee80094c0d
Commit 2447be472c

@ -1,3 +1,14 @@
# ipcalc.py # iptrans.py
Calculated different representations for IPv4 addresses Calculated different representations for IPv4 addresses
## Example
```
$ ./iptrans.py 127.0.0.1
Address 127.0.0.1 equals dec 2130706433 / 127.1 / 127.0.1
equals oct 017700000001 / 0177.01 / 0177.00.01
equals hex 0x7f000001 / 0x7f.0x1 / 0x7f.0x0.0x1
$ ping -c 1 0x7f000001
PING 0x7f000001 (127.0.0.1) 56(84) Bytes Daten.
64 Bytes von 127.0.0.1: icmp_seq=1 ttl=64 Zeit=0.027 ms
```
Laden…
Abbrechen
Speichern