Interesting ping trick, it ignores leading zeros in an IP address.

The IP address you supply the ping command with can have a leading zero or multiple leading zeros and they will be ignored by the ping command. This is an example. jason@jason-desktop:~$ ping 192.168.00001.00002 PING 192.168.00001.00002 (192.168.1.2) 56(84) bytes of data. 64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=0.012 ms 64…

Read More

Useful code snippets and commands for Linux.

Alternatives to the ping and traceroute commands on a Linux system There are many alternatives to the ping and traceroute commands on a Linux system. The mtr command is one of them. This command will trace the route the network packets are taking to the target IP address. bash 06:42:02…

Read More