Want to know which version your linux box is? Simple question isn't it...
Run the following commands:
Run the following commands:
cat /etc/*-release - This will give the distro of your linuxFor Ex: for RHEL 5 it will give:Red Hat Enterprise Linux Server release 5 (Tikanga)lsb_release -a - The lsb_release command displays certain LSB (Linux Standard Base) and distribution-specific informationFor Ex:LSB Version: :core-3.1-ia32 Distributor ID: RedHatEnterpriseClient Description: Red Hat Enterprise Linux Client release 5.4 (Tikanga) Release: 5.4 Codename: Tikangauname -mrs - this will give you your kernel versionfor ex: Linux 2.6.32-5-amd64 x86_64- where:
- Linux - Kernel name
- 2.6.32-5-amd64 - Kernel version number
- x86_64 - Machine hardware name (64 bit)
Comments