compare 2 files using shell script code example Example: find difference between two files command diff file2 file2