How to get linux version
To get the version information from ubuntu try "cat /etc/lsb-release".
To get the version information from Red Hat Enterprise Linux try "cat /etc/redhat-release"
To get the version information from Fedora Core try "cat /etc/fedora-release"
To get the version information from Suse try "cat /etc/SuSE-release"
To get the version information from ubuntu try "cat /etc/lsb-release".
To get the version information from Red Hat Enterprise Linux try "cat /etc/redhat-release"
To get the version information from Fedora Core try "cat /etc/fedora-release"
To get the version information from Suse try "cat /etc/SuSE-release"