Linux OS Shell Question:
Download Questions PDF

To redefine a variable, it can be removed from the list of variables by using the command:
a) unset
b) delete
c) remove
d) clear

Linux Shell Interview Question
Linux Shell Interview Question

Answer:

a) unset

Download Linux Shell Interview Questions And Answers PDF

Previous QuestionNext Question
The statement z = 'expr 5 / 2′ would store which of the following values in z?
a) 0
b) 1
c) 2
d) 2.5
e) 3
What is the output of this program?

#!/bin/bash
san_var=10
echo "the value of "san_var" is $san_var"
exit 0
a) the value of "san_var" is 10
b) the value of is 10
c) the value of san_var is $san_var
d) the value of "san_var" is $san_var