How to find a string in various files

In a linux terminal you can use the following command to find a specified string in various files:

mihai@mvis:proj$ find app/ | xargs grep Zend_Debug

The results will be something like this:

app/admins/controllers/AclController.php: Zend_Debug::dump($acls);
app/models/Acl.php: Zend_Debug::dump($acls);

Tags: , ,

Leave a Reply