Search code examples
linuxbashunixterminalexpr

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


What is the main difference between $(()) and expr in Unix-Like systems?


Solution

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