Tuesday, July 12, 2011

Variable: not found in bash script

I was trying to assign a value to a variable using bash script and got this error.

Solution

You can't have space around the "=" sign. Remove the space around the equal to sign and run the script.

No comments:

Post a Comment