Disabling echo on the terminal!
echo -n Enter your password
stty -echo
read password
stty echo
This shell scripts asks for the password.
When the user types it, it will not be echoed on the screen. How to implement the same using C Language Library Functions.
|