The primitives available for comparison of numeric values are
For example:
#!/bin/sh if test $# -le 5 then echo Less than or equal to five parameters. else echo More than 5 parameters. fi exit 0