cat /etc/squid/squid.conf | grep -v ^# | grep -v ^$
I usually run this command on squid.conf, a file heavily commented.
To save the lines to file squiD.conf, you can run:
cat /etc/squid/squid.conf | grep -v ^# | grep -v ^$ > squiD.conf
Have fun!...
The Magician Of Linux
cat /etc/squid/squid.conf | grep -v ^# | grep -v ^$
cat /etc/squid/squid.conf | grep -v ^# | grep -v ^$ > squiD.conf
0 comments:
Post a Comment