Backticks vs braces in Bash

The “ is called Command Substitution and is equivalent to $() (parenthesis), while you are using ${} (curly braces). So all of these expressions are equal and mean “interpret the command placed inside”: joulesFinal=`echo $joules2 \* $cpu | bc` joulesFinal=$(echo $joules2 \* $cpu | bc) # v v # ( instead of { v # … Read more