Which of the following is a valid variable assignment?
MY VAR= “set to one”
|Explanation & Hint:
The valid variable assignment among the options you provided is:
Variable names in many programming languages, including Bash scripting, typically cannot start with a number or contain spaces. They also usually cannot contain special characters other than underscores.
So, the first three options are not valid variable assignments:
The fourth option,