how to read passwordd in bash code example Example: read password bash # -s parameter hides echo read -p 'Type your password:' -s PASSWORD