Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

-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 token `newline'

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

like image 492
Jonathan.V Avatar asked Feb 27 '11 16:02

Jonathan.V


1 Answers

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 
like image 63
Terence Simpson Avatar answered Sep 20 '22 13:09

Terence Simpson