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?

  • Have you tried grep? FYI, this is more of a *nix question than Android app itself. You might need to install BusyBox for grep or find. – Tamoghna Chowdhury Nov 27 '15 at 8:56
  • How to use grep to search for string? I tried this but it didn't work: grep -i "serach string" /* – user1800997 Nov 27 '15 at 9:13
  • What was the error? If it says grep wasn't found out or such, you probably need BusyBox. Did you try the man page for grep for learning the correct usage?Try googling "man grep" – Tamoghna Chowdhury Nov 27 '15 at 9:16
  • I think i am using wrong command parameters. I will search google for grep command usage – user1800997 Nov 27 '15 at 9:27

I found that this command is working: grep -r "search string" /

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.