Compare the Contents of Files

$ cat apple.txt
core
worm seed
jewel
$ cat applegood.txt
core
raisin seed
jewel
$ diff apple.txt applegood.txt
2c2
< worm seed
---
> raisin seed                               
$ cat bag.txt
core
worm seed
jewel
$ diff apple.txt bag.txt  
$ 
Save this page to any social bookmarking site! Share · search Search · star Market
2020-04-25 · John December · Terms © December Communications, Inc.