[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a way to disable ECHO of terminal temporarily in bash?
From: |
Chet Ramey |
Subject: |
Re: Is there a way to disable ECHO of terminal temporarily in bash? |
Date: |
Mon, 29 Mar 2021 11:37:32 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 3/24/21 12:47 PM, Peng Yu wrote:
Hi,
https://blog.nelhage.com/2009/12/a-brief-introduction-to-termios-termios3-and-stty/
"When passwd prompts for your password, your terminal is in canonical
mode, but ECHO is disabled."
I see the above sentence. Is there a way to disable ECHO of the
terminal temporarily in bash?
stty -echo
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/