Linux
환경변수 추가방법
hellobird
2019. 5. 6. 01:30
https://blueskywithyou.tistory.com/32
스페이스바 넣지 말것.
계정에 한정된 환경변수는
vim /etc/profile 또는 .profile을 활용..!
전역으로 사용할 환경변수는
/etc/environment 에 export 없이 그냥 JAVA_HOME=home/.../.../ 이렇게 쓰면 된다.
이후 source /etc/profile 하면 재부팅 필요가 없다.