Compare two files on a GNU/Linux system to verify if they are identical or not.
sha256sum file_1.txt
sha256sum file_2.txt
Only use sha256sum
. Do not use sha1sum
or md5sum
.
Spaces can be escaped with a backslash:
sha256sum file\ 3.txt
Links: