I read description of these command from a book, passwd:Changes the password for an existing user.chpasswd: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? EDIT: 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?
What's the difference between 'passwd' and 'chpasswd'?
linux;command line
From man chpasswd:  'This command is intended to be used in a large system environment where many accounts are created at a single time.'passwd is (in my experience) normally used interactively for a single user.