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
Is shell a scripting language?
Where are cowrie shells found?
What is mac default shell?
How to check if the previous command was run successfully?
What is the purpose of scripting?
What is another name for a bash shell script that you might see?
write a shell script to check the failed jobs?
Why is a script important?
What is awk in shell scripting?
Explain about login shell?
Write down the syntax of "for " loop
How will you find the 99th line of a file using only tail and head command?
How do I open a jshell in cmd?
What is basename in shell script?
What are scripts in psychology?