0

recursively search a certain file for certain text (linux)

Posted by Sameer on July 1, 2009 in Hosting |

Have you ever tried to do a recursive linux search for a text string inside a particular file? For example grep -r “mail” *.php and then it fails because the current folder doesn’t have any php files in it? This below line will search all files for the text moo find . -type f -exec [...]

Tags: ,

Copyright © 2007-2014 SharpDeveloper now AgileChai All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.0.2, from BuyNowShop.com.