Which of the following symbol instructs a shell script to extract the value of a variable?
(a) *
(b) %
(c) $
(d) #
Answers
Answered by
6
(c) $ is the correct answer. Symbol $ instructs the shell script with extracting the value of a variable.
Character and mark used as conventional representation of function, object or process.
It effectively uses the variables in shell scripts and value stored in variable with prefixing name with the dollar sign.
Similar questions