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

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

原文地址:https://www.cnblogs.com/hyydeali/p/12838495.html