I need to search a particular string inside a folder structure.
The File system contains multiple files, but i need to check only XML files.
I searched and tried the commands for Linux Recursive search but it did not work. I got the following output from the command
$ grep -rio --include=*.xml "invokeAction" . grep: No match. $ grep -riwc "invokeAction" * grep: <.Lists all the file Names recursively.>: No such file or directory $ grep -ir invokeAction *.xml grep: <.Lists all the file Names.>: No such file or directory
I need to search
String: "invokeAction" Mode: Word Only Directory: Current Directory Recursively