Use BackSpace Key to Erase characters instead of Delete Key
Normally when you access Solaris in text mode, one must use the Delete Key to erase a character. Follow these directions if you wish to use the BackSpace key instead.
Please enter the following at the prompt:
stty erase ^H
But once you log out of the system and login again, the changes are lost. Here is how to retain these settings even after you logout.
If you are using sh or ksh, please add the above mentioned line to the .profile file.
If you are using csh, please add the line to .login file.
If you are using bash shell, please add the file to .bash_profile file.







Mark said on April 23, 2010
You may need to add quotes arround the “^H” in the .profile for the command to process correctly
Prosenjit said on June 4, 2010
Many many thanks for the solution.
Gaurav Sharma said on January 11, 2011
Thank You, it worked out well for me.