Examples
See the let command for more information and examples:
let "count=0" "i = i + 1"
Assign i and countlet "num % 2"
Test for an even number(( percent >= 0 && percent <= 100 ))
Test the range of a value
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.