So I have this command in my $PATH, apachectl. Because I'm on a mac and I've installed apache2 through MacPorts, the command that gets found first is my macports install in /opt. Up until now I've always known that which apachectl will find that location, but to find any other locations of apachectl I'd usually use locate and egrep...
Tagged with macports
Find shell commands with which
- 2009-04-19 15:02:04
Migrating Rubygems to Ruby 1.9.x
- 2009-01-31 20:29:57
Install Mysql Gem on Leopard
- 2009-01-21 17:09:41