Read secret input without echoing characters.
Section: Reading Input
Read secret silently
bash
bash
read -r -s -p 'Password: ' password; echoExplanation
Common for credentials in interactive scripts.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Reading Input