Answers for "linux ping latency print on screen .sh file"

0

linux ping latency print on screen .sh file

ping -qc1 google.com 2>&1 | awk -F'/' 'END{ print (/^rtt/? "OK "$5" ms":"FAIL") }'
Posted by: Guest on July-12-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language