1.
What will be the output for below mention shell script
$ [ 5 -lt 10 ]; echo $?
2.
What is the the output of the following statements of shell script?
a="Hello"
a
3.
What is the output of the following shell script?
a="Hello"
b="World"
if [ -n a ]; then
echo $a;
fi
echo $b
4.
What is the output of the following shell script?
a="Hello"
b="World"
if [ -z a ]; then
echo $a;
fi
echo $b
5.
Which variable is used to store the secondary prompt string in Unix?
6.
What will be the output for below mention UNIX script
echo `expr 6 + 3`
7.
What will be the output for below mention UNIX shell script
echo "expr 6 + 3"
8.
What the below mention UNIX statement represent
[ -e file ]
9.
What the below mention UNIX statement represent
[ -f file ]
10.
What the below mention UNIX statement represent -s file