Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • busybox's version of grep doesn't support -R. It does support -r. Commented Nov 14, 2015 at 21:21
  • On some directories grep complains grep: Permission denied. Please clarify about 2> /dev/null redirection, where this need be specified? Also, the target strings need be inside quotation marks? Commented Nov 15, 2015 at 0:49
  • As i said permission denied means you need sudo to read those directories. So append sudo before grep command. 2> /dev/null sends errors to null device ,ie they wont be displayed. Example, compare ls thisfiledoesnt exist and ls thisfie doesn't exist >/dev/null Commented Nov 15, 2015 at 0:53
  • It's hard to edit my answer on mobile. Ill edit it in 15 mins when i get to my laptop Commented Nov 15, 2015 at 0:57
  • Edited answer, please review Commented Nov 15, 2015 at 1:47