조건절 안의 띄여쓰기 주의
매 라인마다 라인종료문자 필수
if [ “parser” = “$1” ]; then
cd /www/htdocs/gsm/_Admin/xls/parser/system/;
echo “jump /www/htdocs/gsm/_Admin/xls/parser/system/”;
echo “super user password !!TEST SERVER!!”;
su;
fi
if [ “mysql” = “$1” ]; then
cd /usr/local/mysql/bin/;
echo “jump /usr/local/mysql/bin/”;
echo “super user password !!TEST SERVER!!”;
su;
fi