file 명령어
파일 타입을 조사한다
bash command
Examples
$ file .gitignore
.gitignore: ASCII text
파일 인코딩을 조사할 수 있다
$ file test.txt
test.csv: ISO-8859 text, with CRLF line terminators
$ file -I test.txt
test.csv: text/plain; charset=iso-8859-1