$ grep "jquery-1.6.2" /home/user/public_html/*.jsOR
$ grep "jquery-1.6.2" ~/*.js
You can search for a text string all files under each directory, recursively with -R option:
$ grep -R "jquery-1.6.2" /home/user/public_html/
By default, the grep command prints the matching lines. You can pass -H option to print the filename for each match:
$ grep -H -R "jquery-1.6.2" /home/user/public_html
root@server:~# rgrep 'ns.domain.com.' /var/lib/bind/*.hostsor
root@server:~# grep -r 'ns.domain.com.' /var/lib/bind/*.hostsweb