Correct bash to execute resource.