'bash_profile'에 해당되는 글 2건

  1. 2017.09.28 [Shell] .bash_profile 기본 복붙.
  2. 2016.02.01 [개발환경] .bash_profile 기본 설정

[Shell] .bash_profile 기본 복붙.

ITWeb/개발일반 2017. 9. 28. 11:02

귀찮을때 복붙.


# .bash_profile


if [ -f ~/.bashrc ]; then

  source ~/.bashrc

fi


PATH=$HOME/bin:$PATH


export PATH

:

[개발환경] .bash_profile 기본 설정

ITWeb/개발일반 2016. 2. 1. 21:34

intellij 나 eclipse 등을 사용하기 전에 일단 ide에서 사용할 기본적인 jdk 나 maven 을 설치 후 계정에 환경 변수 설정 하는 작업입니다.

이런것도 맨날 기억을 못해서 기록해 봅니다.


[.bash_profile]

# .bash_profile


if [ -f ~/.bashrc ]; then

  source ~/.bashrc

fi


JAVA_HOME=`/usr/libexec/java_home`

MAVEN_HOME=/Users/henry/Dev/apps/maven

PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH


export PATH

export MAVEN_HOME

export JAVA_HOME


: