View only uncommented lines from .conf file 2016-29-02 BigRetroMike Leave a comment Classic approach: grep -v "^#" /path/to/config.file Don’t print empty lines: egrep -v "^#|^$" /path/to/config.file