Friday, May 19, 2017

Find .c or .h or .py files

You can use a regular expression with find:

find . -regex '.*cisco.*\.\(c\|h\|py\)'

finds all cisco-related .c .h or .py files.

No comments:

Post a Comment