echo $PATH
export PATH=$PATH:/place/with/the/file
echo $PATH
/etc
vi ~/.bash_profile : 특정 사용자의 원격 로그인 파일에 있는 환경 변수는 사용자가 원격 로그인 세션이 이루어질 시에 호출됨
vi ~/.bashrc : 특정 사용자가 새로운 로컬 세션을 생성할 때마다 로딩되는 파일. 즉 특정 사용자에게만 유효한 환경설정을 하려면 여기해 하면된다.
vi ~/.profile : 시스템 전체의 profile 파일로 모든 사용자가 원격 로그인 세션이 이루어질 시에 호출됨.
The difference between these files is (primarily) when they get read by the shell. If you're not sure where to put it,
기본으로 설정하는 위치 : ~/.bashrc
https://opensource.com/article/17/6/set-path-linux
https://linuxize.com/post/bashrc-vs-bash-profile/
https://jongmin92.github.io/2016/12/13/Linux%20&%20Ubuntu/bashrc-bash_profile/