查看文件信息
cat
将文件输出到标准输出
$ cat [options] file
tac
将文件按倒叙输出到标准输出
$ tac [options] file
less
分页显示文件内容
$ less [options] file
head
指定输出文件前几行
$ head [options] file
tail
对每个文件的最后 10 行输出
$ tail [options] file
ldd
显示二进制信息
$ ldd [options] file
file
辨识文件类型
$ file [options] file
od
按照不同进制格式打印文件,主要是为了查看二进制文件
$ OD [OPTIONS] file
xdd
xdd 指令可以以 16 进制显示二进制文件或标准输入
$ xdd [options] file
hexdump
一般用来查看文件的十六进制编码
$ hexdump [options] file
exiftool
显示文件元数据
$ exiftoo
最后更新于
这有帮助吗?