-bash: syntax error near unexpected token `newline'
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
精彩评论