Finding your Debian and Ubuntu install version
To find your Debian and Ubuntu install version:
Debian, type "cat /etc/debian_version"
Ubuntu, type "cat /etc/issue"
RedHat, type "cat /etc/redhat-release"
To find the Kernel version:
type, "uname -a" (prints all kernel information)
type, "uname -r" (prints your kernel release)
The "uname -r" command can be useful for installing things like the kernel headers, for example :-
apt-get install linux-headers-$(uname -r)
To find what software package version's have been installed:
type, "dpkg -l | grep "
For example to find what glib version you have installed:
type, "dpkg -l | grep libc6"
