Skip to content

Instantly share code, notes, and snippets.

@fernandomora
Last active September 12, 2016 22:38
Show Gist options
  • Save fernandomora/d28746bb76c7c4c324f6964d662e06dc to your computer and use it in GitHub Desktop.
Save fernandomora/d28746bb76c7c4c324f6964d662e06dc to your computer and use it in GitHub Desktop.
Script to ask password interactively to avoid introducing it as an argument
#!/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