Are working in VI editor?
If so,
dw - deletes the word after the cursor
db - deletes the word before the cursor
x - Delete current cursor position
X - Delete back one character
nX - Delete previous n characters
http://www.unix-manuals.com/refs/vi-ref/vi-ref.htm
Otherwise , tell us more about your environment.
Gentoo