I have tablet with android 4.4.2. The tablet is rooted. I want to search for a string in the files in the whole file system. I tried to use the 'find' command but it didn't work. What command i can use to implement this search and is it possible to install 'find' command line tool on android?
1 Answer
I found that this command is working: grep -r "search string" /
-
1Use
grep -r -I
if you want to search only in text files and not in binary files (executable, audio, video etc.). Jun 6, 2020 at 22:09
grep
? FYI, this is more of a *nix question than Android app itself. You might need to install BusyBox forgrep
orfind
.grep
to search for string? I tried this but it didn't work:grep -i "serach string" /*