Bash Read Password without echoing back

Bash Read Password Bash Read Password – In this Bash Tutorial, we shall learn to read username and password from user, with Password being not echoed back to shell. We shall use read command with following options, read -p PROMPT <variable_name>  displays PROMPT without a new line and echoes input read from user, character by character. The input is read to bash variable. This option p  is suitable for reading Username. read -sp PROMPT <variable_name>  displays PROMPT without a new line and reads input from user in silent mode (does not echo back user input). The input is read to … Continue reading Bash Read Password without echoing back