Why is $(...) preferred over `...` (backticks)?

`...` is the legacy syntax required by only the very oldest of non-POSIX-compatible bourne-shells. There are several reasons to always prefer the $(...) syntax:

Important differences

Other advantages

See also:

BashFAQ/082 (last edited 2014-11-10 13:53:03 by geirha)