use grep to compare checksum

Check the integrity of your download files:

you can use this command to check your sha1 sum in linux

 sha1sum <filename.filetype> | grep "sha1sum-key" 

you can use this command to check your md5 sum in linux

 md5sum <filename.filetype> | grep "md5sum-key"

After the execution of above commands, if you see your xxxsum-key, everything is fine.
If you don’t see anything your file is broken.

Advertisements

About yingding wang
i am looking forward to innovation in IT and Robotics

Comments are closed.

%d bloggers like this: