View Config Files Without Comments
Article Number: 23 | Rating: Unrated | Last Updated: Mon, May 21, 2018 9:23 PM
I’ve been using the following grep invocations to trim comments out of config files
#grep ^[^#] /etc/httpd/conf/httpd.confor#egrep -v "^#|^$" /etc/httpd/conf/httpd.confor#grep -v "^#" /etc/httpd/conf/httpd.conf
source: https://sysadmincorner.wordpress.com/category/aix/

