Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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