JLinX – Blog

Weblog von Jan Linxweiler

How to Search for File Contend in Specific Files

Filed under: Apple & Mac OS X,Linux — Jannis at 9:16 pm on Thursday, November 20, 2008

find . -iname “*.cpp” -print | xargs grep “main(” -s

-s = silent – no error messages

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.