Bash - Let (Arithmetic expression evaluation)

Bash Liste Des Attaques Ovh


Let is a builtin command that evaluate an arithmetic expression.


let arg [arg ...]
# equivalent to



  • the last arg evaluates to 0, let returns 1;
  • 0 is returned otherwise.

Documentation / Reference

Discover More
Bash Liste Des Attaques Ovh
Bash - Arithmetic Expression

arithmetic in bash part of compound expression . Counter Simple addition where let is the let command If the value of the expression is: non-zero, the return status is 0; otherwise ...
Bash Liste Des Attaques Ovh
Bash - Builtin Commands

builtin refers to: a builtin command. See or to the specific builtin command. See (useful when defining a function whose name is the same as a shell builtin) The builtin command execute the specified...
Bash Liste Des Attaques Ovh
Shell - Compound Commands

A compound command is one of the following: where () defines the execution environment as a subshell Variable assignments and builtin commands that affect the shell’s environment do not...

Share this page:
Follow us:
Task Runner