title: locate apache2ctl
body: <p>I can say apache2ctl graceful and my webserver restarts at an interactive shell. All is well. However, I need to say that in a shell script so I need the full path for apache2ctl. I have tried which and locate but nothing turns up which makes me very surprised. I looked in /usr/bin and there is no apache2ctl. How do I figure out where this lives?</p>
  
  <p>I thought maybe it would be in /opt/local/apache2/bin but there is an apachectl in there...not a apache2ctl. I'm stumped. Any ideas?</p>
  
  <p>@Jon Lin - Nice work...type apache2ctl told me <code>apache2ctl is aliased to</code>sudo /opt/local/apache2/bin/apachectl'` . Thank you very much.</p>