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 write bin bash in shell scripts?
Which is better perl or shell scripting?
Write down the syntax for all the loops in shell scripting.
Calculate a real number calculation directly from the terminal and not any shell script.
How can I set the default rwx permission to all users on every file which is created in the current shell?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
What is web script?
Given a file find the count of lines containing the word "abc".
Explain about return code?
Is powershell a bash?
How do I open a jshell in cmd?
What is the first line in every perl script called?
What language is bash written in?
wats the deinitions for shell utility and filter?