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

Is shell a scripting language?

1015


Where are cowrie shells found?

1018


What is mac default shell?

1101


How to check if the previous command was run successfully?

1045


What is the purpose of scripting?

1086


What is another name for a bash shell script that you might see?

1476


write a shell script to check the failed jobs?

4406


Why is a script important?

1069


What is awk in shell scripting?

1029


Explain about login shell?

1122


Write down the syntax of "for " loop

1104


How will you find the 99th line of a file using only tail and head command?

2538


How do I open a jshell in cmd?

1249


What is basename in shell script?

1057


What are scripts in psychology?

1068