how to any file extension in linux code example Example: how to get file type in linux file <filename>