How to set NULL value to a variable
-
name=
-
name=''
-
name=""
-
all of the above
D
Correct answer
Explanation
All three methods set a variable to null/empty: name= (no value), name='' (empty single quotes), name="" (empty double quotes). In shell scripting, these all result in an empty string value, effectively NULL.