cat /etc/issue
cat /etc/redhat-release
Just see the difference in output:
uname - Print kernel and system information. It's output will look like as below and tells you nothing about what OS is it:
Where,
- 2.6.32-358 - Linux kernel version number
- SMP - Kernel that supports multi core and multiple cpus.
2 – Kernel Version
6 – Major Revision
32 – Minor Revision
358.e16 – Fix/Revision Detail
cat /proc/version -
This output identifies the kernel version that is currently running. It includes the contents of /proc/sys/kernel/ostype, /proc/sys/kernel/osrelease, and /proc/sys/kernel/version files.Find Distribution Version
Type the following command:$ cat /etc/*release
No comments:
Post a Comment