OPatch provides several commands that you can use to apply a patch, roll back a patch, and verify the application of patch in an Oracle home. You can use OPatch to apply and roll back a single patch or apply and roll back multiple patches.
Table 1-3 Common OPatch Commands Used When Patching an Oracle Fusion Middleware Environment
| Command | Description | Example | 
|---|---|---|
| opatch apply | This command applies an interim patch to an Oracle home from the current directory. The ORACLE_HOME environment variable must be set to the Oracle home to be patched. | |
| opatch napply | This command applies multiple patches. | |
| opatch lsinventory | This command lists the inventory for a particular Oracle home, or displays all installations that can be found. This command does not have any required options. | Using the OPatch lsinventory Command to Verify the Patches Applied to an Oracle Home | 
| opatch rollback | This command removes an existing one-off patch from the appropriate Oracle home directory indicated by the reference ID. | |
| opatch nrollback | This command rolls back multiple interim patches at the same time. |