See Deleting and killing text.
Delete the character to the left of the cursor.
Delete the current character.
Kill text from the cursor to the end of the line. To delete a whole line (that is, text
and
blank line), type Ctrl+K
twice at the start of the line.