1.

readonly command is used to protect a variable from reassignment.(a) True(b) FalseI have been asked this question in homework.The above asked question is from Command Substitution and Shell Variables topic in portion The Shell of Unix

Answer»

The CORRECT OPTION is (a) True

To elaborate: A variable can be protected from reassignment by readonly command. unset is also an INTERNAL command. For example, to PROTECT a variable x from reassignment USE the following command,



Discussion

No Comment Found

Related InterviewSolutions