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