转载:http://shenze60.blog.163.com/blog/static/315747722009724113026896/ 首先介绍一下diff和patch.在这里不会把man在线文档上所有的选项都介绍一下,那样也没有必要.在99%的时间里,我们只会用到几个选项.所以必须学会这几个选项. 1.diff -------------------- NAME diff - find differences between two files SYNOPSIS diff [options…