To find out the version of Magento installed on your system via the command line, you can use the following command in the Magento root directory:
php bin/magento --version
grep -A6 'static function getVersionInfo' app/Mage.php
From a browser you may try to reach the following page:
This will display the version number of Magento installed on your system.