HOWTO: Check if two files are identical1 a) cmp --silent <file1> <file2> || echo "files are different" Based on A. ↩