LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
LinkBack Search this Thread
Old 03-24-2010, 10:56 AM   #1
zapo
LQ Newbie
 
Registered: Sep 2009
Location: Toronto
Distribution: Centos 5 / Fedora 14
Posts: 17

Rep: Reputation: 0
What command to show Centos version running


I've just yum upgrade my centos 5.2 server, how can I be sure it is now Centos 5.4?
 
Old 03-24-2010, 10:57 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
cat /etc/*release
 
1 members found this post helpful.
Old 03-24-2010, 11:06 AM   #3
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,560

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
also uname -a -m -p
 
0 members found this post helpful.
Old 03-24-2010, 11:07 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
Quote:
Originally Posted by schneidz View Post
also uname -a -m -p
This will not show the CentOS release, so it's not helpful for the OP.
 
1 members found this post helpful.
Old 03-24-2010, 11:16 AM   #5
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,560

Rep: Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522Reputation: 522
ok, i'm not on fedora now but i remember that it would return something like:
Code:
[schneidz@hyper ~]$ uname -a -m -p
Linux hyper 2.6.32.9-70.fc12.x86_64 #1 SMP Wed Mar 3 04:40:41 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

Last edited by schneidz; 03-24-2010 at 08:51 PM.
 
Old 03-24-2010, 12:16 PM   #6
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,345

Rep: Reputation: 135Reputation: 135
yes
Quote:
cat /etc/*release
 
Old 03-24-2010, 01:44 PM   #7
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Quote:
Originally Posted by zapo View Post
I've just yum upgrade my centos 5.2 server, how can I be sure it is now Centos 5.4?
May be
Code:
cat /etc/issues
 
Old 03-24-2010, 07:07 PM   #8
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,090

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
issues => issue
 
Old 03-24-2010, 08:45 PM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,996

Rep: Reputation: 261Reputation: 261Reputation: 261
You can also do "lsb_release -a".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian: What is the command to show my current kernel version? charon79m Linux - General 4 01-18-2011 04:21 AM
How to show kernel version? blackzone Linux - Newbie 3 01-04-2010 02:01 AM
Wiki: Show Printable Version / printer friendly version / wiki page setup Emmanuel_uk LQ Suggestions & Feedback 1 10-24-2005 08:09 AM
What command to show mandrake version? minorgod Linux - Software 4 07-05-2004 09:30 PM
Command to show services running? AMDPwred Linux - General 12 03-03-2002 11:59 PM


All times are GMT -5. The time now is 02:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration