#!/bin/bash   san_var=hello   readonly san_var   san_var=hi   echo $san_var   exit 0
A. hello
B. hi
C. nothing will print
D. none of the mentioned
Answer:A
#!/bin/bash   san_var=hello   readonly san_var   san_var=hi   echo $san_var   exit 0
A. hello B. hi C. nothing will print D. none of the mentioned
Explanation:After the execution of the ‘readonly’ command, shell will not provide the permission to overwrite the value stored in variable ‘san_var’.