How can I tell what version of apache I'm running?
rpm -q httpdor
/usr/sbin/httpd -vshould work.
Thanks! I kept looking in /sbin instead of /usr/sbin but both of those worked! Hopefully Google will index this answer instead of the garbage that is out there.
@tooshel: You could have tried locate. "locate bin/httpd". Assuming it's installed, not sure it's standard on CentOS.
Yeah, we do have locate . . . I found out because another colleague was convinced I didn't move something because the "locate" index was not updated. I still always forget it's there! Thanks!