find . -type f -name '*.txt' | xargs grep 'command' // The xargs command, when combined with other commands like find, uses the output of the first command as an argument.
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter