Author: Not specified Language: text
Description: Not specified Timestamp: 2013-05-30 02:45:34 +0000
View raw paste Reply
  1. #!/bin/bash
  2.  
  3. if ping -c 1 4.2.2.2
  4. then
  5.   : # colon is a null and is required
  6. else
  7.    **** your command here ****
  8. fi
View raw paste Reply