Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I normally have to write:

echo `someCommand` order for someCommand to be executed and its output to be sent to echo. Is there some way I can instead write:

echo someCommand

...and get the same effect - ie: no backticks?

share|improve this question

1 Answer 1

You can use

echo $(someCommand)

Instead of backticks, if it's just backticks you don't like.

share|improve this answer
I was hoping to save myself the extra keystrokes :) Any alternatives? – Taras Jul 8 '11 at 0:28
@Taras: Nope, this is the only other way. – Wuffers Jul 12 '11 at 4:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.