grepping out comments By Stephen Scotter | April 25, 2011 0 Comment egrep -v “^#|^$” <filename> eg :- egrep -v “^#|^$” /etc/screenrc