
linux系统
luffy_1993
这个作者很懒,什么都没留下…
展开
-
du和ls查看文件大小的区别
https://www.tanglei.name/blog/difference-between-du-and-ls.html转载 2019-05-08 20:06:31 · 289 阅读 · 0 评论 -
shell判断文件大小
#判断大小 SIZE=8 FILE="test.sh" size=0 until [ $size -eq $SIZE ] do size=`ls -l "${FILE}" | awk '{print $5}'` echo "file $FILE size is $size, expected value is $SIZE" sleep 1 done原创 2019-05-09 13:22:37 · 7058 阅读 · 0 评论