Bash: how to get a password without displaying it on the terminal
In bash scripting to require user input we must use the read function. For example to read an username we would make something like this:
read -p "Give me the username " username;
But what about passwords? Using the read as shown, the password will be readable on the terminal emulator and we just do not want […]