Hi I would like to thank all of you who took the trouble to write to me with your suggestions.
I thought I would share with you the solution to the problem. The solution was given to me by Greg M whom I owe a big thank you ! Regards Godfrey #!/usr/local/bin/bash statname="Client Accounts" cd /home/full full=$[`ls -l | grep -v ^l | wc -l`] cd /home/guest guest=$[`ls -l | grep -v ^l | wc -l`] stat=$((guest+full)) total=$stat echo $total echo $[guest] /usr/bin/uptime echo "statname" cd / -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
