Last active
September 12, 2016 22:38
-
-
Save fernandomora/d28746bb76c7c4c324f6964d662e06dc to your computer and use it in GitHub Desktop.
Script to ask password interactively to avoid introducing it as an argument
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
read -e -s -p 'Password: ' password | |
echo $password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment