Finding a phrase in a directory and/or file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vmann
Forum Newbie
Posts: 1
Joined: Sat Nov 08, 2008 11:42 am

Finding a phrase in a directory and/or file

Post by vmann »

Hello,

I forgot the VI command that determines which directory/file a particular phrase (function-name) is in. (I know this is a VI question, but I am trying to find in a function name in a directory which contains 10 other directories and 20 files).

Thank you
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: Finding a phrase in a directory and/or file

Post by Mark Baker »

vmann wrote:I forgot the VI command that determines which directory/file a particular phrase (function-name) is in. (I know this is a VI question, but I am trying to find in a function name in a directory which contains 10 other directories and 20 files).
I don't know about vi, but there's always grep
Post Reply