Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-18 Thread Mayank Jain
On 1/18/06, Raj Shekhar [EMAIL PROTECTED] wrote:
 There are a gazillion ways to check your distro version - the easiest
 one being that the previous sysadmin or the box owner tells you.
 Sometimes that is not possible. /etc/issue.net is *one* of the ways to
 find the distribution - though not the only one.

http://kde-look.org/content/show.php?content=33375
This might be of some help :-)

--
regards,
makuchaku
---
http://makuchaku.info
When you speak out with the courage of your convictions, people listen!
-- Valmik Thapar, Wildlife Conservationist.

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-17 Thread Mayank Jain
On 1/17/06, Mithun Bhattacharya [EMAIL PROTECTED] wrote:
  [EMAIL PROTECTED]:~$ set | grep BASH_VERSINFO
  BASH_VERSINFO=([0]=3 [1]=1 [2]=5 [3]=1 [4]=release
  [5]=i486-pc-linux-gnu)
  [EMAIL PROTECTED]:~$

 Seems some of you guys dont read the obvious thing which is the
 variable name - it is Bash version not Debian version.

Certainly it might now work on all platforms  its just the BASH
version, but atleast it allows identification of a stock RH/Fedora
installation. Likewise, /etc/issue.net can be changed anytime, but
atleast it allows you to identify a system in some cases.

There can be zillion of other things that dont have a set strategy...
OS fingerprinting can be one example, but a cumulative effect of
various mechanisms can give surprisingly accurate results!

--
regards,
makuchaku
---
http://makuchaku.info
When you speak out with the courage of your convictions, people listen!
-- Valmik Thapar, Wildlife Conservationist.

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-17 Thread Mithun Bhattacharya


--- Mayank Jain [EMAIL PROTECTED] wrote:

 Certainly it might now work on all platforms  its just the BASH
 version, but atleast it allows identification of a stock RH/Fedora
 installation. Likewise, /etc/issue.net can be changed anytime, but
 atleast it allows you to identify a system in some cases.
 
 There can be zillion of other things that dont have a set strategy...
 OS fingerprinting can be one example, but a cumulative effect of
 various mechanisms can give surprisingly accurate results!

Bash version will tell you just that the version of Bash you are using.
Simillarly OS fingerprinting will tell you which version of the kernel
is running.

What I have been saying is that to know specifically which version of a
distribution is installed just follow the strategy which the
distribution uses to determine version.

RedHat : /etc/redhat-release
Fedora : /etc/fedora-release
Debian : /etc/debian-release
Slackware : /etc/slackware-release

For a more complete list read this:
http://www.novell.com/coolsolutions/feature/11251.html



Mithun

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-17 Thread Sankarshan Mukhopadhyay
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mithun Bhattacharya wrote:

 What I have been saying is that to know specifically which version of a
 distribution is installed just follow the strategy which the
 distribution uses to determine version.
 
 RedHat : /etc/redhat-release
 Fedora : /etc/fedora-release
 Debian : /etc/debian-release
 Slackware : /etc/slackware-release

For tolerably LSB compliant systems lsb_release -a might do the trick.

Rgds
SM

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFDzOXZ+g4kmZ76nyERAlaaAKCK+Ppy6BlSt6JXAuBNpVkbaZOKfwCgqgnk
vjch7TZScANWOHk7vaIgiDI=
=0Ol3
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-17 Thread Raj Shekhar
There are a gazillion ways to check your distro version - the easiest 
one being that the previous sysadmin or the box owner tells you. 
Sometimes that is not possible. /etc/issue.net is *one* of the ways to 
find the distribution - though not the only one.

