Discussion Locked

user input in UNIX/Linux Korn Shell ksh

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I want to know the command in Korn shell (ksh) by which I can accept a user input (through keyboard) into a variable. The condition here is that the input value is a password, so the keys typed by the user should not be echoed on the screen.

I know a command "read" which takes input to a variable but I dont know how to accept in a "silent" mode so that the password doesnt show up on screen.

3 replies

This discussion is closed to new replies.