DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
linux ping latency print on screen .sh file
ping -qc1 google.com 2>&1 | awk -F'/' 'END{ print (/^rtt/? "OK "$5" ms":"FAIL") }'
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#linux
#ping
#latency
#print
#screen
#file
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit