Advertise on warmetal.nl!
Click for more information
about advertising here.

Did you find this website useful? Did I save you a lot of time?
Please consider donating to support this site:

 

Script: Bash: Grep All Configuration Lines

Grep everything except lines starting with # or empty lines

cat /etc/squid/squid.conf | grep -v '^[#]' | grep -v '^$'

Discussion

Enter your comment:
 
grep.txt · Last modified: 2010/10/26 14:01 by sjoerd