command to check file format in linux code example Example: linux find filetype find . -iname "*.err"