Posts

Showing posts from August, 2016

Remove Commented "#" lines from file in Linux

#egrep -v "^[[:space:]]*#|^$" /etc/ipsec.conf config setup          plutodebug=all          plutostderrlog=/var/log/pluto.log          protostack=netkey          nat_traversal=yes         virtual_private=%v4:         oe=off conn DiData         authby=secret         auto=start         ike=3des-md5         esp=3des-md5         type=tunnel         left=1.2.3.4         leftsubnet=19.1.20.0/24         leftnexthop=%defaultroute         right=2.2.7.1 ...