grep -v -E '(^#|^;|^$)' /etc/samba/smb.conf
This line will print the smb.conf
without comments (lines beginning with ; or #) and empty lines.
The negation comes along with the grep paramter "-v"
/home/dhe/
grep -v -E '(^#|^;|^$)' /etc/samba/smb.conf
This line will print the smb.conf
without comments (lines beginning with ; or #) and empty lines.
The negation comes along with the grep paramter "-v"