What is expr in shell script? Answer
expr is a command line utility on Unix and Unix-like operating systems which evaluates an expression and outputs the corresponding value. It first appeared in Unix v7. The expr command has also been ported to the IBM i operating system.