I'm sure that there's no truly foolproof way to get your RedHat version, but consider:

sh-2.05b$ cat /etc/redhat-release 
Red Hat Linux release 8.0 (Psyche)

-That file is a text file...suppose somebody decides to be funny and edits it to say 
"Microsoft Windows 2000..."

sh-2.05b$ cat /proc/version
Linux version 2.4.18-18.8.0 ([EMAIL PROTECTED]) (gcc version 3.2 
20020903 (Red Hat Linux 8.0 3.2-7)) #1 Thu Nov 14 00:10:29 EST 2002

-I'm assuming this only works if you have a RedHat supplied kernel for your 
distribution

So I submit this way:

sh-2.05b$ rpm -q redhat-release
redhat-release-8.0-8

-Steve

-----Original Message-----
From: Binyon Steve Contr Det 4 AFC2TIG/ASRCC
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 9:31 AM
To: '[EMAIL PROTECTED]'
Subject: RE: how to get the system version?


To find out what Red Hat distro version was loaded I do a cat
/etc/redhat-release, 
as for kernel version, the uname -r seems to work. 
HTH
smbinyon

-----Original Message-----
From: Rigler, S C (Steve) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 7:48 AM
To: [EMAIL PROTECTED]
Subject: RE: how to get the system version?


For RedHat version:
cat /proc/version

For kernel version:
uname -r

-Steve

-----Original Message-----
From: Bruno Negrao [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 8:07 AM
To: [EMAIL PROTECTED]
Subject: how to get the system version?


Hi,

Which is the command that shows the version of the RedHat OS running?

Thanks,
bruno.

----- Original Message ----- 
From: "Jim Mediger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 11:25 AM
Subject: TrueColor


> I have installed RH 7.3, during the install I chose TrueColor mode. We
> have an app. That requires 256 colors to run correctly. How do I change
> from truecolor to 256 colors?
> 
> I have looked through the settings and did not see anything that
> applies. Keep in mind that I am new to Linux. :-)
> 
> Thanks,
> Jim
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to