19 September 2012

Check CentOS Version

Ever go to install a package, but can’t remember which specific version of CentOS you’re running? This often happens to me, and helpfully I can never remember the command. So for as much my benefit as yours, this is what you do:


cat /etc/redhat-release

which will return your version number, eg:

CentOS release 5.8 (Final)


The command:

cat /etc/centos-release

works in CentOS 6.

1 comment:

  1. Air Jordan 20 Retro Game - Air Jordan 20 Retro
    This product is made in how can i buy jordan 18 white royal blue Israel. how to get air jordan 18 retro yellow suede Air Jordan 20 Retro where can you buy jordan 18 white royal blue Game air jordan 18 retro racer blue online free shipping If you have an alternative version, Type: Game CartridgeColor: AirColor: AirRotation: 90 air jordan 18 retro online site Degrees