参考资料
[1]. Linux Guide for Developers, https://www.imooc.com/learn/181
使用示例
# files.txt文件内容
a.txt
a.txt
c.txt
c.txt
b.txt
b.txt
# 查看整个文件
cat files.txt
# 排除重复项
cat files.txt | uniq
# 查找包含txt字符串行
cat files.txt | uniq | grep txt
# 排队
cat files.txt | uniq | grep txt | sort
#