linux find by file type code example Example 1: find linux with extension find /home/username/ -name "*.err" Example 2: linux find filetype find . -iname "*.err"