Hi everybody.
How can I find a file with a specific string in it?I searched web but non of the command work in OpenWRT world e.g.:
find . -iname '*php' | xargs grep 'string' -sl
or grep -R.
I think I should search within a path not on whole device.Because I tried to use grep and other similar commands to search a file with a string in whole device and that was unsuccessful .
Thanks
harsini wrote:Hi everybody.
How can I find a file with a specific string in it?I searched web but non of the command work in OpenWRT world e.g.:
find . -iname '*php' | xargs grep 'string' -sl
or grep -R.