Under my profile and the .bashrc file. I have added several environment variables. Example:
When I try to run any "hadoop" command I get command not found.
After executing this command "exec bash" I will be able then to run hadoop commands without issues.
The problem I am having that every time I log in to the server I will need to run the exec command to be able to use hadoop, plus there are other users on the server that need to use the application.
How can I update the PATH globally so everyone can use hadoop and any other installed application?