Comment

Cyrus

You may also use this command :
read -s -p "Password: " mypassword

src : http://bash.cyberciti.biz/misc-shell/shel-to-accept-password/