Thursday, July 1, 2010

make the command line you type invisible :-

to hide the user input to be displayed on screen, use the terminal line setting command stty -echo, whatever the user enters after this command will not be displayed in the screen. to make the input characters get displayed on the screen use stty echo

unixfool

If I were that worried about what the system would show based on CLI output, I'd either dump the results to file or /dev/null or wait until no one else is around to observe.

No comments:

Post a Comment