Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-02-2010, 06:11 AM   #1
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Red face 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
Old 07-02-2010, 07:52 AM   #2
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 782
Blog Entries: 8

Rep: Reputation: 158Reputation: 158
Is this a statement or a set of questions? What are you trying to accomplish or what are you trying to explain?

I think it would be easier to hide standard output by just redirecting (to another file or /dev/null or whatever...).

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. Most of the time, I rely heavily on stdout...kinda defeats the purpose of nullifying it.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown media type in command line kabith Linux - Newbie 1 03-19-2009 06:06 PM
What to type in command line durring the first boot? cimek Linux - Newbie 7 11-25-2008 06:17 AM
How can I find if my processor type (x86) from the command line anuradha06 Linux - Software 3 12-15-2005 03:56 AM
command line for determining memory type jdier Linux - Newbie 1 06-10-2004 09:00 AM
file type from command line?? wr3ck3d Linux - General 4 03-12-2003 01:48 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration