Bash Script to print Fibonacci series
PythonBaba - 0
How to generate Fibonacci series using Linux Bash Script
Linux Bash Script
echo "How many number of Fibonacci series you want to print"
read num
if ]
then
...
Bash script to check the input string is palindrome or not.
PythonBaba - 0
How to print the reverse of number n entered by user
Linux Bash Script
echo "Input the string without space"
read str
for i in $(seq 0 ${#str})...
Bash script to print the reverse of number n entered by...
PythonBaba - 0
How to print the reverse of number n entered by user
Linux Bash Script
echo "Input the number"
read num
while ]
do
...
Bash script to count the set bits in a number n...
PythonBaba - 0
How to calculate the sum of digits of a number n entered by user
Linux Bash Script
echo "Enter number: whose set bits are to be...
Bash script to calculate the sum of digits of a number...
PythonBaba - 0
How to calculate the sum of digits of a number n entered by user
Linux Bash Script
echo "Input the number: whose sum of digits need...
Bash script to generate n prime numbers
PythonBaba - 0
How to generate n prime numbers using Linux Bash Script
Linux Bash Script
echo "This progrm will generate prime number from range x to y"
echo "Enter...
Bash script to calculate factorial of number n entered by user
PythonBaba - 0
How to calculate factorial of number n entered by user
Linux Bash Script
i=$1
temp=1
while ]
do
let temp=$temp*$i
...
Bash script to accept n numbers as command line arguments and...
PythonBaba - 0
How to display the sum of n numbers entered from command line
Linux Bash Script
#Bash script to accept n numbers as command line arguments and display the sum of n numbers
for i in `echo $@`
do
...
Bash script to accept three numbers as command line arguments and...
PythonBaba - 0
How to display the largest number using bash script out of three
Linux Bash Script
if ]
then
if ]
...
Bash script to display all the command line arguments entered by...
PythonBaba - 0
How to display all the command line argument
Linux Bash Script
echo $0
#It will print the first argument
for i in `echo $@`
#echo $@...