脚本——大于5k的文件有

#!/bin/bash
a=`ls -l /root |awk -F ' ' '$5>5{print $9}'`
echo "大于5k的文件有 $a"

posted @ 2020-05-06 19:50  鸿杨杨  阅读(100)  评论(0编辑  收藏  举报