Ubuntu shortkey in terminal
ctrl+a or Home | Moves the cursor to the start of a line. | |
ctrl+e or End | Moves the cursor to the end of a line. | |
ctrl+b | Moves to the beginning of the previous or current word. | |
ctrl+k | Deletes from the current cursor position to the end of the line. | |
ctrl+u | Deletes the whole of the current line. | |
ctrl+w | Deletes the word before the cursor. |