stat

stat #

查看文件状态(权限、归属、大小、最后修改时间、创建时间等)

bash
# 基本用法
stat FILE...

# 按指定格式输出(每个文件一行):文件大小(%s)和最后修改时间(%Y)
stat -c "%s %Y" FILE...
2025年8月9日