LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 03-24-2010, 10:56 AM   #1
zapo
LQ Newbie
 
Registered: Sep 2009
Location: Toronto
Distribution: Centos 5 / Fedora 14/Debian/Slackware
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,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
cat /etc/*release
 
1 members found this post helpful.
Old 03-24-2010, 11:06 AM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

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: 707

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
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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: 4,290

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


Reply



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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration