Posts Tagged ‘get distribution name’

Linux get distribution name

Posted in Technical on September 8th, 2010 by iyoung – Be the first to comment

Seen a few people looking for this, the command I usually use to check the distribution name is
[code]cat /etc/issue[/code]
which returns: -
[code]CentOS release 5.3 (Final)[/code]

To check kernel version I usually use [code]uname -a[/code]
which returns: -
[code]Linux Cray2 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux[/code]