RosettaCodeData/Task/Conditional-structures/UNIX-Shell/conditional-structures-7.sh

8 lines
142 B
Bash

if (4 >= 6) then
echo '4 is greater than or equal to 6'
else if (4 < 6) then
echo '4 is less than 6'
else
echo '4 compares not to 6'
endif