shell command: READ - can I hide the input
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: shell command: READ - can I hide the input

  1. #1
    Join Date
    Sep 2000
    Location
    Chicago, IL
    Posts
    316
    I want to hide the input for the following shell command:

    echo "Enter your password"
    read userPASS

    -----------------------------------------

    Want the above command to do what the SQL command "HIDE" does:

    accept UserPass char prompt "Enter User password>" HIDE

    Thanks.

  2. #2
    Join Date
    Aug 2001
    Posts
    64
    stty -echo
    read xyz
    stty echo

  3. #3
    Join Date
    Sep 2000
    Location
    Chicago, IL
    Posts
    316
    Thanks tekion - this is exactly what I was looking for.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width