Linux: Fast find text in specific files using wild cards

PHOTO EMBED

Sun Aug 28 2022 02:04:12 GMT+0000 (UTC)

Saved by @marcopinero #bash

$> find ./ -name "<filename/wild cards>" | xargs grep -i "<text to find>"

#Ex:

$> find ./ -name "*.txt" | xargs grep -i "Examples"

#Find all text files (*.txt) containing text 'Examples' from current path (./) and inner.
content_copyCOPY

Command line for getting files containing text in using filename wild cards.