Exclude unwanted string from Linux grep

Gabriel9999

New Member
Mar 21, 2019
34
0
6
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!