Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

use OR in shell script

if [ $uptime -lt 0 ] || [ $questions -lt 1 ] || [ $slow -gt 10 ]; then
    some code
fi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #OR #shell #script
ADD COMMENT
Topic
Name
1+3 =