Q. How do I find factorial of a number using recursion function in Bash Ans: #!/bin/bash #Recursive factorial function factorial() { local=$...Read more »

The Magician Of Linux
Q. How do I find factorial of a number using recursion function in Bash Ans: #!/bin/bash #Recursive factorial function factorial() { local=$...Read more »
Q. How do I write Shell Script function to find "a" to the power "b" Ans. #!/bin/bash #function to find "a" to...Read more »
Q. How do I write Bash Script to add two numbers using function Ans: #!/bin/bash #function to add two numbers add() { x=$1 y=$2 echo -e ...Read more »