Bash, jeśli liczba większa niż zero

if [ $number -gt 0 ]; then
    ...
fi
Armandres