What is the output of the following program?
z='[$x -lt 10 ]'
echo x=$x y=$y z=$z
x=3
y=
x=3 y=1 z=1
x=3 y=0 z=0
x=3 y=3 z=5
x=3 y=2 z=1
None of the above
Correct Answer:
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Unix Shell Script Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Unix Shell Script MCQ Questions
Which statement is false?
Output of the following shell script code?
Condition to check whether file with name 'xyz' is a regular file?
Which statement is incorrect regarding if-then-fi?
If x=11 and y=6, then what is the exit status of the following expression?
What is the error in the following program?
What's the output assuming that the command line arguments are Unix shell scripting?
Which is correct declaration(s) of a null variable 'a' in shell script?