I want to know just the name of the files that contains a given pattern. Then I would open the files in vi and replace the pattern. But using
grep -n '&&&' *
gives all the occurrence of the pattern which is not very helpful.
How do I view only the names?