Thursday, June 25, 2009

Determine your version number in CentOS

Whenever CentOS has minor version updates (5.2 => 5.3), they get pushed out to your system with the rest of the system updates. You can go from one minor version to the next without realizing it just by performing regular updates. There is nothing wrong about this. Minor version upgrades are relatively infrequent and are important for system stability. To see which version you are running, use this command:
cat /etc/redhat-release
This will print out your release version in a nice and very human readable fashion. If you are looking for a more technical version number, use this command:
rpm -q centos-release

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.