grep -nr yourString*'yourString*' .
The dot at the end searches the current directory. Meaning for each parameter:
'-n'n Show relative line number in the file
'yourString*' String for search, followed by a wildcard character
'-r'r Recursively search subdirectories listed
'.' Directory for search (current directory)
grep -nr MobileAppSer*'MobileAppSer*' .
(Will search forWould find MobileAppServlet.java
or MobileAppServlet.class
or MobileAppServlet.txt
; MobileAppASer*'MobileAppASer*.**'
is another way to do the same thing.)
To check more parameters use man grep command.