Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> command to check linux distribution
nivedhitha
post 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
Go to the top of the page
 
+Quote Post
DS2K3
post 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


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
nivedhitha
post 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!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 08:56 AM