Command to tell me that path to the version of httpd which is currently running
Hi
I know there is a command which does just this - will give me the path to the httpd binary which is currently running. I've used it. I've just forgotten it. And my Google skills seem for once to be failing me. Please tell me what it is! ANSWERED: which httpd. |
probably which ?
|
Quote:
|
you can also try type
If you really want to say thanks just press YES |
Just because there is an httpd is in /usr/sbin doesn't necessarily mean that's the one that will be executed.
If your version of Linux uses "service" style scripts (for example in Centos /etc/init.d/httpd) then the actual path to the executable may be redefined in those scripts. |
All times are GMT -5. The time now is 10:35 AM. |