In Linux, the expr command evaluates an expression passed to it and returns the corresponding value. We usually use it for basic arithmetic such as addition, subtraction, modulo operations, division, multiplication. We also use expr command to evaluate expressions.