UNIX Tip: Backspace Key Does Not Work?!?

Here’s a common problem that our users complains about:

The Problem

When they telnet or ssh or connect to a remote host, the backspace key doesn’t seem to work. When pressed, all it shows are caret characters but it does not erase.

The Solution

Here’s one way of solving it…

  1. Type in: stty erase
  2. Then press the ‘backspace’ key
  3. Enter

It should now work. ;)
Read the man page of stty for more information.