Category: Mac
You may need to determine the file type or encoding for files which are missing an extension.
To show this for a file, run the following command:
file -I /path/to/file
Example output:
/path/to/file: image/png; charset=binary
The same command will also work on Linux.