Problem Statement
Which is the correct way to define a variable in Bash?
Explanation
In Bash, variables are declared without spaces around the equal sign.
To use a variable later, prefix it with a dollar sign — for example, echo $var.
Code Solution
SolutionRead Only
name=Vipul echo $name