You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
$( )is needed if you have nested command substitutions; otherwise you'd have to escape the inner``\$\endgroup\$$()when I wanted to run the substitution on my machine instead of thescptarget machine, for example. In most cases they're identical. \$\endgroup\$$()can do if you quote things properly. (unless you need your command to survive something that munges$but not backticks). There are some subtle differences in quoting things inside them. mywiki.wooledge.org/BashFAQ/082 explains some differences. Unless you're golfing, never use backticks. \$\endgroup\$echo `bc <<<"\`date +%s\`-12"`... (It's hard to post sample containing backtick in comment, there! ;) \$\endgroup\$