简体   繁体   English

-bash:意外标记“换行符”附近的语法错误

[英]-bash: syntax error near unexpected token `newline'

To reset the admin password of SolusVM I am executing the following command :要重置 SolusVM 的管理员密码,我正在执行以下命令

php /usr/local/solusvm/scripts/pass.php --type=admin --comm=change --username=<ADMINUSERNAME>

When doing so, the following error message is printed:这样做时,会打印以下错误消息:

-bash: syntax error near unexpected token `newline'

What is the reason for this problem?这个问题的原因是什么? I am running the command as root.我以 root 身份运行命令。

字符 '<' 和 '>' 表示占位符,您应该删除它们以阅读:

php /usr/local/solusvm/scripts/pass.php --type=admin --comm=change --username=ADMINUSERNAME

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 git 推送错误。 bash:意外标记“换行符”附近的语法错误 - git push error . bash: syntax error near unexpected token `newline' 备份bash脚本错误:意外令牌&#39;newline&#39;附近的语法错误 - Error on backup bash script: syntax error near unexpected token `newline' bash:Python数字游戏中意外标记“ newline”附近的语法错误 - bash: syntax error near unexpected token `newline' in Python Number game -bash:显示命令的意外标记“换行符”附近的语法错误 - -bash: syntax error near unexpected token `newline' for display command 理解意外标记“换行符”附近的语法错误 - understanding syntax error near unexpected token `newline' 编辑.bashrc文件后,Ubuntu bash出现错误“意外令牌&#39;newline&#39;附近的语法错误” - Ubuntu bash presenting error “syntax error near unexpected token `newline'” after editing .bashrc file `第 1 行:运行 bash `case` 函数时出现意外标记 `newline&#39;` 附近的语法错误 - `line 1: syntax error near unexpected token `newline'` when run bash `case` function 意外令牌`(&#39;附近的Bash语法错误 - Bash syntax error near unexpected token `(' Windows 7意外令牌附近的Bash语法错误 - Bash syntax error near unexpected token '('. Windows 7 Bash'source':意外令牌附近的语法错误`then' - Bash 'source': syntax error near unexpected token `then'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM