how to check file type in linux terminal code example Example: how to get file type in linux file <filename>