#shell-scripting-logical-or-operator
Read more stories on Hashnode
Articles with this tag
#!/usr/bin/bash age=50 if [ "$age" -gt 18 ] || [ "$age" -lt 30 ] then echo "valid age" else echo "age not valid" fi