stty [ settings…] stty { –a, --all, -g, --help, --save, --version} ] [ –g ] [ modes ]
stty sets certain terminal I/O options for the device that is the current standard input; without arguments, it reports the settings of certain options.
1 stty erase <Press backspace key> or ^h 2 stty -echo; read secretword; stty echo 3 stty -a (ATT,Linux ) or stty -everything (BSD) |
Explanation
Sets the backspace key to erase.
Turns off echoing; waits for user input; turns echoing back on.
Lists all possible options to stty.
3.144.15.43