Cheers
-- 
  _.-,   raj shekhar
 .--'  '-._   http://rajshekhar.net
  _/`-  _  '.   http://rajshekhar.net/blog
''._`.. \
   ` \;  WE APOLOGIZE FOR THE INCONVENIENCE
 ;_\-- God's Last Message to his Creation

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-16 Thread Mayank Jain
On 1/16/06, Mithun Bhattacharya [EMAIL PROTECTED] wrote:

  On Sun, Jan 08, 2006 at 05:14:01PM -0800, Brian Street wrote:
   hello svlugers,
  
   This is a stupid question, or it seems so to me, but I don't know
  how
   to answer it.
  
   If I know a system has linux installed but don't know what flavor,
  how
   can I tell which it is (ie. Suse, RedHat, Debian, etc.)?

 A distribution is just a collection of packages. It doesn't have any
 specific technical information which needs to be standardized across
 distributions. What every distribution does have is to consistently
 inform the release of that specific distribution which will be
 consistent across versions of that distribution.

[EMAIL PROTECTED] set | grep BASH_VERSINFO
BASH_VERSINFO=([0]=3 [1]=00 [2]=14 [3]=1 [4]=release
[5]=i386-redhat-linux-gnu)
[EMAIL PROTECTED]

--
regards,
makuchaku
---
http://makuchaku.info
When you speak out with the courage of your convictions, people listen!
-- Valmik Thapar, Wildlife Conservationist.

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-16 Thread Mithun Bhattacharya

 On Sun, Jan 08, 2006 at 05:14:01PM -0800, Brian Street wrote:
  hello svlugers,
  
  This is a stupid question, or it seems so to me, but I don't know
 how
  to answer it.
  
  If I know a system has linux installed but don't know what flavor,
 how
  can I tell which it is (ie. Suse, RedHat, Debian, etc.)?

A distribution is just a collection of packages. It doesn't have any
specific technical information which needs to be standardized across
distributions. What every distribution does have is to consistently
inform the release of that specific distribution which will be
consistent across versions of that distribution.


Mithun

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-16 Thread Raj shekhar
in infinite wisdom Mayank Jain spoke thus on 01/16/06 14:49:

 [EMAIL PROTECTED] set | grep BASH_VERSINFO
 BASH_VERSINFO=([0]=3 [1]=00 [2]=14 [3]=1 [4]=release
 [5]=i386-redhat-linux-gnu)
 [EMAIL PROTECTED]

does this work on debian flavors ?


-- 
  _.-,   raj shekhar
 .--'  '-._   http://rajshekhar.net
  _/`-  _  '.   http://rajshekhar.net/blog
''._`.. \
   ` \;  WE APOLOGIZE FOR THE INCONVENIENCE
 ;_\-- God's Last Message to his Creation

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-16 Thread nipra
Hi,

On 1/16/06, Raj shekhar [EMAIL PROTECTED] wrote:
 in infinite wisdom Mayank Jain spoke thus on 01/16/06 14:49:

  [EMAIL PROTECTED] set | grep BASH_VERSINFO
  BASH_VERSINFO=([0]=3 [1]=00 [2]=14 [3]=1 [4]=release
  [5]=i386-redhat-linux-gnu)
  [EMAIL PROTECTED]

 does this work on debian flavors ?

This is what I got on Debian Sarge:

[EMAIL PROTECTED]:~$ set | grep BASH_VERSINFO
BASH_VERSINFO=([0]=3 [1]=1 [2]=5 [3]=1 [4]=release
[5]=i486-pc-linux-gnu)
[EMAIL PROTECTED]:~$

Certainly it didn't give information about the distro flavor.

Regards
Nikhil Prabhakar

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-16 Thread Mithun Bhattacharya


--- nipra [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED]:~$ set | grep BASH_VERSINFO
 BASH_VERSINFO=([0]=3 [1]=1 [2]=5 [3]=1 [4]=release
 [5]=i486-pc-linux-gnu)
 [EMAIL PROTECTED]:~$

Seems some of you guys dont read the obvious thing which is the
variable name - it is Bash version not Debian version.



Mithun

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



[ilugd] [Fwd: Re: [svlug] How to tell which flavor of Linux is installed?]

2006-01-14 Thread Raj Shekhar


 Original Message 
Subject: Re: [svlug] How to tell which flavor of Linux is installed?
Date: Sun, 8 Jan 2006 20:43:28 -0500
From: stripes [EMAIL PROTECTED]
To: Brian Street [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]

Hi Brian,

Check /etc/issue.net. Mine says:
tigerbox:/home/stripes# more /etc/issue.net
Debian GNU/Linux testing/unstable

-Anne

On Sun, Jan 08, 2006 at 05:14:01PM -0800, Brian Street wrote:
 hello svlugers,
 
 This is a stupid question, or it seems so to me, but I don't know how
 to answer it.
 
 If I know a system has linux installed but don't know what flavor, how
 can I tell which it is (ie. Suse, RedHat, Debian, etc.)?
 
 Thanks,
 Brian.
 
 ___
 svlug mailing list
 [EMAIL PROTECTED]
 http://lists.svlug.org/lists/listinfo/svlug
 
--
I get plenty of exercise- jumping   (\`--/') _ ___ .-r-.
to conclusions, pushing my luck, .~.\ `` ` `,`,`. ,'_'~`.
and dodging deadlines. -Anonymous   (v_, ; `,-\ ; : ; \/,-~) \
stripes at tigerlair dot com `--'_..),-/ ' ' '_.-' )`.`.__.')
stripes at brickbox dot com ((,((,__..'~~((,__..'  `-..-'fL

___
svlug mailing list
[EMAIL PROTECTED]
http://lists.svlug.org/lists/listinfo/svlug


-- 
  _.-,   raj shekhar
 .--'  '-._   http://rajshekhar.net
  _/`-  _  '.   http://rajshekhar.net/blog
''._`.. \
   ` \;  WE APOLOGIZE FOR THE INCONVENIENCE
 ;_\-- God's Last Message to his Creation

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/