MK
Hi Vrishni Shree V B, Very well explained but I would like to highlight one thing in your script where you are comparing 2 number if [$a -gt $b] then Note: this code will give an error because if and then must be separated either with semicolon (;) or with new like. As I have given below if [$a -gt -$b] then or if [$a -gt -$b]; then Happy Learning.!