I try to run a script which has
#!/bin/bash
but i am getting error as "Illegal option --"
/bin/sh is not bash , aborting
. i try to change the first line to
#!/bin/sh
this time it is saying
x: unexpected operator
i tried runnigscript with ./ and sh, but both are failing.
please help.