![]() ![]() |
Jan 3 2008, 05:45 AM
Post
#1
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 4 Joined: 3-January 08 Member No.: 13,230 |
Hi all,
Is there a single command in Linux to check which Linux distribution(that is, flavour) am I running? For example, $cat /etc/issue on a RHEL machine shows Red Hat Enterprise Linux Server release 5 (Tikanga) Kernel \r on an \m But if I want to check if I am running on RedHat or SUSE, then what command should I key in? Regards, nivedhitha |
|
|
|
Jan 3 2008, 08:21 PM
Post
#2
|
|
![]() Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Support Specialist Posts: 1,284 Joined: 14-November 04 From: Southampton, Hampshire Member No.: 4,165 |
I was wondering this myself the other day. Alas, I don't think there is a one-command-fits-all to find out which distribution you have. My suggestion would be that you turn the thing off and on and see what it says.
You *might* get some clues by running "uname -r" which will show you kernel version - Some ditributors will rename the kernel to make it specific to their distro (eg, RHEL kernels have RHEL in their name) D -------------------- |
|
|
|
Jan 7 2008, 05:01 AM
Post
#3
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 4 Joined: 3-January 08 Member No.: 13,230 |
thanks DS2K3!
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 4th July 2009 - 09:05 AM |