LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What command to show Centos version running (https://www.linuxquestions.org/questions/linux-newbie-8/what-command-to-show-centos-version-running-797565/)

zapo 03-24-2010 10:56 AM

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?

AlucardZero 03-24-2010 10:57 AM

cat /etc/*release

schneidz 03-24-2010 11:06 AM

also uname -a -m -p

AlucardZero 03-24-2010 11:07 AM

Quote:

Originally Posted by schneidz (Post 3910493)
also uname -a -m -p

This will not show the CentOS release, so it's not helpful for the OP.

schneidz 03-24-2010 11:16 AM

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


divyashree 03-24-2010 12:16 PM

yes
Quote:

cat /etc/*release

vinaytp 03-24-2010 01:44 PM

Quote:

Originally Posted by zapo (Post 3910484)
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

chrism01 03-24-2010 07:07 PM

issues => issue :)

btmiller 03-24-2010 08:45 PM

You can also do "lsb_release -a".


All times are GMT -5. The time now is 03:28 AM.