this command is used to show file type in linux for example your file .txt extension file is ASCII text the following example and description of this command.
$file [file_name]
in this example $file file1.txt,it will return ASCII text in your terminal.
$file file1.txt