In this tutorial, you can learn how to calculate checksum of any file in Ubuntu. Checksum is used to check the file is same or not. If checksum is matched at both ends than your file is correct. There are many types of algorithm you can use for calculating checksum. Most used are md5, sha1, sha256, sha384, sha512.
Now you can watch the video of it or follow the steps given below the video.
First open your terminal and goto your directory where your file is stored. Then first write name of checksum algorithm you want to use following the filename.
If your filename is 'name.pdf' then the various checksum can be calculate by following commands.
md5sum name.pdf
output : <checksum value> name.pdf
sha1sum name.pdf
output : <checksum value> name.pdf
sha256sum name.pdf
output : <checksum value> name.pdf
sha384sum name.pdf
output : <checksum value> name.pdf
sha512sum name.pdf
output : <checksum value> name.pdf
See the above video for more information.
Now you can watch the video of it or follow the steps given below the video.
First open your terminal and goto your directory where your file is stored. Then first write name of checksum algorithm you want to use following the filename.
If your filename is 'name.pdf' then the various checksum can be calculate by following commands.
md5sum name.pdf
output : <checksum value> name.pdf
sha1sum name.pdf
output : <checksum value> name.pdf
sha256sum name.pdf
output : <checksum value> name.pdf
sha384sum name.pdf
output : <checksum value> name.pdf
sha512sum name.pdf
output : <checksum value> name.pdf
See the above video for more information.
No comments:
Post a Comment