1

Trying to grep such string

$('!

On grep -R "$('\!" * console returns such message: bash: !": event not found

Your help is highly appreciated)

1 Answer 1

3

It works if you escape every single character but don't put quotation marks around the string:

grep -R \$\(\'\!f *
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .