统计命令

ls -l |awk ‘BEGIN {size=0;} {size=size+$5;} END{print “[total]size is “, size/1024/1024,”M”}’

Print Friendly

发表评论

电子邮件地址不会被公开。 必填项已用*标注