bash ask for password code example Example: bash read username and password read -s -p “Enter Password: ” pswd