#!/bin/ksh
# File: logged5

num=`who|wc -l`
if [ $num -lt 5 ] ; then
   echo Less than five logged on.
else
   echo Five or more logged on.
fi
