##Accept the string and checks whether the string is palindrome or not.#echo -n "Enter any string :"read string reverse=`echo $string|rev` if [ "$string" = "$reverse" ] then echo "String is palindrome"else echo "String is not palindrome"fi