close
Shell Script (BASH) for Reading Hidden Password:
stty_orig=`stty -g`
echo "Please enter password for scott:"
stty -echo
read scottPWD
imp scott/$scottPWD full=y ignore=y file=/u01/export/scott_exp.dmp log=/u01/export/scott_imp.log
stty $stty_orig
stty_orig=`stty -g`
echo "Please enter password for scott:"
stty -echo
read scottPWD
imp scott/$scottPWD full=y ignore=y file=/u01/export/scott_exp.dmp log=/u01/export/scott_imp.log
stty $stty_orig
全站熱搜
留言列表