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