How to view the version information under Linux
How to view the version information under Linux?
including the number of bits, version information, CPU kernel information, CPU specific model, etc..
We can check the Linux version with the following commands.
1. # uname -a (Linux view version current operating system kernel information)
Linux localhost.localdomain 2.4.20–8 #1 Thu Mar 13 17:54:28 EST 2003 i686 athlon i386 GNU/Linux
2. # cat /proc/version (Linux view the current operating system version information)
Linux version 2.4.20–8 (bhcompile@porky.devel.redhat.com)
(gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2–5)) #1 Thu Mar 13 17:54:28 EST 2003
3. # cat /etc/issue or cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
4. # cat /proc/cpuinfo (Linux view cpu related information, including model, frequency, kernel information, etc.)
processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 1 model name : AMD A4–3300M APU with Radeon(tm) HD Graphics stepping : 0 cpu MHz : 1896.236 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 6 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr
5. # getconf LONG_BIT (check the current CPU is running in 32bit mode or 64bit)
6. # lsb_release -a