Skip to content

Instantly share code, notes, and snippets.

@paulcsmith
Created June 22, 2016 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulcsmith/97aa628de9d8c1635a21acde20671bcc to your computer and use it in GitHub Desktop.
Save paulcsmith/97aa628de9d8c1635a21acde20671bcc to your computer and use it in GitHub Desktop.
How to get mime type for a file
$ file -I Makefile
Makefile: text/x-makefile; charset=us-ascii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment