Vous êtes sur la page 1sur 1

#if

#(ssh raheel@172.16.20.41) echo "YES" else echo "NO" fi


#!/bin/ksh
#
#
# Description: The Script Checks the filesystem and sends alerts depending on th
e thresholds defind in the
#
'fsystems' file residing in current working directory
#
unset ABC
ssh raheel@172.16.20.40 exit 10
ABC=$?
#echo $?
echo "ABC ="$ABC
if test $ABC -eq 10
then
echo "good work"
else
echo "bad work"
fi
echo "ABC ="$ABC

Vous aimerez peut-être aussi