Multiple choice technology operating systems

I have a script which will prompt me to enter a password. But I want that the password should not be displayed when I enter the password. How do I achieve this?

  1. stty -echo

  2. set noecho

  3. stop echo

  4. None of these

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

Using stty -echo disables character echoing on the terminal, so when the script reads the password the typed characters are not shown. The other options are not valid stty commands; set noecho and stop echo are not recognized, and None of these would ignore the correct solution.