UpTest > Operating Systems > Unix Shell Script Test

Test: Unix Shell Script Test

Question 1: Prev Next Hide answers
What is the output of the following program?

b=
[ -n $b ]
echo $?
[ -z $b ]
echo $?
An error will occur
0 votes
1
1
0 votes
2
2
0 votes
0
0
3 votes
0
1
0 votes
Please login to submit your answer.