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.

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 need to search "Ignoring request to authentication address " text in all the directories.What command need to give?Any assistance reg this will be highly appreciated.

share|improve this question
did you really try searching before asking this question? – Janus Troelsen Jul 26 '12 at 15:33

You can use grep:

grep -R "Ignoring request to authentication address" .
share|improve this answer
If the search should skip binaries add -I. This will make grep even faster. – Nils Jul 27 '12 at 21:25

I presume you mean "find all the files containing the text ...".

find . -exec grep -nH "Ignoring request to ..." \{\} \;

is one way and will output lines of the form

filename:linenumber:Ignoring request to ...

for each match.

The dot just after find in the command means "files anywhere beneath the current directory. You can put any directory here like /var/log if you have some idea where the files are, or even / if you want to search absolutely everywhere, which will take absolutely ages.

If you think the files have some kind of name like .log or .txt, you can start off

find . -name "*.log" -exec ...

to narrow it down a bit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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