If you get this error, it's usually because you don't have coreutils installed.
-bash: expr: command not found Install coreutils and you'll be good:
-bash: expr: command not found
apt-get -y install coreutils
bash, expr, linux, debian, mint, ubuntuif, coreutils, installed, install, ll, apt,