Linux shells provide a recursive Grep function in the form of the -r switch.
However, in Solaris this function have to be replicated using the piped command as follows:
find . | xargs grep ‘pattern’
Or if your shell doesn’t has all the right paths set, then:
/usr/bin/find . | /usr/bin/xargs /usr/bin/grep ‘pattern’