Show txt file without comments and empty lines

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

Tags: ,

Comments are closed.