Use the file command to identify a file's type: 1. Open terminal. 2. Enter file filenameIf you cannot determine a file's type in Linux, use the `file` command: 1. Open terminal. 2. Enter `file filename`. 3. View output to identify file type.. 3. View output to determine the file type.