Advanced Linux Shell Scripting for DevOps
📍if
The basic syntax for the if statement is as follows:
COPY
if [[ condition ]]
then
# Code to execute if the condition is true
else
# Code to execute if the condition is false (optional)
fi
We will compare the two numbers by passing it as...
ankitkundala.hashnode.dev3 min read