Hi Jayesh,

        The answer to this is as follows:

#Sample Script
echo -n "Enter Password:"
stty -echo
read pass
stty echo
echo -e "\nThe Password entered is: $pass"
#End of Script

        For more information "man stty"

HTH

regards
Muthu

Jayesh Shah wrote:
> 
> i want some input from user in my shell script, i use 'read varname'
> now i dont want it to be displayed on yhe screen while i wrire ( like when
> we run passwd commd)
> 
-- 
-------------------------------------------------------------------
Got Slack!        Slackware Linux        http://www.slackware.com/
-------------------------------------------------------------------


-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to