Linux下求两个文件交集的方法

linux下求两个文件的交集,参考 :https://blog.csdn.net/autofei/article/details/6579320

1、comm命令

    comm -2 file1 file2

2、sort file1 file2|uniq -d

发布了30 篇原创文章 · 获赞 4 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/u013015681/article/details/80581120