It is pretty simple to find out the Oracle version in Linux:
If you are running the Oracle Database, you can try
$ORACLE_HOME/OPatch/opatch lsinventory
which shows the exact version and patches installed.
You can also try the command listed down below:
$ORACLE_HOME/OPatch/opatch lsinventory | awk '/^Oracle Database/ {print $NF}'