How can I find all the files ending with .sh OR .bin in a given folder.
I know I can do:
find /path/to/folder -name "*.bin"
to find all bin file. What must I add to also look for .sh files ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The manual page tells you that
-ois the OR operator. If you want case insensitivity, useinameinstead ofname.