skip to main
|
skip to sidebar
Programming Tips
Tuesday, April 10, 2007
Prompting user for password in a shell script
echo "Enter Password"
# disable standard output
stty -echo
#prompt for password.
read password
#enable standard output
stty echo
echo $password
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2009
(1)
►
May
(1)
▼
2007
(7)
►
May
(1)
▼
April
(2)
Prompting user for password in a shell script
Redirecting standard output to file and console at...
►
February
(2)
►
January
(2)
►
2006
(3)
►
December
(2)
►
November
(1)
Links
My Blog
Google News
About Me
Ilyia Kaushansky
View my complete profile
No comments:
Post a Comment