diff命令 用于比较多个文本文件差异
[root@node-a shell]# diff 1.txt 2.txt 3a4,5 > d > e [root@node-a shell]# cat 1.txt a b c [root@node-a shell]# cat 2.txt a b c d e
以"<" 开始的行属于文件1,以">"开始的行属于文件2
计算机网络/计算机科学与应用/系统/运维/开发
diff命令 用于比较多个文本文件差异
[root@node-a shell]# diff 1.txt 2.txt 3a4,5 > d > e [root@node-a shell]# cat 1.txt a b c [root@node-a shell]# cat 2.txt a b c d e
以"<" 开始的行属于文件1,以">"开始的行属于文件2
人生于世,就得有点兴致,闲暇之时,或乐游山水、或尽享食味、或寄情岁时,它让我们的生活变得充盈。