파일비교 diff

diff [옵션] [파일1] [파일2]

-c : 보다 자세하게 파일의 다른점을 보여줌

-d : 파일의 내용을 세밀하게 분석함

-r : 재귀적비교, 두 디렉토리를 비교하여, 같은 이름의 파일에 대하여 내용이 다른점을 확인한다.

자세한 설명은 아래쪽에…

-s : 두파일의 내용이 동일한 경우에도 동일하다는 메시지를 출력해준다.

> 요런식으로 사용가능

[Msnote, /home/master >diff -cds php.ini php.ini_2
*** php.ini 2013-10-14 13:38:31.000000000 +0900
— php.ini_2 2013-10-14 13:56:40.000000000 +0900
***************
*** 1880,1886 ****
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
; http://php.net/soap.wsdl-cache-ttl
! soap.wsdl_cache_ttl=86400

; Sets the size of the cache limit. (Max. number of WSDL files to cache)
soap.wsdl_cache_limit = 5
— 1880,1886 —-
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
; http://php.net/soap.wsdl-cache-ttl
! soap.wsdl_cache_ttl=96400

; Sets the size of the cache limit. (Max. number of WSDL files to cache)
soap.wsdl_cache_limit = 5
***************
*** 1915,1918 ****

; Local Variables:
; tab-width: 4
– ; End:
— 1915,1917 —-

Leave your Comment

Your email address will not be published. Required fields are marked *