The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Compare two files
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Compare two files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
10-08-2008
treesloth
Registered User
Join Date: Oct 2008
Location: Orem, Utah
Posts: 73
The diff command seems ideal for this. In particular:
Code:
diff -y file1 file2
This will give a side-by-side comparison. The man page lists more options than I've ever dreamed of using, but -y seems to answer your needs.
treesloth
View Public Profile
Find all posts by treesloth
Find treesloth's past nominations received
Find treesloth's present nominations given