command line cursor movement shortcuts

Cursor movementsCtrl-a Move the cursor to the beginning of the line.Ctrl-e Move the cursor to the end of the line. Meta-f Move the cursor one word forward.Meta-b Move the cursor one word backward.

Delete and PasteCtrl-k Remove the text from the current cursor position to the end of the line.Meta-d Remove the word following the current cursor position.Ctrl-y Paste the text that was killed or removed from the previous kill or remove command.