Diff - Membandingkan Isi File

From OnnoWiki
Revision as of 16:37, 10 January 2011 by Adinugroho (talk | contribs) (→‎Pranala Menarik)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

diff digunakan untuk membandingkan isi dari 2 file per baris dan menampilkan perbedaannya.

Install

Cara instalasinya sangat mudah. Buka console lalu ketikkan

#sudo apt-get install diff

Cara Penggunaan

Misalkan kita ingin melihat perbedaan dari 2 buah file yaitu file1 dan file2 maka kita gunakan perintah

#diff file1 file2

Pranala Menarik