file(1) *.bmp
determine file type
source manpages: file