Tuesday, January 6, 2009

If .... Then in Unix Scripting

if [[ ${j}==0 ]]
then
echo "${j} is 0"
else
echo "${j} is not 0"
fi

No comments:

Post a Comment