What's the difference between $(stuff) and `stuff`?
292
votes
6
answers
46456
views
There are two syntaxes for command substitution: with dollar-parentheses and with backticks.
Running
top -p $(pidof init)
and `top -p
pidof init
` gives the same output. Are these two ways of doing the same thing, or are there differences?
Asked by tshepang
(67482 rep)
Jan 13, 2011, 11:02 AM
Last activity: Aug 20, 2024, 12:29 PM
Last activity: Aug 20, 2024, 12:29 PM