How do I turn off echo in a terminal?
stty_orig=`stty -g`
stty -echo
echo 'hidden section'
stty $stty_orig
read -s password
works on my linux box.
stty_orig=`stty -g`
stty -echo
echo 'hidden section'
stty $stty_orig
read -s password
works on my linux box.