How to get Linux distribution name and version?
lsb_release -ds ; uname -mr
on my system yields the following from the bash (terminal) prompt:
Ubuntu 10.04.4 LTS
2.6.32-41-generic x86_64
Try:
cat /etc/lsb-release
You can also try
lsb_release -a
Or:
cat /proc/version
trying this way is an interesting one and less restrictive than lsb-release.
$ cat /etc/*-release