Shell Scripting - Logical 'AND' Operator
#!/usr/bin/bash
age=25
if [ "$age" -gt 18 ] && [ "$age" -lt 30 ]
then
echo "valid age"
else
echo "age not valid"
fi
Search for a command to run...
#!/usr/bin/bash
age=25
if [ "$age" -gt 18 ] && [ "$age" -lt 30 ]
then
echo "valid age"
else
echo "age not valid"
fi
No comments yet. Be the first to comment.
Pipeline job
we need to install ubuntu for two systems.one system need to install jenkins another one is slave. The jenkins systems insatalled jenkins. need to install java same version for both systems Jenkins system Slave system Now configure slave system g...
Video 2 Docker Essentials Check docker version Docker commands Volume help Image help Pull the image List images Pull alpine image list the images Check running container run the container To list the container To create another container ...
SonarQube is an open-source platform used for continuous inspection of code quality. It is primarily designed to analyze and review the codebase for various quality metrics such as bugs, vulnerabilities, code smells, test coverage, and maintainabilit...
Terraform is an infrastructure as code tool that enables you to safely and predictably provision and manage infrastructure in any cloud. OS version Update Import a key Offcial key add Update && Install terraform check terraform installed or not...