Find Joomla 2.5 Version
You can usually find the Joomla version in the libraries/joomla/version.php or libraries/joomla/version.php for Joomla 1.5 and 1.7 respectively, however this has changed with 2.5.
The version is located in the file libraries/cms/version/version.php
With bash, you can use the code below to find the version for any Joomla installation,
[code lang=”bash”]egrep -i ‘\$release|\$dev_level’ libraries/joomla/version.php includes/version.php libraries/cms/version/version.php 2>/dev/null [/code]
Note that this command has to be run from the Joomla root folder.