user6439844 user6439844 - 1 year ago 65
Linux Question

What is the difference between $(()) and expr?

What is the main difference between

$(())
and
expr
in Unix-Like systems?

Answer Source

$(()) will almost certainly be within the shell that you are using. expr may be an external call

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download