Open a terminal program (get to a command prompt) and type uname -a.
This will give you your kernel version, but might not mention the distribution your running.
To find out what distribution of linux your running (Ex.
Ubuntu) try lsb_release -a or cat /etc/*release or cat /etc/issue* or cat /proc/version.
How do I know which Linux distribution I have?
Check os version in Linux
- Open the terminal application (bash shell)
- For remote server login using the ssh: ssh [email protected]
- Type any one of the following command to find os name and version in Linux: cat /etc/os-release. lsb_release -a. hostnamectl.
- Type the following command to find Linux kernel version: uname -r.
How do I find the RHEL version?
You can see the kernel version by typing uname -r . It’ll be 2.6.something. That is the release version of RHEL, or at least the release of RHEL from which the package supplying /etc/redhat-release was installed. A file like that is probably the closest you can come; you could also look at /etc/lsb-release.