Skip to content

Instantly share code, notes, and snippets.

@brandon-lockaby
Last active September 30, 2021 09:31
Show Gist options
  • Save brandon-lockaby/aee809fdd547a4521b2eefae6770744d to your computer and use it in GitHub Desktop.
Save brandon-lockaby/aee809fdd547a4521b2eefae6770744d to your computer and use it in GitHub Desktop.
use curl to ping (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET or TFTP)
watch -n 0.5 curl --head --silent --write-out %{time_connect} google.com
watch -n 0.5 curl --head --silent --write-out %{time_connect} --output /dev/null google.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment