Skip to content

Instantly share code, notes, and snippets.

View dalepotter's full-sized avatar

Dale Potter dalepotter

  • Bristol, UK
View GitHub Profile
@dalepotter
dalepotter / ping-csv.sh
Created May 29, 2019 10:05 — forked from dansimau/ping-csv.sh
Ping a host and output each reply in CSV format
#!/bin/bash
#
# Do a ping and output results as CSV.
#
# dsimmons@squiz.co.uk
# 2011-12-23
#
if [ $# -lt 1 ]; then
echo "Usage: $0 [--add-timestamp] <ping host>"