diff
分类
描述
比较文件差异
语法
diff [选项] 文件1 文件2
常用选项
使用示例
- diff file1.txt file2.txt: 比较两个文件
- diff -u old.txt new.txt: 以统一格式显示差异
相关命令