linux 比较两个文件是否一致

diff source target

如果一致不弹出任何信息

原文地址:https://www.cnblogs.com/cocoat/p/6198823.html