I read description of these command from a book,
Changes the password for an existing user.
Reads a file of login name and password pairs, and updates the passwords.
It seems these command doing same jobs. Is there a difference between them?
I want to learn when we use them which file(s) change. Do they change same file or different file? If they change different file(s), what are they?