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