how to figure out a file format in linux code example Example: linux find filetype find . -iname "*.err"