Bashrc Location 100%

Because .bashrc does not run on login, standard practice is to "source" it inside your .bash_profile .

(e.g., new terminal tab): ~/.bashrc (and possibly /etc/bash.bashrc ) bashrc location

export JAVA_HOME=/usr/lib/jvm/java-11 export PATH=$PATH:/opt/custom/bin Because

Close your current window and open a new one. bashrc location

Run the following command to "refresh" your current session: source ~/.bashrc Use code with caution. Summary Table Requirement File Location Personal Settings ~/.bashrc System-wide Settings /etc/bash.bashrc macOS (Zsh) ~/.zshrc Root User /root/.bashrc