File (命令)

file是Unix 系统的一条标准命令，用来确认文件的类型。

用法 
file 的 Unix 规范命令：

  file [OPTION...] [FILE...]

示例 
 $ file file.c
 file.c: C program text

 $ file program
 program: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked
     (uses shared libs), stripped

 $ file /dev/hda1
 /dev/hda1: block special (0/0)

 $ file -s /dev/hda1
 /dev/hda1: Linux/i386 ext2 filesystem

外部連結 

 file mailing list
 file releases

手冊頁

其他 
 Fine Free File Command – homepage for version of file used in major BSD and Linux distributions.
 File for Windows – webpage of native GnuWin32 port of file for 32 bit Windows.
 The libmagic-dev package on packages.debian.org
 TrID, an alternative providing ranked answers (instead of just one) based on statistics.

标准Unix程序
Unix_SUS2008实用工具