1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/file.md

25 lines
730 B
Markdown
Raw Normal View History

# file
> 파일 형식을 결정.
> 더 많은 정보: <https://manned.org/file>.
- 지정된 파일의 유형에 대한 설명을 제공. 파일 확장자가 없는 파일에서는 잘 작동:
`file {{경로/대상/파일}}`
- 압축된 파일 내부를 살펴보고 내부의 파일 형식을 확인:
`file {{[-z|--uncompress]}} {{foo.zip}}`
- 파일이 특수 파일 또는 장치 파일과 함께 작동하도록 허용:
`file {{[-s|--special-files]}} {{경로/대상/파일}}`
- 첫 번째 파일 형식 일치에서 멈추지 않음. 파일 끝까지 계속 진행:
`file {{[-k|--keep-going]}} {{경로/대상/파일}}`
- 파일의 MIME 인코딩 유형을 결정:
`file {{[-i|--mime]}} {{경로/대상/파일}}`