【问题标题】:Syntax error near unexpected token ')' in ubuntu serverubuntu 服务器中意外标记“)”附近的语法错误
【发布时间】:2014-03-08 23:51:54
【问题描述】:

我正在使用 ubuntu 服务器。我正在尝试使用

设置 http 代理
echo "export http_proxy=http://username:password@proxyIP:port/" | tee -a ~/.bashrc.

请注意,我的密码包含)(&% 特殊字符。当我使用 sudo reboot 重新启动服务器时,出现以下错误:

Syntax error near unexpected token ')'

我该如何解决这个问题?

提前致谢!

【问题讨论】:

    标签: linux ubuntu


    【解决方案1】:

    试试这个:

    echo "export http_proxy='http://username:password@proxyIP:port/'" | tee -a ~/.bashrc.
    

    【讨论】:

      猜你喜欢
      • 2012-08-31
      • 2012-10-20
      • 2012-09-29
      • 2013-12-11
      • 1970-01-01
      • 1970-01-01
      • 2014-09-01
      • 2014-02-26
      相关资源
      最近更新 更多