There are two ways to capture the output of command line in bash:
bash
Legacy Bourne shell backticks ``:
``
var=`command`
$() allows nesting.
$()
out=$(echo today is $(date))
I think backticks does not allow it.