Archive for January 20th, 2013

Show txt file without comments and empty lines

Sunday, January 20th, 2013

The command is grep -vE '^#|^;|^$' /etc/openvpn/client.conf

This is the output:

client
dev tun
proto udp
remote 10.11.12.13 1194
topology subnet
nobind
persist-key
persist-tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/client3.crt
key /etc/openvpn/client3.key
comp-lzo
verb 3