Yes, you can do it with grep.
In reply to Re: using grep to find a word by hdb in thread using grep to find a word by shushant