|
CentOS Linux Server Guide |
Checking content differences of two files in CentOS Linux |
|||||||
diff command is used to check for the differences in the content of two specified file
Command and Options: diff [options] file1 file2
Option:
Examples:
The following example "fail" string in error.log. If matched, it will output all matched line to screen
|
|||||||
|
Copyright 2011 http://www.1a-centosserver.com All Rights Reserved All trademarks are the property of their respective owners. Contact Us | Terms of Use | Privacy Policy |