This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: cygwin-1.7.3-1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]