Regex matching with grep -l

view story

http://www.unix.com – I am trying to find patterns in files using grep -l -e. I specifically am searching for abc. I want any file that has abc in it, but not just the letters abc. I am searching for a pattern a followed by b followed by c. I have tried egrep -l and also I have tried the following: Code: grep -el '\(abc\)\$' This will return abc but if there are more characters it will return those too. I have patterns such as the following Code: abc_vol12 abc_vol13 abc_vol15 in with other patterns and I want only these to be selected (found). In addition I was trying to find out how to negate (HowTos)