Many thanks for this one...
The above script is working! I can ping from beginning to ending IP-adresses very fast!
Lets go to the second part...
When no beginning and ending IP is given, so when the fields are empty.
The script must ping my own subnet!
This is the subnet where the system is logged in. So if I am in 192.168.100.* segmet it must ping from 192.168.100.1 to 192.168.100.255..
How can we accomplish this?
---------- Post updated at 08:35 AM ---------- Previous update was at 08:32 AM ----------
Or... the second part can be done like:
ping -b x.x.x.255
the tripple x must be filled in my the script by grepping my ip and pasting it there.