Created
March 7, 2022 19:20
-
-
Save jacekbj/7c206738138147ab1ac92af8938cea3b to your computer and use it in GitHub Desktop.
Check md5 sum of a downloaded file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ $checksum == "$(md5sum virtualbox-6.1_6.1.32-149290~Ubuntu~eoan_amd64.deb | cut -f1 -d' ')" ]; then | |
echo "Equal" | |
else | |
echo "Not equal" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment