I was wondering if anyone could tell me if there is a function available in unix, bash that compares all of the lines of the files. If they are different it should output true/f
echo "read first file" read f1 echo "read second file" read f2
diff -s f1 f2 # prints if both files are identical