리눅스 diff

Jmnote (토론 | 기여)님의 2013년 11월 23일 (토) 14:40 판 (새 문서: ==개요== ;diff ;/usr/bin/diff *행 단위 파일 비교 명령어 <source lang='dos'> [root@jmnote ~]# cat 1.txt hello world [root@jmnote ~]# cat 2.txt Hello World! </source> <sour...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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