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
Jul 6, 20231 min read4
Search for a command to run...
Articles tagged with #shell-scripting-logical-and-operator