ls -l | awk '{print length, $0}' | sort -rn | sed 's/^[0-9]\+ //' 转载于:https://blog.51cto.com/wangsuisheng/827773