unexpected EOF while looking for matching ``'

linux報錯提示:

bash: /home/ubuntu/.profile: line 21: unexpected EOF while looking for matching `"'
bash: /home/ubuntu/.profile: line 24: syntax error: unexpected end of file





     # set PATH so it includes user's private bin if it exists
     if [ -d "$HOME/bin" ] ; then
21    PATH="$HOME/bin:$PATH
    fi
     export JAVA_HOME=/usr/lib/jvm/
24



 21 行 :  PATH="。去掉 "。

24行。按下enter鍵。
 保存,退出.profile文件。

再次輸入  source ~/.profile

不報錯了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章