Re: Help!

Russell Senior <[email protected]>
Newsgroups gmane.org.user-groups.linux.pdxlug
Message-ID <[email protected]>
>>>>> "Steve" == Steve  <[email protected]> writes:

Steve> yeah, that works (try it on a mandrake box and tell me which
Steve> answer's right).

Steve> $ find /etc -maxdepth 1 -name \*release -or -name \*version
Steve> /etc/mandrake-release 
Steve> /etc/redhat-release

So you know it is either mandrake or redhat.  What does rpm tell you
about the origins of those two files (i.e. package membership), BTW?

Here's what I get on a sampling of my machines:

  $ uname -a 
  Linux celilo 2.6.8-rc2 #1 SMP Wed Jul 21 01:31:59 PDT 2004 i686 GNU/Linux

  $ uname -a 
  Linux clarno 2.6.5 #1 SMP Sat Apr 17 03:16:32 PDT 2004 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux

  $ uname -a 
  Linux hoquiam 2.4.26-1-386 #2 Sat May 1 16:31:24 EST 2004 i686 GNU/Linux

So, what distributions are those?  Not a lot of clue in there.

on celilo, the find command gives me:

  /etc/debian_version

on clarno:

  /etc/gentoo-release

on hoquiam:

  /etc/debian_version

According to my google search, that is the reliable-ish way to find
out.  It is a little surprising there isn't a more robust way (except
for *booting* and looking for the splash screen, I suppose).

-- 
Russell Senior         ``I have nine fingers; you have ten.''
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.