Example 1
Find all Tcl, SQL and ADP files containing "workflowAssignments". Display the path to the file and the relevant lines.
find . \( -name '*.tcl' -o -name '*.sql' -o -name '*.adp' \) \ -exec grep -il "workflowAssignments" {} \; \ -exec grep -i "workflowAssignments" {} \;