how to print the type of a file in linux code example Example: how to get file type in linux file <filename>