Computing.Net > Forums > Linux > Cmd to find out Linux distributor

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Cmd to find out Linux distributor

Reply to Message Icon

Name: G Chen
Date: February 19, 2004 at 06:25:59 Pacific
OS: RH 9.0
CPU/Ram: 1.8G/512mb
Comment:

Folks:
Do you know if there is a command I can use to find out the distributor of the Linux box I am using? I mean, I want to find out if I am using: Redhat, Debian, Suse, Mandrake, etc. I tried "uname -a" but it just prints out information such as kernel version, CPU type, date when that version was released, etc.

Can anybody help? Thanks a lot!



Sponsored Link
Ads by Google

Response Number 1
Name: heart_debian
Date: February 19, 2004 at 07:43:03 Pacific
Reply:

Different Distributors have different ways to record the version number (and their name). On RH9, the file /etc/redhat-release contains the info. Simply do a "cat /etc/redhat-release".


0

Response Number 2
Name: 987
Date: February 19, 2004 at 10:11:17 Pacific
Reply:

Don't think there's a reliable way for every distro, how about simply 'ls /etc'? If it's Red Hat, you'll see 'redhat-release'. If it's Debian , you'll see 'debian-version' ...


0

Response Number 3
Name: ...
Date: February 19, 2004 at 11:10:12 Pacific
Reply:

my slackware is like that too

try typing: ls /etc/*-version


0

Response Number 4
Name: G Chen
Date: February 20, 2004 at 09:39:42 Pacific
Reply:

Thanks, dudes. You guys are all wonderful.

Sam



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Cmd to find out Linux distributor

How to find disk info in Linux ? www.computing.net/answers/linux/how-to-find-disk-info-in-linux-/18739.html

How do I find out my Linux gateway www.computing.net/answers/linux/how-do-i-find-out-my-linux-gateway-/30107.html

command to find rpm of disk? www.computing.net/answers/linux/command-to-find-rpm-of-disk/23294.html