need to hide output to screen


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting need to hide output to screen
# 1  
Old 01-29-2002
need to hide output to screen

I have a script that askes users to enter in an oracle account and password, The information is displayed on the screen as they type it. Does anyone know how I can hide this output?
Smilie
# 2  
Old 01-29-2002
stty -echo turns off echo to the screen and stty echo turns it back on.
thehoghunter
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Screen output to a file

Hi All, I am trying to out of shell script when i run it like sh /mypath/abc.sh ....a screen log should be generated whenever i input the values, when above the script prompt for values Regards Amarendra (3 Replies)
Discussion started by: amar1208
3 Replies

2. UNIX for Beginners Questions & Answers

Hide output of a certain file on print

Im trying to print /etc/passwd with a variable connecting to /etc group/ But when im trying to print the output, /etc/group is printing also. Can i ask for help on what command to use so it will ignore /etc/group and only print /etc/passwd. here's the sample script. pages number and the /10... (2 Replies)
Discussion started by: joonisio
2 Replies

3. Programming

How to hide from UNIX strings - obfuscate or hide a literal or constant?

Hi, I need to somehow pipe the password to a command and run some SQL, for example, something like echo $password | sqlplus -s system @query01.sql To make it not so obvious, I decided to try out writing a small C program that basically just do echo $password. So now I just do x9.out | sqlplus... (8 Replies)
Discussion started by: newbie_01
8 Replies

4. Shell Programming and Scripting

Hide the output of spawn ssh user@server

Hi All, I have written one script, which is connecting 3 diffrent servers and executing script placed on those. It is smthing like: spawn ssh user@server1 expect "*? assword:" send "pw \r" expect "$" send " sh ./filename1 \r" expect "$" expect eof spawn ssh user@server2 expect "*?... (7 Replies)
Discussion started by: KDMishra
7 Replies

5. Shell Programming and Scripting

How to hide password from getting displayed on screen

I am writting script like echo "ENTER USERNAME: \c " read uName echo "ENTER PASSWORD: \c" read pwd In this it is shwng password on screen, I want to hide it, how can I do that (5 Replies)
Discussion started by: scorp_rahul23
5 Replies

6. Shell Programming and Scripting

Screen output

Is it possible to split the screen and show, lets say a local directory listing on the left and a remote directory listing on the right with shell scripting? I know it's usually done with curses/ncurses, but I'd really like to keep it simple as possible. I guess 'dialog' command could do it... (1 Reply)
Discussion started by: lochraven
1 Replies

7. UNIX for Dummies Questions & Answers

Suppressing output to the screen

I want to check whether the variable read from the console is number or character , so i used echo $option|grep and checked the reuslt returned by grep cmd using $? But since I use echo the value is getting printed in the screen , I want to supress the o/p. Can anyone suggest how this can be... (1 Reply)
Discussion started by: rolex.mp
1 Replies

8. UNIX for Dummies Questions & Answers

no screen output

I'm a newbie. I'm having a problem at work with a script. What i'm trying to do is connect to a cisco switch from a sun station. After i run the script and telnet into the switch i don't get any output on the "xterm window" and all my commands from the script don't show up on the screen or on... (0 Replies)
Discussion started by: wisher115
0 Replies

9. Shell Programming and Scripting

screen output

I need to put the following in a script: echo $CCPDB will give me the db name on the screen. I need to use this name to tar cvfEh <newtarname> <dbname.exp>. I am not sure how to use the output that display on the screen in a script. I tried this echo $CCPDB > file didn't work Gundu (1 Reply)
Discussion started by: gundu
1 Replies

10. UNIX for Dummies Questions & Answers

Supress screen output...

I need to suppress the output to the screen. I am appending to a file so do not need the output on the screen in the CLI environment. eg. cat $HOME/somefile >> $HOME/anotherfile I am doing this a number of times with SQL output files so I can look at the finished file not on the screen in the... (3 Replies)
Discussion started by: jagannatha
3 Replies
Login or Register to Ask a Question