file

file#

Detect type by content (not extension).

$ file unknown.bin
$ file -i note.txt