Linux OS Shell Question: Download Questions PDF
What is the output of the following code:
os=Unix
echo 1.$os 2."$os" 3.'$os' 4.$os
a) 1.Unix 2.Unix 3.Unix 4.Unix
b) 1.Unix 2.Unix 3.$os 4.Unix
c) 1.Unix 2.Unix 3.Unix 4.$os
d) 1.Unix 2.$os 3.$os 4.$os
Answer:
b) 1.Unix 2.Unix 3.$os 4.Unix
Download Linux Shell Interview Questions And Answers
PDF