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