http://www.askdavetaylor.com/prompting_users_for_passwords_in_a_shell_script.html
echo -n "Password: "
stty -echo
read password
stty echo
echo "" # force a carriage return to be output
echo You entered $password
'언어 > Shell' 카테고리의 다른 글
Shell Script (0) | 2011.12.16 |
---|