Grep, no value return

Posted by Daniel S. on Ask Ubuntu See other posts from Ask Ubuntu or by Daniel S.
Published on 2014-06-06T20:44:04Z Indexed on 2014/06/06 21:52 UTC
Read the original article Hit count: 193

Filed under:
|
|

I am searching for a word, in this case "hehe" that is located in the file findTest

by using grep, but when i initiate the search:

grep -r "hehe"

or

grep -lr "hehe"

it starts but after 5 min waiting nothing happens, even if i am in the same directory as the file. the only way i get a results straight away is being in the same directory and typing:

grep "hehe" findTest 

Are their any other ways to search for a word? even if not in the same directory.

© Ask Ubuntu or respective owner

Related posts about directory

Related posts about search