$passwd, command is used to change the password in Linux system.
Steps to change the password :
- Enter the passwd command in terminal
- It will ask, type the current password.
- After entering current password, enter new password not same as previous one
- Re enter the new password to confirm.