Hi i keep getting the error
./imagehash.sh: line 2: =: command not found
When i know that i set the
$CMD variable correctly (i tried the command outside the bash script and it worked just fine)
here's my bash script
#!/bin/bash $CMD='md5sum ../Desktop/cases/CourseworkCase/Evidence/image.dd' echo $CMD
fixed the bash so theres no spaces in the
$CMD variable and put
'' around it but now i'm getting the error file
no such file or directory i looked at the path and copied it letter for letter and its correct.
what am i doing wrong here?