#!/bin/sh
# P. Conrad anotherDemoShellScript.sh
# demonstrate the "backtick" thing in a shell script

HOSTNAME=`hostname`
ME=`whoami`
TODAY=`date`

echo "Hello, my name is $ME, I'm logged into $HOSTNAME on $TODAY"

/home/usra/d9/55560/local/bin/curl -f http://jaguar.cis.udel.edu:8083 1>/dev/null 2>/dev/null

CURL_STATUS=$?

if [ $CURL_STATUS -eq 0 ] ; then
  echo status is zero
else
  echo status is not zero
fi

