블로그 이미지

GUEST

script 2019. 8. 15. 11:07

linux - 솔루션별 환경설정

# shell 설정 편집
>vi ~/.bashrc
#global
if [ -f /etc/bashrc ]; then 
   . /etc/bashrc
fi

#solution
if [ -f /{SOLUTION_HOME}/profile ]; then 
   . /{SOLUTION_HOME}/profile
fi




cf) if [ -f PATH_FILE ]        //파일 존재 여부 확인
       ··· 
    fi 

    if [ -d PATH_FILE ]        //디렉토리 존재 여부 확인
       ··· 
    fi 


,
script 2019. 8. 15. 11:00

linux - encoding 전환

encoding 전환 : iconv


utf-8 bom 제거 : uconv -removesignature


파일시스템 전환 : dos2unix, unix2dos

,
TOTAL TODAY