Search notes:

$ORACLE_HOME/bin/oraversion

oraversion prints release number in different formats. When executed, it requires one parameter of the following choice:
What is shown Format
-compositeVersion Full version number a.b.c.d.e
-baseVersion Base version number a.0.0.0.0
-majorVersion Major version number a
-buildStamp Date/time associated with the build ?
-buildDescription Description of the build For example Release_Update
-libVersion Print the library version number vv (For example 19)
-help help message

See also

v$version

Index