Linux and Unix passwd command tutorial with examples

passwd command stands for the password.
By using passwd command we can change the password of a user account in Unix system.

Steps for change password.
1. Enter the command “passwd” on the terminal and press enter.
2. System asks for old Unix password then the user will enter old Unix password.
3. System asks for new Unix password then the user will enter/set the new password.
4. System asks to retype new password then the user will retype new password.

Example: