Linux OS Shell Question: Download Linux Shell PDF

What is the output of the following program?

[ -n $HOME ]
echo $?
[ -z $HOME ]
echo $?
a) 0
1
b) 1
0
c) 0
0
d) 1
1

Tweet Share WhatsApp