Comparing two files in linux terminal

后端 未结 10 1133
一生所求
一生所求 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 17:45

    if you have vim installed,try this:

    vimdiff file1 file2
    

    or

    vim -d file1 file2
    

    you will find it fantastic.enter image description here

提交回复
热议问题