定义: 通过  stat 命令查看文件的所在状态信息。(display file or file system status)

参数预览:

Linux 命令行学习之路 -- 8.查看文件统计信息 stat (show state)Linux 命令行学习之路 -- 8.查看文件统计信息 stat (show state)

Linux 命令行学习之路 -- 8.查看文件统计信息 stat (show state)

用法1: 显示文件的几乎所有信息

$   stat  fileName / dirName

命令行:

Linux 命令行学习之路 -- 8.查看文件统计信息 stat (show state)

 

用法2: 

$  stat  -f  fileName /  dirName

Linux 命令行学习之路 -- 8.查看文件统计信息 stat (show state)

相关文章: