3 ms·
diff -q is often used in scripts to determine whether two files are identical.
by jedbrown 11y ago
diff -q is often used in scripts to determine whether two files are identical.
- _kst_ 11y agoI would think that "cmp" or "cmp -s" would be better, particularly if the files might be binary.