Linux Tip of the Day – Hidding ECHO

January 19, 2008 by Adrian  
Filed under Uncategorized

If you dont want to display what you type on the screen, then use the command below:

% stty -echo

This will not echo back the character you type on the terminal.

To echo back the character you typed:
% stty echo

You can use stty -echo while reading password from user using scripts, so that the password wont be echoed on the screen.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!