Question: When used from within a script, which variable contains the name of the script?
- \$0
- \$# // number of positional parameters
- \$\$ // pid of the current shell
- \$@ // array-like construct of all positional parameters
Answer: The correct answer of the above question is Option A:\$0