I would like to run one find command and find all files with .pdf or .doc file. I can get it to return them individually but I can't do it in one command. Can someone help me please?
Here is what I have:
Code:
$ find . -iregex ".*\.pdf"
$ find . -iregex ".*\.doc"
Both those commands work but how do I get them into one, and add others (e.g. .txt, .chm, etc)?