Is there a way to make the Linux implementation of 'ping' to act like the Windows implementation in the way that it shows when a timeout occurs. I don't want it to exit, just show a timeout message.

We have some networking issues in the company and I would like to leave 'ping' to work over night and then grep through it to see if and when any timeouts occurred.

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

How about something like

ping -c 1 -t 10  > /dev/null || date

in an infinite loop that runs the whole night?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.