You can use find with multiple expressions by combining them in logical expressions. For example, to find both JavaScript and HTML files in a given folder:
$ find . \( -iname "*.js" -o -iname "*.html" \)
The flag -o is the OR operator. There is also not (!), and (-a), and comma
(,). The parenthesis escapes are necessary for the shell.
Tags: linux