There are two possible situations:
Generally, there is no error. The environment variables do not save when rebooted and no path is listed when echoing the variable.
environment variable is not loaded when BASH loads
Red Hat 6.*, 7.* (RHEL)
open terminal and type the following:
*Click here for assistance with VI*
add the relevant lines to the oracle user ~/.bash_profile and save:
as the oracle user, type the following into the terminal in order to initialize your changes:
you can now see your changes with the following command(s):