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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.