-
Program to Find Fibonacci Series using Shell Script
This is the bash code for Fibonacci Series upto a number n which will be inserted by user. Code: clear echo “Program to Find Fibonacci Series” echo “How many number of terms to be generated ?” read n x=0 y=1 i=2 echo “Fibonacci Series up to $n terms :” echo “$x” echo “$y” while […
-
Shell Scripting Program to check if a Number is Palindrome
Palindrome Numbers are the numbers whose reverse will also give you the same number. For Example, 567 is not a palindrome number because the reverse of 567 is 765 which is not same as the number, whereas 8778 is a palindrome which on reverse will also give the same number. Following is a shell scripting…