How to change a password for an existing user via mysqladmin? | Eklavya Online

How to change a password for an existing user via mysqladmin?

Mysqladmin -u root -p password “newpassword”.