Write a Shell Script to check whether the given string is palindrome or not
echo "Enter String"
read String
size=`expr length "$String"`
msg="Palindrome"
for (( i = 0, j = size-1; i < size; i++,j-- )); do
if [[ ${String:i:1} != ${String:j:1} ]]; then
msg="Not Palindrome"
fi
done
echo "String is $msg"