2017-02-24 linux shell shuffle file lines 高版本CentOS自带sort -R/ shuf用awk实现文件:行乱序 1.awk 1awk ‘BEGIN{srand()}{b[rand()NR]=$0}END{for(x in b)print b[x]}’ data Linux下实现文件洗牌效果 行乱序 Newer git blame / log Older Count IP Address Appears Most in Log File