Environment variables
PATH: where shell looks for programs to execute
- You may have had to modify
PATH in the past for things like, 'where is Java?' (or Python)
To modify:
- Open
~/.bashrc
- add
export PATH="newpath:$PATH"
- Adds your
newpath onto the existing $PATH string
Searched in the order listed
How to check $PATH specifically?
Print all environment variables - printenv