In borne style shells, the syntax is something like this:
Code:
#!/bin/bash
a=4
b=6
c=1
# Single condition
if [ $a -lt $b ]; then
echo "$a is less than $b"
fi
# multiple conditions, not this could also be written
# as [ $b -ge $c ]
if [ $b -gt $c ] || [ $b -eq $c ]; then
echo "$b is greater than or equal to $c"
fi