Dateityp in Terminal

in unix/linux system
goto file path and
>>> file <name_of_file>
Nihshreyas