title: 1 second delay after ping command
body: <p>I am new to linux scripting so apologies if this is a trivial question.
  I have written the following script.
  The script basically pings the ip addresses in 192.168.11.0 once and prints if the response has been successful or not.</p>
  
  <pre><code>#!/bin/bash
  
  NETWORK=192.168.11
  IP_START=101
  IP_END=148
  
  IP_COUNTER=$IP_START
  
  while [[ $IP_COUNTER -le $IP_END ]]
     do
         ip=$NETWORK.$IP_COUNTER
         ping -c1 $ip &amp;&gt;/dev/null &amp;&amp; echo "$ip is UP" || echo "$ip is DOWN"
         IP_COUNTER=$(($IP_COUNTER +1))
     done
  </code></pre>
  
  <p>However I would like to have a 1-second delay between the ping and the "echo "$ip is UP"..." part. I am not sure how to do this. 
  I would really appreciate it if someone could guide me in the right direction.</p>