3
Shell Script - kesalahan sintaksis dekat token yang tidak terduga `else '
Dengan skrip shell berikut, mengapa saya mendapatkan kesalahan syntax error near unexpected token `else' Script Shell echo "please enter username" read user_name echo "please enter password" read -s pass echo ${ORACLE_SID} SID=${ORACLE_SID} if ["${ORACLE_SID}" != 'Test'] then sqlplus -s -l $USER_NAME/$PASS@$SID <<EOF copy from scott/tiger@orcl insert EMP using select * …