07-18-2001
Use:
stty -echo
What you type will not be displayed. To undo this:
stty echo
Regards
HTT
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I entered the command cat 401328 in an attempt to see a file. Now, my screen is displaying machine language. The properties of the file say that it is a postgres application. Is there a command I can enter so everything gets back to normal?
Thanks, (2 Replies)
Discussion started by: Debbie
2 Replies
2. Shell Programming and Scripting
Hi all,
I tried searching for similar threads. Couldn't get any for Expect scripting.
I am trying automate a task which requires login to a machine. The user
would be prompted for the password. Now, I want this input to be hidden
from being displayed on the screen.
Is there... (1 Reply)
Discussion started by: sudhir_onweb
1 Replies
3. Shell Programming and Scripting
Hello,
I used the command
osascript -e 'tell app "Finder" to display dialog "Hey!"'
to display a dialog box..it works fine, it displays a dialog box with 'OK' and 'CANCEL' buttons..i want to get the button returned value how can i do that using terminal command?
is there any command to get... (1 Reply)
Discussion started by: keshav.murthy@r
1 Replies
4. Cybersecurity
My knowledge of Unix input/output/devices is very hazy so could someone please tell me if the following is secure?
I log on to an account on a shared Unix server (Linux 2.6.18-6-686) using ssh (PuTTY). I start a python program and then type into it (python raw_input command) the... (2 Replies)
Discussion started by: pnp
2 Replies
5. UNIX for Dummies Questions & Answers
Hello everybody!!!
I am writing my own rm command in unix.
I prompt the user to type if he wants to delete a file and then read what he typed.
But how do i check what he typed?
This is my program so far:
echo 'Delete prog1.c (y/n)?'
read yesOrNo
if yesOrNo == 'y'
then
rm prog1.c... (6 Replies)
Discussion started by: mskart
6 Replies
6. Programming
stupid question (0 Replies)
Discussion started by: puttster
0 Replies
7. Shell Programming and Scripting
Is there a way to display the default answer when accepting input from the user in the unix script..
e.g.
ans="n"
read $ans?"Enter y to continue n to exit:"
altough ans contains n the message doesn't display the current contents on ans .. you get
Enter y to continue n to exit: (8 Replies)
Discussion started by: flopster
8 Replies
8. Shell Programming and Scripting
Hi,
I'm working on a project that requires formatted text to be displayed on the screen plugged into a Linux machine. I want to be able to control this text via a bash script and format it in a particular font and size. Changing the background colour would also be beneficial.
Does anyone know... (3 Replies)
Discussion started by: lcoor65
3 Replies
9. IP Networking
Hi folks,
Considering the configuration of an AP in the hostapd.conf file:
As GMK is used like a seed for the generation of GTK(Group Temporal Key), does setting a lower value for GMK timer enforce the generation of a new GTK right away or does the time interval for GTK have to elapse anyway... (0 Replies)
Discussion started by: Ms. T
0 Replies
10. What is on Your Mind?
I've always used code tags for code but not for showing terminal input and output. I noticed a mod edited one of my threads and now I'm confused as to proper protocol.
Mike (5 Replies)
Discussion started by: Michael Stora
5 Replies
stty(2) System Calls Manual stty(2)
NAME
stty(), gtty() - control terminal device (Bell Version 6 compatibility)
SYNOPSIS
Remarks
These system calls are preserved for backward compatibility with Bell Version 6. They provide as close an approximation as possible to the
old Version 6 functions. All new code should use the and calls described in termio(7).
DESCRIPTION
For certain status settings and status inquiries about terminal devices, the functions and are equivalent to
and
respectively (see ioctl(2) and termio(7).
RETURN VALUE
and return the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If or fails, is set to one of the following values:
[EBADF] is not a valid file descriptor.
[EFAULT] points to an invalid address.
WARNINGS
Obsolescent Interfaces
and are to be obsoleted at a future date.
SEE ALSO
stty(1), exec(2), ioctl(2), sttyV6(7), termio(7), tty(7).
TO BE OBSOLETED stty(2)