#!/bin/bash a=`ps axu | wc -l` a=$((a-1)) if($a -gt $1) then echo Error: $1 is larger than $a. A default of 75 will be used. fi echo $a processes.