file -bi (파일 정보 얻기/인코딩)

$ file
  
# mime 타입 확입
$ file -i

파일 종류 판별 과정

magic 데이터베이스

/etc/magic, /usr/share/misc/file/magic