For the apache configuration command
I'm looking for a command to check the validity of the config files in apache server on both debian and rhel distros I need to do this before i start so there's no downtime
Best Answer
Check: http://httpd.apache.org/docs/2.2/programs/apachectl.html
apachectl configtest