delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/06/07:10:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4BBB16A5.3030607@gmail.com>
Date: Tue, 06 Apr 2010 21:10:29 +1000
From: Rurik Christiansen <rurikc AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.7.3-1
References: <announce DOT 20100404152209 DOT GA31490 AT calimero DOT vinschen DOT de> <20100404212837 DOT GA13198 AT onderneming10 DOT xs4all DOT nl> <4BB9944D DOT 5000005 AT gmail DOT com> <20100405142008 DOT GA10449 AT ednor DOT casa DOT cgf DOT cx> <Pine DOT NEB DOT 4 DOT 64 DOT 1004051023080 DOT 15933 AT panix1 DOT panix DOT com>
In-Reply-To: <Pine.NEB.4.64.1004051023080.15933@panix1.panix.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 6/04/2010 1:32 AM, Tim McDaniel wrote:
> On Mon, 5 Apr 2010, Christopher Faylor wrote:
>> On Mon, Apr 05, 2010 at 05:42:05PM +1000, Rurik Christiansen wrote:
>>> * How do I know what the current release is ? (e.g. is there
>>> something like /etc/redhat-release or whatever ? The docs mention
>>> /var/log/setup ... but is not clear at all)
>>
>> ... Otherwise, as Dave Korn suggests, you can *read the website*.
>
> I suppose that "/etc/redhat-release" is not as well-known a concept as
> he or I had thought.

RedHat -- /etc/redhat-release
Solaris -- /etc/release
SGI (SuSE) -- /etc/sgi-release

also the redhat offsprings have it:
centos -- /etc/redhat-release
fedora -- /etc/system-release

Don't know about Debian based systems, I think they have
/etc/debian_version.

>   As I understand it, it's a file that's
> maintained by the Redhat installation software to show, in an easy
> human-readable way, what is currently installed on the running system.
> It is only updated by new installs run on the machine.  I think that
> some other distributions put something in /etc/motd.

I saw it also on Solaris and SGI (SuSE variant). I thought is quite
customary nowadays and I mentioned RedHat only because I thought is most
recognizable.

As mentioned earlier 'uname' indeed shows the current version (thanks :)
... why didn't I thought of it ?)

I found it eventually also in the FAQ but maybe not in the manual (?,
maybe I didn't search properly).
So I guess it's back to RTFM for me ;D

Regards.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019