What is the primary purpose of the $ symbol in Unix/Linux shell scripting?

PYQ IBPS SO CRP SPL-XIV (2024)

What is the primary purpose of the $ symbol in Unix/Linux shell scripting?

  1. A.

    To terminate a running process

  2. B.

    To define comments in a shell script

  3. C.

    To access the value of a variable or perform command substitution

  4. D.

    To declare loop variables in Bash

  5. E.

    To redirect output to another file

Attempted by 53 students.

Sign up free to check your answer

Sign up free

Explore the full course: Ibps So It Mains

Loading lesson…