i use a script to run programs from sfs files, that loads the sfs automatically if it is not loaded. It also downloads the sfs from the web if it is not found on the computer.
Now i want to make automatically a md5sum check of the downloaded file. The md5sum is already in the run-script i just need to know how i can create a md5sum using BASH.
I need the result as a $md5sumcheck variable not as console output.
So, i think i have to script something like this:
Code: Select all
md5sumresult=$(md5sumfunc file_to_check)