DISCLAIMER : Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility.If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.


Set backspace in Unix console

Sometimes the backspace key doesn't work for Unix. 
we can setup the backspace key to work in the console by typing the command and press backspace key.

stty erase <backspace>

 it will be shown as
stty erase ^H

If you have a problem using the backspace it should display you the above output.
If not, it will just perform a backspace.


After doing that press CTRL+c . And now type anything and try backspace, you can see the backspace working...