How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

January 26, 2012

search files with multiple patterns in linux

Filed under: Linux — Tags: , , , — admin @ 12:18 pm

Well today I have to search files with *.php and with *.html .

How to do that ?

Solution is :

find ./  \( -name "*.php" -o -name "*.html"   \)

 

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress