We have talked about how to check Oracle Universal Installer (OUI) version in the Oracle database server. Additionally, we can check OPatch version, we can use a simple command opatch version to show it.
[oracle@test ~]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 12.2.0.1.23
OPatch succeeded.
As you can see, the OPatch version is 12.2.0.1.23 currently.