Multiple choice technology operating systems

Which command is used to change your password?

  1. password

  2. pass

  3. passwd

  4. pwd

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The passwd command is the standard Unix/Linux utility for changing a user's password. It prompts for the current password (if required) and then for the new password twice to confirm. The other options are incorrect: password and pass are not standard commands for this purpose, while pwd (print working directory) displays the current directory path.