> ## Content Index
> Fetch the complete content index at: https://kudithipudi.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# HOWTO : Use find and grep together
- URL: https://kudithipudi.org/howto-user-find-and-grep-together/
- Published: 2008-09-23T05:23:45.000Z
- Updated: 2008-09-23T05:23:45.000Z
- Description: If you ever wanted to search for a particular text in certain types of files in Linux, you can use the following combo of find and...
- Author: admin
- Tags: HOWTO, Linux, Uncategorized, #wp, #wp-post, #Import 2026-08-23 02:32

If you ever wanted to search for a particular text in certain types of files in Linux, you can use the following combo of find and grep

**find / -name \\\*.xml -type f | xargs grep -i “text\_to\_search”**

I used \*.xml (note the \\ before \*) as the mask in the filename to look for all XML files.. then I piped this to grep using xargs.

A colleague pointed out that I can do the same by using

**grep -r o-i “text\_to\_speech”**