Question: Which shells will run the following code without error ( s ) ? That is , which shells use the following syntax for if statements.
Which shells will run the following code without errors That is which shells use the following syntax
for if statements.
a
if $a lt
then
echo test is true
else
echo test is false
fi
a All shells in the Ubuntu family of distributions.
b All shells in the Debian family of distributions.
c Shells of the sh and bash family.
d Shells of the csh and tcsh family.
e All of the above
f None of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
