DevOps, Day - 4
What is Linux shell scripting?Linux shell scripting is a way to tell your computer what to do by writing a set of commands in a file. When you run this file, the computer will execute the commands and perform tasks automatically. It's a useful tool f...
vrishni.hashnode.dev3 min read
Manish Kumar
I am working as Automation Test Engineer.
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.!