I want to find a string such as "qwertty=" in a file with "awk" or "grep" but I don't want to see the lines with #. Please see the example
grep -ni "qwertty" /aaa/bbb
798:# * qwertty - enable/disable
1222:#qwertty=1
1223:qwertty=2
1224:#qwertty=3
I want to find the line 1223. What should be the search query for this purpose?