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
Why do we use shell scripting?
Is shell scripting a language?
How does path variable work?
What is the command to find out today's date?
Write a script to print the first 10 elements of fibonacci series.
How can I send a mail with a compressed file as an attachment?
What are the advantages of shell script?
Why is shell scripting important?
What does chmod do?
What is option in shell script?
What is the best scripting language?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What is shell and terminal?
is this growing field and what is average package in this?
How can we find the process name from its process id?