The issue over here is with the permission for the bash file. So what you have to do is to give it the execution permission. Use this command to modify the permission for this file. chmod +x file_name
Thank you ,it worked