Linux OS Shell Question: Download Questions PDF
What is the return value ($?) of this code:
os = Unix
[$osName = UnixName] && exit 2
[${os}Name = UnixName] && exit 3
a) 0
b) 1
c) 2
d) 3
Answer:
d) 3
Download Linux Shell Interview Questions And Answers
PDF