Permission denied when running sh file
The permissions don't have the execute bit set, so bash won't execute the script. You can set the bit and execute the script:
chmod u+x mc.sh
./mc.sh
or let bash execute it for you:
bash mc.sh
The permissions don't have the execute bit set, so bash won't execute the script. You can set the bit and execute the script:
chmod u+x mc.sh
./mc.sh
or let bash execute it for you:
bash mc.sh