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

잔글 (Jmnote 사용자가 Diff 문서를 리눅스 diff 문서로 옮겼습니다)
1번째 줄: 1번째 줄:
{{소문자}}
==개요==
==개요==
;diff
;diff

2014년 10월 9일 (목) 23:39 판

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 }}