按文件每行长度排序 awk -F: '{print length($0) " " $0}' /etc/shadow | sort -r -n | awk '{print $2}' 转载于:https://www.cnblogs.com/SEC-fsq/p/5580190.html