Comparing two files in linux terminal

后端 未结 10 1189
一生所求
一生所求 2020-12-22 17:31

There are two files called \"a.txt\" and \"b.txt\" both have a list of words. Now I want to check which words are extra in \"a.txt\

10条回答
  •  抹茶落季
    2020-12-22 18:07

    Also, do not forget about mcdiff - Internal diff viewer of GNU Midnight Commander.

    For example:

    mcdiff file1 file2
    

    Enjoy!

提交回复
热议问题