use OR in shell script

63

use OR in shell script -

if [ $uptime -lt 0 ] || [ $questions -lt 1 ] || [ $slow -gt 10 ]; then
    some code
fi

Comments

Submit
0 Comments