Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I've tried this.

grep -r thanks *                                      slave-iv
grep: invalid option -- '@'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.

Here's what the directory looks like. They're log files from pidgin.

ls -1
share|improve this question

marked as duplicate by lesmana, rahmu, slm, Anthon, jasonwryan Aug 25 '13 at 18:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 3 down vote accepted

Doh! I just realized after asking my problem is not the @ it's the - this works

grep -r thanks -- *   
share|improve this answer
More info – Michael Mrozek Nov 10 '10 at 18:11
@Michael: Isn't this is one more exact duplicate? – Stéphane Gimenez Aug 12 '11 at 15:37

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