While I'm searching for bash
examples, I find the let
command but I never understand it.
I saw the man bash
, also I couldn't understand what let
expression does.
Some let
usage that I saw:
let z=z+3
let "z += 3"
What is the usage of let
?
Any explained example will be appreciated.
let
is the same as((...))
. You should read Stephane answer http://unix.stackexchange.com/a/149916/38906 for more detail. – cuonglm Nov 06 '15 at 03:50