Trying to grep such string

$('!

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

Your help is highly appreciated)

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

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

grep -R \$\(\'\!f *
link|improve this answer
Thank you. It's working like a charm) – kradmiy May 13 '11 at 6:11
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.