in reply to Problem with exit status of bash script
..."pinging my all my devices..."
That's what fping is made for:
fping -C 1 perlmonks.org cpan.org stackoverflow.com stackoverflow.com : [0], 84 bytes, 89.3 ms (89.3 avg, 0% loss) perlmonks.org : [0], 84 bytes, 163 ms (163 avg, 0% loss) cpan.org : [0], 84 bytes, 155 ms (155 avg, 0% loss) perlmonks.org : 163.50 cpan.org : 155.29 stackoverflow.com : 89.33 fping -C 1 -q perlmonks.org cpan.org stackoverflow.com perlmonks.org : 162.75 cpan.org : 155.49 stackoverflow.com : 88.75
Edit: Fixed funny typo: perlmonks.
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|