File (命令)
- 5.45 (2023年7月27日;穩定版本)[1]
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
: determine file type – 命令与工具(Commands & Utilities)参考,单一UNIX®规范第7期,由國際開放標準組織发布- file mailing list(页面存档备份,存于互联网档案馆)
- file releases (页面存档备份,存于互联网档案馆)
手冊頁
file(1)
– Linux用户命令(User Commands)手册页libmagic(3)
– NetBSD库函数(Library Functions)手册页libmagic(3)
– Linux库函数(Library Functions)手册页file(1)
– OpenBSD通用命令(General Commands)手册页
其他
- 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.
- 查
- 论
- 编
- awk
- banner(英语:banner (Unix))
- basename
- comm(英语:comm)
- csplit(英语:csplit)
- cut
- diff
- dirname
- ed
- ex
- fmt(英语:fmt)
- fold(英语:fold (Unix))
- head(英语:head (Unix))
- iconv
- join(英语:join (Unix))
- less
- more
- nl(英语:nl (Unix))
- paste(英语:paste (Unix))
- sed
- sort(英语:sort (Unix))
- spell(英语:spell (Unix))
- strings(英语:strings (Unix))
- tail
- tr
- uniq(英语:uniq)
- vi
- wc
- xargs
- alias
- echo
- printf格式字符串
- test(英语:test (Unix))
- unset
- wait
- apropos(英语:apropos (Unix))
- help(英语:help (command))
- man
- ^ "[File file-5.45 is now available"]; 检索日期: 2023年7月28日; 作者姓名字符串: Christos Zoulas; 出版日期: 2023年7月27日.