check file type of a file linux commanf code example Example: linux find filetype find . -iname "*.err"