Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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.