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