1、排序 sort #直接排序sort -u #unique 排序并去重sort -r #reverse 降序排序sort -n #number 按照数字排序sort -o #output 重定向,使用>重定向没办法输出到源文件,-o可以