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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some instructions say to put 'uname -r' into terminal commands. Is this supposed to be automatically converted by the system to something else? It doesn't get converted to anything on my system. uname -r only works by itself but not as a program argument.

share|improve this question
It would be helpful to have a link to these "instructions" :) – John T Aug 8 '10 at 1:24
up vote 5 down vote accepted

Probably, it says:

`uname -r`

Make sure you use the right quotes. A trivial example is:

echo `uname -r`

Of course, this is just equivalent to:

uname -r

The backquotes capture the output of the command as a string. Generally the equivalent:

echo $(uname -r)

is considered clearer. It nests correctly, and it's harder to misinterpret.

share|improve this answer
It was the quotes. – tony_sid Aug 8 '10 at 4:34

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.