unknown

How do I determine the filetype of an unknown file?

Use file to determine the type of a file. For example, you receive the file unknown from another user and you want to know sort of file is unknown.

file unknown

unknown:    JPEG image data, JFIF standard

file returns that unknown is a Jpeg file, you can view jpeg files with xv

Note: file is found at /usr/local/bin/file