Query System Information in CentOS
Enter "uname-a" to display information about your computer and operating system.
Enter "cat/proc/version" to display the running kernel version.
Enter "cat/etc/issue" to display the release version.
Lsb_release-a (applicable to all linux releases, including Redhat, SuSE, and Debian, but lsb must be installed in debian)[Cpp] view plaincopy
- SZV1000123502 :~ # Uname-
- LinuxSZV10001235023.0.76-0.11-default #1SMPFriJun1408: 21: 43UTC2013 (ccab990) x86_64x86_64x86_64GNU/Linux
- SZV1000123502 :~ # Cat/proc/version
- Linuxversion3.0.76-0.11-default (geeko @ buildhost) (gccversion4.3.4 [gcc-4_3-branchrevision152973] (SUSELinux) #1SMPFriJun1408: 21: 43UTC2013 (ccab990)
- SZV1000123502 :~ # Cat/etc/issue
- Welcometosuselinuxjavasiseserver11sp3 (x86_64)-Kernel \ r (\ l ).
- SZV1000123502 :~ # Lsb_release-a
- LSBVersion: n/
- DistributorID: SUSELINUX
- Description: SUSELinuxEnterpriseServer11 (x86_64)
- Release: 11
- Codename: n/
- SZV1000123502 :~ #