What is the error in the following program?
1. x=10
2. if [ x -ge 2 ]
3. then
4. echo $x
5. fi
Correct Answer:
Line 2 should be if [ $x -ge 2 ]
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Unix Shell Script MCQ Questions