"리눅스 diff"의 두 판 사이의 차이

27번째 줄: 27번째 줄:
*[[cat]]
*[[cat]]
*[[diff3]]
*[[diff3]]
*[[colordiff]]


[[분류: /usr/bin]]
[[분류: /usr/bin]]

2014년 5월 1일 (목) 21:41 판

1 개요

diff
/usr/bin/diff
  • 행 단위 파일 비교 명령어
[root@jmnote ~]# cat 1.txt
hello
world
[root@jmnote ~]# cat 2.txt
Hello
World!
[root@jmnote ~]# diff 1.txt 2.txt
1,2c1,2
< hello
< world
---
> Hello
> World!

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}