Question: When used from within a script, which variable contains the name of the script?

  1. \$0
  2. \$# // number of positional parameters
  3. \$\$ // pid of the current shell
  4. \$@ // array-like construct of all positional parameters

Answer: The correct answer of the above question is Option A:\$0