开发者

-bash: syntax error near unexpected token `newline'

开发者 https://www.devze.com 2023-02-13 13:46 出处:网络
To reset the admin password of SolusVM I am executing the following command: php /usr/local/solusvm/scripts/pass.php --type=admin --comm=change --username=<ADMINUSERNAME>

To reset the admin password of SolusVM I am executing the following command:

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 toke开发者_JAVA百科n `newline'

What is the reason for this problem? I am running the command as root.


The characters '<', and '>', are to indicate a place-holder, you should remove them to read:

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

精彩评论

暂无评论...
验证码 换一张
取 消