SyntaxFix
Write A Post
Hire A Developer
Questions
Try the file command with -i option.
file
-i
-i option Causes the file command to output mime type strings rather than the more traditional human readable ones. Thus it may say text/plain; charset=us-ascii rather than ASCII text.
text/plain; charset=us-ascii
ASCII text