https://stackoverflow.com/questions/921398/exit-status-of-ping-command