shell program to find type of file code example Example: how to get file type in linux file <filename>