Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi
how we can check a linux os version from /etc/redhat-release is
Redhat Linux 3 Desktop or
Redhat Linux 4 Desktop or
Red Hat Enterprise Linux 2.1
Red Hat Enterprise Linux 2.1 Advanced Server or
Red Hat Enterprise Linux 2.1 Advanced Server IA64 or
Red Hat Enterprise Linux 2.1 Advanced Server Workstation or
Red Hat Enterprise Linux 2.1 Enterprise Server or
Red Hat Enterprise Linux 2.1 Enterprise Server IA64 or
Red Hat Enterprise Linux 2.1 Workstation or
Red Hat Enterprise Linux 2.1 Workstation IA64 or
Red Hat Enterprise Linux 3 update4 or
Red Hat Enterprise Linux 3 ga or
Red Hat Enterprise Linux 3 Update1 Advanced Server or
Red Hat Enterprise Linux 3 (general availability) Advanced Server or
Red Hat Enterprise Linux 3 Update9 Desktop or
Red Hat Enterprise Linux 3 (general availability) Enterprise Server or
Red Hat Enterprise Linux 3 (general availability) Workstation Server or
Red Hat Enterprise Linux (v.5.1) or
Red Hat Enterprise Linux Desktop Workstation (v.5.1 client) or
Red Hat Enterprise Linux Desktop Workstation (v.5 client) or
Red Hat Enterprise Linux Desktop Workstation (general availability client) or
Are you talking about a distro version (Redhat Linux 3 Desktop vs Red Hat Enterprise Linux 2.1 Workstation) or linux kernel version (2.6.24.2 vs 2.6.27.4)?
The first is in the /etc/redhat-release file (called different for other distro's, but it should reside in /etc).
The second can be found by the uname -r (or -a) command.
if you want to check Linux distro then /etc/redhat-release is the best option, and for kernel version the option would be uname -r or uname -a..., as suggested by druuna as well.
Even after that if you are confused then restart the machine and then at the startup , you can make it out easily over there.
@NewBirth88: In a bit of a bad mood, aren't we BTW: Start using the spell check button.......
Yes I am in a wee bit of a stale mood. The reason is that people should read the documentation and how tos that have already been posted here on lq and other distribution specific forums before they default to asking the same idiotic newblet questions that have already been answered been and a million and a half times over. I would also like to see more people searching the Forums here at lq or searching the forums, googling for answers to there issues.
Last edited by inspiron_Droid; 12-31-2010 at 09:13 AM.
Yes ai am in a wee bit of a stale mood. The reason is that people should read the documentation and howtos that have been aaready here on lq and other distribution specific forums before they default to asking the same idiotic newblet questions that have already been answered been and a half times over. I would also like to see more people searching the Forums here at lq.
Yeah, I understand your position. It does get somewhat stale reading the same questions over and over again. Thing is, when I was a newb I asked the same questions, and titled my threads with "please help". So I'm patient with other newbs. The ones who hang around learn how to converse properly eventually.
To NewBirth88 (and the public):
Your comments were completely unnecessary. This is LinuxQuestions after all, and also the forum title above this thread is Linux-Newbie, so it's normal to have many similar questions here. Next time, if you really can't stand a newbie question, just move to the next thread or politely show how to search for answers...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.