Possible Duplicate:
How do you find the Ubuntu version (release number / name) from the command line?

I have Ubuntu Linux installed on a computer. How can I check in the command line (no GUI desktop available) which version of the distribution it is running?


Try this command:

lsb_release -a

It should give you a hint of the version.

| improve this answer | |

The command is:

$ cat /etc/lsb-release

Which will return Ubuntu specific version information


$ uname -a

which will give you information about the kernel and hardware

| improve this answer | |

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