dev2016. 7. 6. 11:09

http://www.computerhope.com/unix/udiff.htm

위 링크에서 일부 발췌함.

자세한 내용과 옵션에 대한 예시 역시 링크에 가면 있음.



diff file1.txt file2.txt

...and the output will be:

2,4c2,4
< I need to run the laundry.
< I need to wash the dog.
< I need to get the car detailed.
---
> I need to do the laundry.
> I need to wash the car.
> I need to get the dog detailed.

참 쉽죠잉

'dev' 카테고리의 다른 글

루비온레일즈 가이드  (0) 2016.08.24
oh my zsh  (0) 2016.08.17
java reflection 으로 inner class 객체 생성하기  (0) 2016.06.08
초보자를 위한 정규표현식  (0) 2016.06.03
태스크(Task) 실행과 스케줄링  (0) 2016.06.03