linux下比较两个文件:diff、 vimdiff时间:2024-07-14 14:04:44 diff更加具体的命令,比如file1, file2 > diff -u file1 file2 > vimdiff file1 file2 vimdiff 有点类似于 vim -O file1 file2