file filename 

This lets the shell determine the type of file.

					$ file core 
core: ELF 32-bit LSB core file of 'awk' (signal 6), Intel 80386, 
version 1 

$ file data.f 
data.f: ASCII text 

$ file Bourne shell script text

Get Linux and Unix Shell Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.