|
|||||||||
| Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here. |
learn linux and unix commands - unix shell scripting |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
How to hide user inputted text for interactive unix shell script?
Hi everybody,
Do you know how to hide the text for interactive unix shell script? Just like the case for inputting password during logon. Patrick |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Do you mean to prevent echoing user input? Code:
echo "enter something \c" stty -echo read something stty echo |
| Sponsored Links | ||
|
|
![]() |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to read the user inputted file name? | rac | Shell Programming and Scripting | 12 | 03-30-2012 03:25 AM |
| Help to hide shell terminal and run prompt program after ssh login for specified user | franzramadhan | Shell Programming and Scripting | 1 | 09-29-2011 06:30 AM |
| Interactive script to give user option of what text to add | marcozd | Shell Programming and Scripting | 2 | 05-18-2011 04:15 PM |
| Need User Inputted Date | Zamereon | Homework & Coursework Questions | 0 | 01-28-2011 05:35 PM |
| Help with Interactive / Non Interactive Shell script | rits | Homework & Coursework Questions | 1 | 08-16-2009 05:39 PM |
|
|