Team,
I have Veritas product installed. When I try to run the veritas commands, I have to use the original path (i.e. /opt/VRTS/bin). Instead of that, can we add the path into our bash profile. I tried it but it is not working. Any ideas?
Making modifications to your bash_profile requires you to run source to refresh so the changes take effect:
source ~/.bash_profile
You can use /etc/environment
Add your variable to /etc/environment
Example:
TEST="testing"
Logout from current user and login again
source ~/.bash_profile?source .bash_profileis reloading the edited.bash_profilein your current session. You could achieve the same by logging out and then back in to the system after editing.bash_profile.