Disabling echo on the terminal!
echo -n Enter your password
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.
See man page for termios http://linux.die.net/man/3/termios
If ECHO is set input characters are echoed back to the terminal. If ECHO is not set, input characters are not echoed.
Thankyou very much for your valuable reply.
|All times are GMT -5. The time now is 08:18 PM.|