#!/bin/bash echo -n 'password: ' stty -echo read pass export PASSWD=$pass stty echo echo cached.