ls -l test.cpp | awk '{print $5}'
stat -c "%s" test.cpp
wc -c < test.cpp
获取文件大小shell命令
Linux命令行实用技巧
最新推荐文章于 2023-12-26 16:05:04 发布
Linux命令行实用技巧
ls -l test.cpp | awk '{print $5}'
stat -c "%s" test.cpp
wc -c < test.cpp
1572

被折叠的 条评论
为什么被折叠?
