Use the key sequences below to edit the current command line
ctrl–a ctrl–e |
Move the cursor to the beginning of the line |
ctrl–b ctrl–f |
Move the cursor one character to the left |
esc–b esc–f |
Move the cursor one word to the left (also left arrow) |
ctrl–h ctrl-k esc-d ctrl-u |
Delete the character to the left of the cursor |
ctrl-y |
Inserts previously deleted text starting at the cursor |
ctrl-t |
Transpose the character under the cursor and the character to the left of the cursor |
ctrl-l |
Redraw the line |
ctrl–n ctrl–p |
Display next command from history (also up arrow) |