Bash find files containing¶
find /etc -type f | xargs grep 'iptables'
find is what you want to do,
/etc is the directory to search in,
-type f is a regular file (as opposed to device or other type),
| to pipe the command through
grep, grep for pattern matching, 'iptables' the pattern to match.