Gabriel9999
Member
I have a configuration file which is a simple text. I want to list some configuration line but except some sitring. How can I use Linux grep to exclude and search for given strings? Thanks in advance for your help!
$ echo -e 'abcd\nefgh'
abcd
efgh
$ echo -e 'abcd\nefgh' | grep -v bc
efgh