title: httpd -k restart : print some info like " service httpd restart "
body: <p>restarting apache via service command :</p>
  
  <pre><code>service httpd restart
  
  Stopping httpd: [ OK ] 
  Starting httpd: [ OK ] 
  </code></pre>
  
  <p>I want to be able to get the same output without using the "service" command.</p>
  
  <p>the following command works but does not print anything.</p>
  
  <pre><code>/usr/sbin/httpd -k restart
  </code></pre>