Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a shell program to check wheather a given string is
pallindrome or not?

Answer Posted / ishita sen

echo Enter the string
read s
echo $s > temp
rvs="$(rcs temp)"
if [ $s = $rcs ]
then
echo "it is palindrome"
else
echo " it is not"
fi

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is web script?

1027


What does the sh command do?

1025


What does $$ mean in shell script?

990


What is the first line in a shell script?

1022


How do we delete all blank lines in a file?

1051


Explain about debugging?

964


What does $@ mean in shell?

959


How do I debug a shell script?

1019


Is powershell a bash?

1014


How do we create command aliases in a shell?

935


What language is used in terminal?

934


What can you do with powershell?

1060


What is $1 in shell scripting?

982


How do you know which shell I am using?

983


What is a program shell?

983