Question & Answer
Question
How can I determine which version of Linux I am running?
Answer
You can easily identify the version of Linux installed on your system by running the command as shown in the following example:
[nz@AMP50-1 ~]$ cat /proc/version
Linux version 2.6.18-141.el5 (mockbuild@ls20-bc1-14.build.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Fri Apr 24 17:46:35 EDT 2009
You could also run the following command on Red Hat systems to get the version of Red Hat:
[nz@AMP50-1 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Historical Number
NZ314581
Was this topic helpful?
Document Information
Modified date:
17 October 2019
UID
swg21570666