I was trying to use this particular option of grep
grep -r 'Search_pattern' *
This command should ideally search all the occurrences of Search_pattern recursively within a directory & print it on shell prompt. But this command is not doing what is expected. It just displays nothin!
While other commands are working
Ex:grep -n 'Search_pattern' *
Can anyone tell me any other alternative option? Its pretty urgent & am stuck here!!
These are non standard Gnu extensions. You can install Gnu grep if you want them. It may already be installed in /usr/gnu/bin/grep depending on your Solaris release.