How can I make the ping command in Mac OS X show "request timeout" in its output if no ICMP replies are received, similar to what the Windows ping command does?
|
feedback
|
|
This is probably what you are looking for:
| |||||
feedback
|
|
You can set a time out with the -t option. e.g.
This will exit after five seconds wether the target is alive or not. | |||
|
feedback
|