I came across one UNIX ping command as such :
$for i in {1..30}; do ping -m $i -c 1 www.website.com; done
What is the meaning of -m
here? I have searched online and the only information I could find is that -m
stands for "mark" and according to this:
use mark to tag the packets going out. This is useful for variety of reasons within the kernel such as using policy routing to select specific outbound processing.
I do not understand the explanation. I suspect that the command is trying to simulate something similar to traceroute
. Can someone explain it in a more understandable way?